wix

WiX: Passing Install path to managed custom action

Hi, new Day, new Problem;-) Still got to struggle with managed custom action. I already managed it to call an custom action and passing some test data to it. Now i want to replace the testdata with the real data i need. And here the problems starts: I want to call a batch file wich was installed in a subdirectory of my installation. Th...

WIX adding shortcut to a website or url location using wix and choose custom icon for that shortcut.

I want to add a shortcut to the start menu group with following specifications: It should point to a website, say www.xyz.com It should have some custom icon I need to pass some parameters to it, like www.xyz.com?lang=XXXX. Where XXXX is language code e.g. 1033, 1036, etc. and it's dependent on the language chosen by the user for my ap...

Custom uninstaller for a WIX generated MSI

I have an MSI that is being generated from WIX scripts. My question is similar to this question. I want to create a custom uninstaller instead of using the default MSI uninstaller. I am thinking of adding a custom action that executes after PublishProduct or before InstallFinalize that just goes and modifies the registry entry that sp...

how to update product.wxs file dynamic

Hello, i want to make an application which includes dynamic screensaver. User can select multiple images from their PC and generate swf file. so i want to include swf file and images in the wix project dynamically. and want to generate an MSI file.is there any way to add images path and swf file dynamically reply me soon Sami...

RegistrySearch in WIX

How can we search a (Default) registry entry with value (value not set) from WIX?I tried by using RegistrySearch without Name attribute still its not working.Anyhelp would be appreciated. ...

Custom Action inner text

Hi,All. I have the following Wix code,that checks if some registry entry exist it doesn't launch Custom Action.A Question is what is wrong in Custom Action condition defined as inner element? <Property Id="MYSERVER"> <RegistrySearch Id="MyServer" Root="HKLM" Key="SOFTWARE\My Technologies\MyServer" Type="raw" Name="InstallLocation" /...

Writing upgradeable msi packages using WiX

I am writing a installer for an existing product, for which an earlier installer was written in NSIS (Nullsoft Scriptable Install System). I have to write an msi based installer for this product using WiX. I have certain question regarding this :- How to detect whether my application is installed or not on a target machine? The applica...

WiX uninstaller: restart service if present

Part of our app involves registering a plug-in to a third-party product. While the third-party service is running, it has our DLL loaded, so the files on disk are locked. So when we uninstall our product, we need to begin by stopping the third-party service, and then restart it when we're done with the uninstall. (We also do the same st...

Pre-requisite Check on Uninstall

Hi, I am using the below code to check one of my pre-requisite. <Property Id="PRE_INSTALLATION"> <RegistrySearch Id="RegistrySearch" Root="HKLM" Type="raw" Name="Current Resource" Key="SOFTWARE\ABC\BCD"/> </Property> <Condition Message="[ProductName] requires ABC.">PRE_INSTALLATION</Condition> The problem is that this gets executed e...

How to skip the features select screen in WIX-generated installer program?

I want the installer to skip showing setup type screen (where you can choose Typical, Custom, Complete features), How can I do this? I provided only one feature set named product. And I also want the user be able to change the installation directory. Thanks. ...

How To Run the Installed Application After Setup in Wix?

I want to execute the application, I have upgraded. http://wix.sourceforge.net/manual-wix3/run%5Fprogram%5Fafter%5Finstall.htm does not work for me as I do not have an Exit dialog. ...

Launch after install, with no UI?

How do I launch my application after install with no UI (or in quiet mode)? Thanks! I had a installer with UI which has an option to run after install. Now I want my application to updates itself by downloading and running the new version of installer in quiet mode, but after updating done, it won't launch again. ...

WiX: How can I install a guidance automation package (GAT) using WiX?

I'm currently writing an installation for our in-house development SDK. Part of this SDK is a guidance package for Visual Studio 2008 (Guidance Framework Version: February 2008). Unfortunately I have no idea how to write a WiX-installation for the guidance package created. How to do that? By default the guidance-package-wizard in Visu...

Wix 3 driver package installation problem

Hello. I am trying to create a .msi database using Wix to install a driver package. Now this driver package is made to run on all platforms and can be installed on any platform (any version of windows, 2k and later, x86 or x64) by right clicking on the .inf file and selecting the "Install" option. Because the package doesn't need mul...

WIX will not add HKLM registry setting during Windows 7 install

Good Morning, I have written a WiX installer that works perfectly with Windows XP but when installing to a Windows 7 box I am running into difficulty with Registry Entries. What I need to do is add a HKLM entry as well as the registry entry for the program to show in the start menu. Here is the code i am using for both types of entry: ...

Bootstrapper: Check if msi version is installed before running

I'm trying to find a solution for the following issue: I have numerous programs (lets call them slaves) that all rely on a single program (master). I need to distribute an installer for each slave. This installer needs to install the master. I want to be able to version both pieces, so multiple msi's appear to be the right solution, ...

Get WiX to write a new GUID to the registry after each install

I'm trying to port an NSIS installer to WiX. Every time the installer runs it sets a registry key to a new GUID value, so that when my app runs it can see if it's first run after an install. On first run the app sets another registry key to the GUID value from the installer. As long as the two keys match then I know the installer hasn...

Using WiX to put an assembly into both the GAC and Install Path

I'm just starting to learn how to use WiX and I'm running into a snag. My package uses a third party library that requires some file to exist both in the GAC and the package installation directory. Using WiX, I can make files show up in the installation directory, or in the GAC, but not both. Is there any way to work around this? ...

NSIS Vs WiX Vs AnyOther Installation Package

Hi, Need to create a Installation Package that would need to a) install a Database, b) create database and tables, c) installed already created installable in Visual Studio, d) create ODBC datasource, e) copy files. f) create shortcuts, etc Can you please suggestion which one to use? To simplify following would be my criteria(Desce...

Is it possible to determine if New or Existed folder was selected in the WiX?

There are PathEdit and DirectoryList controls which are associated with the same string valued property. That property is the path selected by the user. When user press NewFolder the DirectoryListNew ControlEvent raises. This event notifies the DirectoryList control that a new folder must be created; it creates the new folder, and select...