msi

Wix: How can I set, at runtime, the text to be displayed in VerifyReadyDlg?

After the user goes through the Setup Wizard, and makes a few choices, the usual thing is to display the VerifyReadyDlg to say "Are you ready to install?" The built-in VerifyReadyDlg is static. It does not present a summary of the choices he made previously. I'd like to modify it so that it does. How can I do that? Example "S...

Wix: How can I launch a help file after installation? (WIXUI_EXITDIALOGOPTIONALCHECKBOX)

I know about WIXUI_EXITDIALOGOPTIONALCHECKBOX and WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT. As I understand it, those things can be used to trigger a custom action. The examples I've seen run an EXE, or invoke a custom action in code. How can I run a .CHM file if the checkbox is checked? If I just specify the chm file as the FileKey, a...

Force installer to upgrade a file in the GAC regardless of the version number

I have a WiX installer which needs to install new bits for Interop.FOOBARLib.DLL to the GAC. The problem is that the version number is the same as the old version and the new bits do not get written the GAC on an upgrade. We execute the RemoveExistingProducts action after the InstallFinalize action. We cannot move the RemoveExistingPr...

Remove registry key during uninstall

Hello there. I have a simple C# application that allows users to specify that it should be (or should not be) started with Windows; it does so by setting (or deleting) a registry key (namely, ...\Software\Microsoft\CurrentVersion\Run\MyApplicationHere). I am using a VS setup project to create the installer for this program. I don't wa...

by using copyfile element files cant not bind into msi package

Hello, i am using wix 3.0.i have a folder name "images".so i want to copy all the files from images into msi package.when i copy all the file and install msi to another PC then it did not bind the images. And when i use simple File Element then the files bind to msi package. so what should i do, Reply me soon Thanking You Sami...

how can i attach the framework in WIX

hello, i want to attach .net framework 2.0 file in wix.how can i?so whenever client want to install the msi then it will install the framework directly.so how can i bind the framework in msi package? reply me soon Thanking You Samir ...

how can i combined the framework and installer in single msi using wix

hello, how can i combined the framework and installer in single msi using wix. reply me soon Samir ...

.msi Installer for web setup project fails on windows 2008 server with IIS 7

Hi, I am trying to install the web setup project on a Windows 2008 server with IIS 7. However, it dies at the first step with the error "The installer was interrupted before could be installed." I tried installing with logging enabled and the log files have an error message like below. MsiGetPropertyW - Getting Property 'VSDNETMSG'...

Controlling Shortcut order in wix

Given a Wix installer with multiple shortcuts in the start menu, how can I, without renaming the shortcuts, control the order they appear in the start menu? ...

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...

.msi common application data local machine registry

I note that there are many subfolders in the common appdata folder and many entries under hkey_local_machine for software on my windows 7 system. I'd like to know how there entries were created presumably when the software was installed and what enables the programs to get at them. Are there facilities in the .msi files to make these f...

Set directory permissions with inheritance during application installation?

I found a thread on the Microsoft Forums where the answer tells how to set directory permissions using the LockPermission table. I tried it, but it doesn't seem to set the inheritance for any of the subdirectories. I need to be able to set the permissions for a particular folder that I create and have those permissions be inherited by al...

How to include pdb files in MSI installer to deploy along side the rest of the app?

How to include pdb files in MSI installer to deploy along side the rest of the app? I want to keep the line numbers and full stack trace in error logs we generate. Update The line numbers of the code are not reported in the stacktrace unless you distribute the pdb's, I've tested this. How can when I build the MSI and I've asked the M...

Visual Studio MSI Installers

I have an Web Setup Project Installer and I would like to default the site and the Application Pool that is selected during the install process. Also I would like to have the name of the product append the current version number during the build process of the installer. Any help would be greatly appreciated! Thank you ...

Is there any standard for post build events within Visual Studio?

I am working on a VS solution that utilizes the post-build events to copy files into a deployment project that packages the files. Does anyone know if there is any best practice in how to move files around to place in an MSI? ...

Build NSIS script as a MSI package

Hello, I was just wondering if there's any way how to compile the Nullsoft Installer Script (NSI) setup as a MSI package instead of an EXE. Thanks. ...

VS2008 deployment project. Change UpgradeCode for every build.

Hello. Is it possible to setup vdproj so as new UpgradeCode is generated for every new .msi? Why I need this. We have only one deployment project, only one application. It is very convenient (for non-developing audience) to double-click .msi file and reinstall it disregarding any other application already installed. Most often it is ne...

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...

MSI product code from product id?

I'm trying to convert the MSI product code GUID into the product code ID used to identify the installed item in the MSI registry keys. Is there an API for this? If not, how can this be done? ...

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, ...