wix

How can my WiX uninstall restore a registry value change?

The installer I'm writing using WiX 3.0 uses a RegistryValue element to modify an existing registry value (originally written by our main product). I'm trying to figure out a way to restore the registry value when the user uninstalls my utility. I'd like to avoid using a custom action, but that might be the only recourse? TIA. ...

Add network service

I have a kernel service driver , i want to install it with an installer . I use Wix that already copy files in driver store but i still need to add the service to the nerwork manualy (in local area connection properties) How can i do this in wix or in javascript ? ...

MSI Parameter Inspection

With a windows MSI file, is there a way to grab all the possible installation parameters in .NET code? I need to make a generic user interface to configure multiple MSI files not known until run-time – then install them together in one go. ...

Why won't Windows Installer use the UI in the .msi file during removal?

Has anyone been able to get Windows Installer to use the InstallUISequence table during removal? I started with an MSI file produced by the Visual Studio msi builder, decompiled it into WiX source code and handcrafted it, but I cannot get the installer to use my UI during removal. It insists on using a default UI provided by Windo...

WiX: .Net 3.5 prerequisite

I have a WiX installer that I would like to check for .Net 3.5, and install it if it does not exist. I have the following lines in my wixproj file: <BootstrapperFile Include="Microsoft.Net.Framework.3.5"> <ProductName>.NET Framework 3.5</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.3.1"> ...

DTF CustomAction to WiX

Hi All, I'm using a DTF immediate custom action. The Custom Action takes minimum of 5 minutes to perform its operation. Until that in the progress dialog, only the progress text is visible. The progress bar doesn't move at all. I set the ProgressText in the WiX file. How can i make the progress bar to move, so that it will be much user ...

Stopping the service and the babysited application before uninstalling

Hi all, I have a service MyService.exe that is babysitting my application MyApp.exe, meaning it starts the application when this one crashes or whatever. Basically when the service is stopped the application is stopped (by the service) and when the service is started the application is started by the service. In order to stop my servic...

First run notepad with my.cfg and only then start the service

Hi all, I install along with my application: 1) a service that starts and stops my application as needed 2) a conf file that contains actually the user data and that will be shown to the user to modify as needed (I give the user the chance to change it by running notepad.exe with my conf file during installing) The problem is that in m...

How to incorporate customized wpf screens in Wix Solution

We are developing a customized installer using Wix and Wpf. We have developed some screens using wpf and wish to integrate the same in Wix solution instead of using UI screens provided by Wix. Has anyone done this; Does WIX provides WPF dialogs or can we use our own custom dialogs (WPF Forms) in WIX solution. Any pointers for this will b...

InstallShield to WIX

I have an .msi that was created using InstallShield 2008. and now I need to use WIX to create a patch. Is this possible using Wix directly or do I need to convery my installshield .ism source to a Wix project ...

No Debug Info in WiX Managed Custom Action using Visual Studio integration

I have managed to create a custom action in C# using MakeSfxCA which is mostly working. However, there is some kinks which needs debugging to sort out. (The "printf-debugging" just is not enough.) However all debug info is lost. When MakeSfxCA is called from the Visual Studio project the .pdb-file is not passed as an argument, so no de...

GUI for Dialog-design for WiX

WiX is great in that there is no GUI, you just write the installer you want it to be. No fiddling with GUI-wizards! However, drawing GUI is actually one thing I prefer to use a GUI for. So, is there any Dialog-drawing program which exports WiX-data? (I suppose else-wise perhaps I could transform what Visual Studio's forms editor does t...

Use WixUIBannerBmp in my custom dialog

In my installer I have set WixUIBannerBmp to point to my own custom dialog-banner.bmp. Now I have added a custom dialog I would like to have the same banner as on the other dialogs. Is there a way to refer to the existing WixUIBannerBmp? Workaround would be to create a Binary containing the image and refer to that. But it seems like it...

Chained MSI Installers Tool

I'm looking for a tool (preferably not InstallShield, and also preferably cheap/Free) that supports Chained MSI Installations. I've got several small installations that need to be able to be deployed separately, but also as one group, and I'd like to not have to maintain multiple installers. It looks like I need Windows Installer 4.5 t...

Managing Dependency Hell with WiX and C#

We are on the eve of product launch, and at the last minute I am being bombarded with crash reports that appear to be related to our installer, which is a WiX3 project with separate outputs for x86 and x64 builds. These have been an ongoing problem that I always thought were fixed, only to find out that they were still lurking. The prod...

WiX - Modifying an existing service to be dependent on the service I am installing

Hi all, Using Wix3, its trivial to ensure that a windows service being installed is given a dependency on a service that is already installed on the target machine, but I need to do the opposite - i.e. as part of my install I need to modify the service dependencies of an existing service (i.e. already installed on the target machine), ...

WiX installer - Update scenario Custom UI

For my application I have an .msi developed with WiX. For the update scenario I want to do the following: if the installed version is never than the update version display an error if the installed version is older than the update version show a button with text Update if the installed version is the same as the update version show a b...

Unable to associate the custom action file build in C# with the Wix project

Hi, I have a specific requirement. I am using a wix project and here I have a dialog box asking for the web application name and port number. After entering something when the user clicks on the next button I want to validate that the port number should not be used by some other application and if it does the setup should show a warning...

Unable to associate the custom action file build in C# with the Wix project

Hi, I have a specific requirement. I am using a wix project and here I have a dialog box asking for the web application name and port number. After entering something when the user clicks on the next button I want to validate that the port number should not be used by some other application and if it does the setup should show a warning...

Bootstrapper (setup.exe) says ".NET 3.5 not found" but launching .msi directly installs application without problem

Our installer generates a bootstrapper (setup.exe) and a MSI file - a pretty common scenario. One of the production machines reports a strange problem during install: If the user launches the bootstrapper (setup.exe), it reports that .NET 3.5 is not installed. This happens with account under administator group. No matter if they launc...