For issues relating to deployment using Windows Installer XML, version 3.
Questions tagged [wix3]
587 questions
12
votes
5 answers
In WiX how can I select an IIS website by name?
What I would like to do is show the installer user a list of the websites on their server and allow them to choose one (using the method described here: http://www.cmcrossroads.com/content/view/13160/120/, which now seems broken see here for the…

Dan
- 7,446
- 6
- 32
- 46
11
votes
4 answers
Is it possible to use .png images for WiX bitmaps
I am using 2 500K bitmaps in to display images on my WiX dialogs.
They dramatically increase the size of the installation package, and what is worse - it looks there's no way to package them as a part of a .cab file since they're -es in the…

user48829
- 249
- 4
- 10
11
votes
1 answer
WiX - how to create bin subdirectory?
I'm missing something obvious. How do you put the .dll's in a subdirectory called "bin" under your install directory? I'm trying to follow this tutorial:
http://www.tramontana.co.hu/wix/lesson5.php#5.3
to deploy a WCF web service. So I need to…

NealWalters
- 17,197
- 42
- 141
- 251
11
votes
2 answers
C# custom action in Wix
When my application is uninstalled, the server needs to be notified so that it can free up the license key assigned to the client. This is done via a web service call.
I created a C# custom action that does this. The problem is, the uninstaller is…

Amith George
- 5,806
- 2
- 35
- 53
10
votes
3 answers
Best way to create a wix fragment file based on User-defined directories to be used in MSBUILD
In the spirit of this question by Si here: WiX tricks and tips. I am trying to determine the best way to get create wix fragments based on a directories. File harvesting, so to speak. For example under the bin\release folder I could have many…

Brian
- 688
- 5
- 18
10
votes
4 answers
How to extract data (file count) from MSI "File" Table
In our build process there is currently the potential for non-code based files (such as image files) to be added to our web project, but not included in the MSI installer built by WiX.
To help prevent this, I want to perform the following in the…

si618
- 16,580
- 12
- 67
- 84
10
votes
3 answers
MSI Reference Counting: Two products install the same MSIs
When products A and B each install several MSIs and some of the MSIs are the same, will uninstalling either A or B affect the other? Does install location matter?
Also, what happens when common MSI C's version is higher in Product B and B upgrades C…

rharrison33
- 1,252
- 4
- 18
- 34
10
votes
3 answers
Launch application after installation complete, with UAC turned on
I've been building an installer for our product using the WIX(Windows Installer XML) technology. The expected behavior is that the product is launched, if the check box is checked after installation.
This has been working for some time now, but we…

Christopher Roy
- 286
- 2
- 3
- 12
10
votes
1 answer
Wix Component with files in different directories
Can I create a component with Wix that has files in different directories/subdirectories? Or all the files of a component should be in the same directory?
How do I set the XML for that?

Nestor
- 13,706
- 11
- 78
- 119
10
votes
5 answers
WiX "Major Upgrade" doesn't completely install app on downgrade
Currently all upgrades work fine whenever updating to a newer version number, however I'm getting an odd behavior when downgrading. It seems that it'll uninstall the existing version and then partially install the version that I'm trying to…

Davy8
- 30,868
- 25
- 115
- 173
10
votes
5 answers
Dynamically create WIX files without having to edit the wix files manually
Suppose you release the next version of your software, you will have to manually update your WIX files to remove obsolete files and add new files, etc.
My use case is as simple as "recursively add the files under /sample/path in the user target…

Sridhar Ratnakumar
- 81,433
- 63
- 146
- 187
9
votes
1 answer
Create EventLog source in WiX without an event message file
I've seen a few questions here and there about creating event log sources using WiX. What puzzles me is why util:EventSource/@EventMessageFile is required. It's annoying having to specify it when you don't need a message file to write event log…

anton.burger
- 5,637
- 32
- 48
9
votes
4 answers
Custom Action execution by feature
I wrote a custom action to create a scheduled task after install.
I do not want the Custom Action to run when the user does not want to create the schedule task. During installation even if I select " Feature will be unAvailable" the schtask is…

user350332
- 173
- 1
- 2
- 9
9
votes
2 answers
Is there a way to set a preprocessor variable to the value of a property?
I have a WiX include file with the following code
Now in my Product tag in my WiX…

Ray Dey
- 865
- 2
- 11
- 21
9
votes
2 answers
Generating an executable using wix
I am learning Wix and I want to generate a setup.exe file instead of a setup.msi.
Is that possible?

ebasconp
- 1,608
- 2
- 17
- 27