wix

WIX Installing an EXE after Msi install finishes.

Hi, I have created an MSI package which when finishes runs an exe. <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="Installer Example"...

How to remove the registered services on uninstallation using wix?

Is there a solution to remove the installed services during uninstallation of the installer? ...

Wix Web Installer: Set homepage in internet explorer and firefox

hello, i created a web setup by using wix, now i want to set internet explorer homepage and want to add my webpage as favourite with my webinstaller. can any one tell me how to do this in wix (3.0-3.5), i google this but can't find any thing. ...

Installing Namespace Extension with Microsoft WIX

What is the best/easiest way to install a namespace extension using wix? Especially how do I install it on Windows 7 with enabled UAC. ...

Uninstall components

I am building the .msi which contains 3 features. feature1 feature2 feature3 While installing the product, the user has the choice to install feature1, f2, f3 or f1, f2 as per user requirement. He can install successfully. I am facing problem while deinstalling. My .msi file deinstalls all the installed components (ie f1,f2,f3). He...

Wix - set file read access

I am looking into a way of setting read access on a specific file for a web application (where all files read option is set to be false--unchecked in IIS) deployed with Wix. Is it a possible option at all or I am asking the question in a wrong way? Thank you. ...

Wix: Property change in dialog is ignored during installation

I have a property in a Wix file that is exposed for editing in a dialog. In the sample below, it's "MyProperty". This property is used to create a registry key. However, if the property is changed in the dialog, the changed value isn't used, but the default one is: "SomeProperty". However, if I display the property on another dialog,...

I can use WiX to launch my app at the end of install, but I can't get my app to run in the foreground.

Using WiX, my install will optionally launch one of my installed program files when it completes. However, when my application is launched by the installer, it is usually not displayed in the foreground of the user's desktop. It's buried under other windows, so it's not immediately clear to the user that the program is running. I've tri...

WiX Installing Server Control to Toolbox

I've got a server control in a dll deployed as part of a wix msi installation. I have gotten the installer to make the control available in the toolbox's ADD ITEMS window, but the contol isn't added to the the toolbox by default. How can I configure wix the installer to automatically add the toolbox item to, say, toolboxes to be shown ...

WIX: Problem to give Permissions to a folder.

I've read all related topics and haven't found a full answer to my problem. I would like to give full permissions to SYSTEM and Read & Execute permissions to Users group to a folder under Program Files. Nothing more, nothing less. I know there are 3 ways to give permissions to a folder using WIX, none of them are really good for me and...

How to get WiX major upgrade working?

I am struggling to enable the major upgrade functionality in WiX. I want every new version of the installer to be a major upgrade (full uninstall, then new install) as we don't want different upgrade and clean install versions. I started off trying to do it using the tag stuff, but I kept getting "Another version is installed." error ...

Wix: can't handle "Launch an application after install" checkbox = 0

Hello, I'm making an installation with WiX that have "Launch an application after install" checkbox. The goal is to have reaction on set checkbox as well as on unset checkbox. I case checkbox is set I need to run an application. In case checkbox is not set I need to run the same application but with command line argument. Here is a pa...

WiX referencing an external license file

I have a WiX installer that has 2 different licenses depending on who I give the installer to. I dont want to have to compile different installers though. I would rather ship the .msi file with a license.rtf file left in the filesystem. The RTF should not be included in the installer. But it should bring it up as the license agreement at...

How to extend existing WiX projects in VS2008

Hi, I have to extend a existing VS2008 project which includes many separate WiX 3.0 projects. My concern is: I would like to extend some of the VS-projects and make minor changes in the classes by overwriting them. Can I also extend the existing WiX project by inheritance? I ask this because the existing WiX project is very large and c...

Wix, Launch application after installation complete, with UAC turned on.

Good day. 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 found out recently that UAC of Win 7, and Vista is stopping the application fro...

WiX: Utilizing multiple cabs in a very large application

Hi All, I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Ligh...

CAQuietExec fails in WiX installer while executing inetsrv\appcmd

I'm writing some CustomActions in WiX to migrate a web.config from IIS6 to IIS7 and am getting an error. However if I copy and paste the failing command from the install log file, it succeeds. Here's section of the log file that indicates the error. You'll see the first two appcmds succeed but the last migration command fails. Action 10...

How can I deal with the ICE60 warning in WiX?

Good Afternoon, I have created a WiX project that installs a bunch of different EXEs and DLLs. Unfortunatly when I build the project I receive the following warning for each one of them: ICE60: The file fileName is not a Font, and its version is not a companion file reference. It should have a language specified in the Langu...

Running an executable on network share with CustomAction with wix?

Hello, i have created a msi-package which compresses some xml-files to a zip-file during installation. I have created a CustomAction for this purposes: <CustomAction Id="CompressMy" BinaryKey="zipEXE" ExeCommand="a -tzip &quot;[TEMPLATE_DIR]my.zip&quot; &quot;[TempSourceFolder]data.xml&quot;" Return="check" HideTarget="no" Impersonate=...

Read a localization string from a CustomAction in wix

I have a localizated wix project, and some custom actions in c#. Those custom actions sets some properties with customer facing text, so i want to assing a localizated text to those properties. Does any one know if i can read a localization string from a c# custom action? ...