wix

WiX internet shortcut icon missing?

I am using WiX 3.0.5301.0 I have code like <Component Id="ApplicationShortcut" Guid="{0F889915-B241-414d-A5F6-E956AA60AAFD}"> <util:InternetShortcut Id="Home" Directory="DesktopFolder" Name="Joy of Setup" Target="http://joyofsetup.com" /> </Component> the shortcut appears but the internet shortcut icon does not appe...

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

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

WIX installer with delphi custom actions

Hi, We are writing custom actions using Delphi and wanted to know if there would be any issues with the following or whether one way would be better than the other. Using WMI to determine if SQL server is installed and getting the SQL server instance names. If there is an issue with WMI (exception raised), then use SQLDMO. Using WMI t...

Copy if not exist in WiX

I have a config file, myapp.exe.config, that I want to install only if it does not already exist. That is, I don't want to overwrite any existing config file. How can this be done in WiX? (Ultimately I will have to do something more sophisticated with settings, having defaults and overrides and so on. But in the meantime I am just looki...

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

Install a file regardless of version number with WiX

MyApp version 1.0 contained the file foo.dll. The version of this file was version 10.5.567. Now MyApp is version 2.0 and the version of foo.dll is 2.0.123. The version is LOWER than the old version. The vendor who wrote this dll decided to go backwards with the file version number. This is not a decision I can change. How do I get ...

How to implement single installer for 32 & 64 platforms

I work on an WIX based installer. The installer builds to 32 and 64 platforms separately. The installers versions are very similar in both platforms but few conditional steps like avoid registering x64 native dlls in the 32 bit installer. Is there a way to unite both of the installers to one? ...

WIX RemoveFolder issue

I am trying to add a feature to my msi based installer, written in wix, which will allow the user to change the name of the folder that keeps the shortcuts within the Windows start menu. What I did so far is to add a folder there (with a static name), add shortcuts to that folder and remove all of them during uninstall (by using the Re...

Can anyone give me a example of modifying windows environment system variables in WIX?

Hello All, I still don't know how to add the installdir into the PATH of the Windows System Variables after I went through the WIX tutorial. I tried to use Environment Id='UpdatePath' Action='create' Name='PATH' System='yes' Value='[INSTALLDIR]' But there was no change in the Path after I installed the program. I can hardly find...

How to pack two msi files and run a condition between them?

Hi, I need to pack two msi files in one setup.exe file (via bootstrapper) and run only one of them depending on condition (machine is x64 or x86). Is there a way to do that? ...

How to install and start a Windows Service using WiX

I tried to use the codes below in Wix. But when installing, the installer was freezing for like 3 minutes on status: Starting services, then I got this message "Service Jobservice failed to start. Verify that you have sufficient privileges to start system services". Is there any wrong in my codes? And can I ask the user to input the win...

Problem with WiX Votive 3.0 preprocessor

I have just started using WiX for the first time. I added a WiX Votive project to my existing C project. To automatically select the correct source folder for the binaries add used the following: <Directory Id="INSTALLLOCATION" Name="Trapeze Capture For Objective" FileSource="$(var.CaptureForObjective.TargetDir)"> That results in th...

LINQ to XML and WIX issue

I have a WIX XML document that contains 2,000+ file tags. I am trying to make a program using LINQ to XML that can update an attribute of each file tag. My code is as follows for loading the current attributes into a dictionary. XElement root = XElement.Load(filePath); XNamespace wix = @"http://schemas.microsoft.com/wix/2006/wi"; ...

How can I change the font colour and type of a string in WiX in one of the standard dialogs?

Is there a simple way to change the font colour and (preferably) font type for one of the strings in one of the standard UI dialogs in Wix? I'd prefer not to copy and paste the entire dialog source code into my file. For example, in the welcome dialog I want to keep WelcomeDlgTitle and WelcomeDlgDescription the same, just change the fo...

How to launch Maintenance mode--"Change, Repair, or Remove installation" dialog in WIX

Hi all, I have changed the wix tutorial codes from here http://www.tramontana.co.hu/wix/ to make my own installer. There is no problem when I run the installer to setup my application. But when I run the the installer again, a window jumped out said "Another version of this prodcut is already installed..." But in the sample, there s...

Install a pfx certificate in a users store in Windows using WiX

Please, can someone provide me with a WiX snippet or solution for the mentioned scenario. I need to include the pfx file in the WiX msi and the user will download my msi to his machine via the internet explorer and Click install and I need also the certificate to be installed on his machine. ...

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

Wix and MSM confusion

I am working on a project that accepts the Wix data from decompiling an MSI, and incorporates the source file path table that was exported from Wise for Windows Installer. The only problem I am running into is that Wix is looking for a directory for the files that were included in the Merge Modules (I think). I want to check if the mis...

How to silent run an installer of another program(PostgreSQL) during the installation in WIX?

Hello All, My company is developing an application that has a dependency on PostgreSQL, we are developping the installer by using WIX. How can we make the PostgreSQL installer (which is also a msi file) run automatically when installing our application? What do we need to set in Wix? If you happen to know any webpage explains this, plea...