wix

Wix Bootstrapper should take installfiles from subfolders

Hey Guys, Is there any possibility to say the WIX-Bootstrapper to take the Installfiles located in the subdirectories? When starting the strapper he always wants to download the newest versions (.net, Installer, etc). Thanks in advance! ...

Wix C# Custom Action Logging Not Working

I am trying to log from my C# Custom Action using session.Log( "Hello World!" ); This does not show up in my log file when executing my msi as follows: msiexec /i myMsi.msi /lvx myLog.log My custom action works fine, my only problem is I do not get my logging info. The log shows my CA is getting called, just not the info from my sessi...

x64 wix installer on XP doesn't write the registry values under Wow6432Node

In case of installation on x64 I need to write two registry values: 1) <RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Exchange" Name="Info" Type="string" Action="write" Value="8"> 2) <RegistryValue Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\Exchange" Name="Info" Type="string" Action="write" Value="9"/> I'm using <?if $(var.Pl...

Wix + IIS : Creating a virtual directory on a web site with bindings for port 80 disabled.

I have a Wix installed which creates a virtual directory in IIS via the following: <DirectoryRef Id="INSTALLLOCATION"> <Component Id="VirtualDirectory" Guid="29BEECCC-AA5F-11DF-BBB1-9C0AE0D72085"> <iis:WebVirtualDir Id="MyVDir" Directory="INSTALLLOCATION" Alias="MyVDir" WebSite="DefaultWebSite"> <iis:WebApplication Id="MyApp...

Wix / MSI : Unable to uninstall

I've developed a Wix installer for an internal project however entirely by accident I've found that I'm unable to uninstall the installer on my development machine as I get the following error message: The feature you are trying to use is on a network resource that is unavailable with a dialog pointing to the path of the .msi that ...

WIX 3.5 fails under NAnt but not under VS2010

Hi, I know this a is a common issue, but everything I can find in the forums seems to relate to 64bit framework incompatability (which is not an issue in my case). I have a set of simple WIX 3.5 installers developed using Votive that I can compile happily in VS2010, but when I try to compile them via NAnt (and MSBuild) on TeamCity (i....

Are there any books on WiX?

Are there any books on WiX? ...

[Wix] Change caption off a Messagebox shown from CA

I'm using Session.Message to spawn a Messegebox from some CA. Is there a way to change Caption on a spawned Messagebox? ...

Which are the best sources for learning the Windows Installer technology?

Hi, I would like to know if you could share some (trusted) sources of information (books, URLs) that you consider the most relevant for learning Windows Installer. They could be for starting on this technology or for an advanced or professional level of knowledge. I'll be really grateful. UPDATE: I would like to know where a future dep...

WiX CustomAction Third Party Library Dependency

I implemented Custom Action DLL that needs to run when the product is being unistalled or reinstalled. Custom Action DLL (C++) references third party library which is a COM object that needs to be also registered. I have 2 questions: 1. How do I include third party library into installer package? I'd prefer if the file were not visibl...

WiX Error LGHT0204: ICE03: _Validation table: Data in KeyTAble column is incorrect;

I am getting this error in my Wix project, and I am not able to get a clear solution in the web for this error: error LGHT0204: ICE03: Validation table: Data in KeyTAble column is incorrect; Table: MsiAssembly, Column: Feature, Key(s): Component_USBComm_x86 and also this error: error LGHT0204: ICE57: Component 'Component_HTMLHelp' has...

draw a vertical line in a custom dialog

there is a way to draw horizontal line < control type="Line"... Width="370" Height="2" />. however it doesn't allow me to draw a vertical line with < control type="Line"... Width="2" Height="100" />. why??? ...

Office2007 Setupstyle with WIX

Hey Guys, any idea, how to make a setup which looks like Office2007-Setup? For example the blue buttons which become golden on hover etc.? Greetings ...

WIX Custom Action - run at different times for install, upgrade and uninstall

Hi all, I have a custom action that removes various directories as part of the uninstall process. I want to call this action at different points in the install sequence depending on what's being done: During an install, don't run the custom action During an upgrade, run the custom action after RemoveExistingProducts During an uninstall...

Generic MSBuild Script

I am trying to build a generic MSBuild script that will be called programmatically from ASP.Net page. This script should do the following: 1) Check out the source code (all projects are asp.net projects) from SVN. 2) Build and publish the web project. 3) Run a c# component which will do some manipulation on the published...

Custom Action in C# used via WiX fails with error 1154

I am using WiX 3.5.1930 in Visual Studio 2010, targeting the .NET Framework 3.5. (Later weekly builds of WiX seem to be very broken with respect to their custom action template, at least for now. 1930 is the most recent build that seems to make a buildable C# CA with working references.) I have two custom action assemblies written in ...

How do you get the default IIS Directory in a Wix install package?

I Would like to set my default install location in Wix to go the default IIS directory usually C:\inetpub\wwwroot\ in the XML i have <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="myProduct"> I Assume i can change either the ProgramFi...

WIX disable parent feature if no subfeatures selected

Hey Guys, is there any way to disable a feature in the featuretree of Wix, when there are no subfeatures selected? Unfortunatly Wix doesn't do that by default. Thanks in advance - Thomas ...

Two almost identical WIX projects - one works fine, the other fails with security issue.

Hello, I have WIX installers for two windows services. Both are installed using the same credentials, but one works while the other fails with the error "Service "PCP Event Processor-3.9.9.0-wix' (MyServiceExeName) could not be installed. Verify that you have sufficient privileges to install system services.". I use a common wxi file f...

Set property value from user selection in wix

I have a window with 3 radiobuttons like this(removed all non interesting props): <Control Id="Back" Type="PushButton" Text="!(loc.WixUIBack)"> <Publish Event="NewDialog" Value="InstallDirDlg">1</Publish> </Control> <Control Id="Cancel" Type="PushButton" Text="!(loc.WixUICancel)"> <Publish Event="SpawnDialog" Value="CancelDlg">1</...