windows-installer

MSI removes required assembly on upgrade install, but replaces it on Repair

I'm experiencing some weirdness related to an MSI installation upgrade, perhaps someone out there can help me: I have two MSIs, an original and an upgrade: MSI version 1.0 Contains a .NET assembly, foo.dll, to be installed to the GAC foo.dll is of type "Assembly" (not "Output") within the MSI file system gui. MSI version 2.0 Also c...

Embed providing server URL into an MSI

I have an ASP.NET server that provides its client as an MSI download (similar to CCNet/CCTray). There can be more than a single server (for example, for dev/testing/production, but there may be different production instances). So client has to know server URL. I can not ask users for URL because it does not really make much sense for th...

Is it possible to prompt for restart machine after installation using WiX?

Is it possible to prompt for restart machine after installation using WiX? ...

How to log and compare Windows Registry data before and after any program installation ?

I need to compare the windows registry data before and after install a program ? ...

Get the name of the current msi installation file from an Installer class

It is possible to get the name of the current installation file (.msi) from the Installer class of custom action ? I need something like this: [RunInstaller(true)] public partial class ProjectInstaller : Installer { public ProjectInstaller() { InitializeComponent(); **var fileName = CurrentMSIFileName();** ...

Dependencies in MS Installer / Wix

I'm currently learning the vagaries of WiX and Windows installer and I've hit a stumbling block. The project that I'm currently packaging is made up of six discrete chunks. For now let's call them A, B, C, D, E, and F. Chunk A is a set of common libraries and utilities that are used by every other project. It does not present any end...

How do I get the current users name in a custom action for windows installer?

Hello, I need to get the username of the user running the installer for my custom install action. Because the installer gets special priviledges, Environment.UserName just gives "SYSTEM". Environment.SpecialFolders.ApplicationData returns the current users appdata folder, but I can't reliably dig the username out of it. More case spec...

Windows installer MSI format

I cannot find the MSI format specification. It says that its an open standard, but I don't see any documentation - just bits and pieces of information here and there. I want to modify some .msi installer, but I want to understand first what it is doing. ...

How to run multiple msi files

For my application, I need to install the main application and allow users to pick and choose one or more additional features to install. I tried to run the main msi and have a custom action to install other feature msi files. However, it doesn't work since MSI doesn't support nested installation. Should I build a window application ...

Is it possible to add dialog box for uninstallation in wix??

hii, i want to add customized dialog box for uninstallation of my application.. i search alot for it. for now i am trying like below:: REMOVE="ALL" Is it possible or not in wix?? can anyone help me out about this?? ...

same wix for 32 bit / 64 bit - how do I create conditional steps?

I'm trying to create a custom step in Wix(*), which will depend on the platform - 32 vs 64bit. any suggestions how to do that? (using WIX and not external stuff like writing a script) (*) I need to use the appropriate InstallUtil version to install my snapin on a 64 bit / 32 bit machine. ...

Problem installing MySQLdb on windows - Can't find python

I'm trying to install the module mySQLdb on a windows vista 64 (amd) machine. I've installed python on a different folder other than suggested by Python installer. When I try to install the .exe mySQLdb installer, it can't find python 2.5 and it halts the installation. Is there anyway to supply the installer with the correct python loca...

Good software packager other than InstallShiled

Does anyone know any good software packager other than InstallShield? What software did MS use to create the Visual Studio 2005/2008 installers? Also, does it make sense to just use a "general purpose" language like C# to create an installer rather than using software packagers? Thanks! ...

What is the wix 'KeyPath' attribute?

What is the Wix 'KeyPath' attribute? In particular, how does it apply to the following: <Component Id="ProgramMenuDir" Guid="BF266F76-192A-493E-B5C7-C54660E61D7D"> <RemoveFolder Id="ProgramMenuDir" On="uninstall" /> <RegistryValue Root="HKCU" Key="Software\CompName\AppName" Type="string" Value...

Use Wix installer to add shortcut to subfolder in startmenu programs

I am trying to add my program shortcut to an existing folder in the start menu shortcuts. For example All Programs -> AppNameFolder -> AppNameVersionFolder -> AppShortcut In order to achieve this I added the extra lines: <Directory Id="ProgramMenuFolderApp" Name="App"> <Directory Id="ProgramMenuDir" Name="APP ...

how to put radio buttons in windows installer - deployment project?

I've a deployment project of windows installer, with some of prerequisites. I want to perform some operations while installing the product, for that I need to put 2 radio buttons on installer setup project, do anyone tell me how can I alter setup screens with new controls provided on canvas ? ...

What is the default installlevel for windows installer?

If you do not provide any installlevel argument to msiexec, what is the default value that the Windows Installer Framework assumes? My tests seem to indicate 1, but I can't find any documentation that corroborates this. ...

How do you determine if a WiX installer is quiet or interactive?

Is there a way within WiX to determine if the installer is being run in quiet mode or interactively? ...

Remove file and folders on uninstall

Hi, i am learning WIX to build installer for my app but i am stuck with removing files, my question is how can i remove files and folders on uninstall. when i click on remove button all files and folders which installer created doesn't remove on uninstall. please help me. ...

Is it Possible to make installer experience like photosuru in wix??

hii, As we can make installer using SCE(Syndicated Client Experiences) kit like photosuru http://tozon.info/blog/post/2009/02/07/photoSuru-install-experience.aspx what i want is that change images on the progress of installation as u can see in the photosuru.i want the same in wix. it makes a better installer experience possible in wix...