I think most people here understand the importance of fully automated builds.
The problem is one of our project is now using an integrated Visual Studio Setup project (vdproj) and has recently been ported to Visual Studio 2008. Unfortunatly, those won't build in MSBuild and calling devenv.exe /build on 2008 just crashes, apparently it do...
How can I make a major upgrade to an installation set (MSI) built with Wix install into the same folder as the original installation? The installation is correctly detected as an upgrade, but the directory selection screen is still shown and with the default value (not necessarily the current installation folder).
Do I have to do manual...
I'm creating an installer for a website that uses a custom event log source. I would like our WiX based installer to create that event log source during installation.
Does anyone know the best way to do this using the WiX framework.
...
I wand to construct an MSI which, in its installation process, will deploy itself along with its contained Files/Components, to the TargetDir.
So MyApp.msi contains MyApp.exe and MyAppBootstrapperEmpty.exe (with no resources) in its File Table.
The user launches a MyAppBootstrapperPackaged.exe (containing MyApp.msi as a resource, obtai...
At work we use WiX for building installation packages. We want that installation of product X would result in uninstall of the previous version of that product on that machine.
I've read on several places on the Internet about a major upgrade but couldn't get it to work.
Can anyone please specify the exact steps that I need to take to a...
If I want to create the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MyApp
with the string value
EventMessageFile : C:\Path\To\File.dll
how do I define this in my WiX 3.0 WXS file? Examples of what the XML should look like is much appreciated.
...
I have a wix installer and a single custom action (plus undo and rollback) for it which uses a property from the installer. The custom action has to happen after all the files are on the hard disk. It seems that you need 16 entries in the wxs file for this; eight within the root, like so:
<CustomAction Id="SetForRollbackDo" Execute="imm...
I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which should have a nice default solution.
For bonus points, I'd like to know how to make it "sa...
I'm using Windows Installer 4.5 new features and Wix to generate msi packages.
What I have done is created a msi chain instalation in order to install a collection of other msi packages as a transaction.
Each package is using the new Embedded UI option so the Ui can be WPF.
Everything works ok this far.
Except one of the goals would be ...
I have been trying to determine a best case solution for registering a COM server using WiX to create a Windows Installer package and am struggling.
In this post http://blog.deploymentengineering.com/2008/09/howto-use-regsvr32exe-with-wix.html
there is an open request for the "Setup police" to crack down on using regsvr32 through an exe...
I am creating an installer for an ASP.Net website using WiX. How do you set the ASP.Net version in IIS using WiX?
...
How do I add the Swedish interactive user,
NT INSTANS\INTERAKTIV
or the English interactive user,
NT AUTHORITY\INTERACTIVE
or any other localised user group with write permissions to a program folder's ACL?
Is this question actually "How do I use secureObject"? I cannot use the LockPermissions Table because I undestand inherit...
Newbie WiX question: How do I
1. Copy a single-use shell script to temp along with the installer
e.g.
<Binary Id='permissions.cmd' src='permissions.cmd'/>
2. Find and run that script at the end of the install.
e.g.
<CustomAction Id='SetFolderPermissions' BinaryKey='permissions.cmd'
ExeCommand='permissions.cmd' Return='igno...
Hello.
When uninstalling my app, I'd like to configure the wix setup to remove all the files that were added after the original installation. It seems like the uninstaller removes only the directories and files that were originally installed from the MSI file and it leaves everything else that was added later in the app folder.
In anoth...
I need to install a file into the Environment.SpecialFolder.ApplicationData folder, which differs between XP and Vista. Is there a built in way to reference the correct folder in WiX or will I have to use conditional checks for OS and do it manually?
If I have to do the latter, how do I reference the current windows user's directory in...
I need a WiX 3 script to display to display only 2 dialogs: Welcome & Completed. Thats it no need for EULA, folder selection etc. All help appreciated.
...
The installer sets up a default DB (if one doesn't already exist) and I want to exclude that from the uninstall process (Or have the user option to remove it or not, once I take the time to figure out customizing the GUI)
Seems like best practice would be to just create the DB at runtime rather than install time, but for the sake of arg...
I'm trying to figure out how to deal with installation and deployment of our project which is a framework. Typically developers would install the framework and then have their .Net applications reference our dlls.
The framework has 2 levels:
A number of native C++ dlls
Some C++\CLI and C# assemblies (all are dlls) that reference the ...
This might be a naive question. I have to manually edit a .WXS file to make it support select features from command line.
For example, there are 3 features in .WXS file.
<Feature Id="AllFeature" Level='1'>
<Feature Id="Feature1" Level='1' > </Feature>
<Feature Id="Feature2" Level='1'> </Feature>
<Feature Id="Feature3" Level='1'> </F...
I am reading WIX script written by others. There are some code really confuses me.
<Custom Action='UnLoadSchedulerPerfCounters' After='InstallInitialize'><![CDATA[(Installed) AND (!Scheduler = 3)]]></Custom>
<Custom Action='RollbackSchedulerPerfCounters' After='WriteRegistryValues'><![CDATA[(&Scheduler = 3)]]></Custom>
So, w...