wix3.5

WIX create folder using property

In the WIX I have a dialog where the user could select a folder [CUSTOM_FOLDER] from local machine, after the setup is finish I must give share to that folder and copy some files to it. How could I archive this using WIX 3.5? ...

Remove license agreement without copying all other dialogs in WIX3.5

I know the way to remove the LicenseAgreement dialog from the sequence of the shown dialogs in WIX. But after I change Mondo or InstallDir wxs files, it comes out, that I need to include in my WIX project all other dialogs that Mondo or InstallDir use. And it's quite a big number of files. Is there any other way to change the installat...

Help with ensuring a bootstrapper is used but having upgrades work

We have an MSI we have authored in WiX 3.5.2030.0 and targeting Windows Installer 4.0 (for MSIUSEREALADMINDETECTION support). We have a property that we have defined in the MSI to enforce use of a bootstrapper (I say "enforce" but it's really "very strongly encourage" of course): <Property Id="SETUPEXE" Secure="yes" /> <Condi...

WiX: Mysterious and hard-to-diagnose ICE validation errors on build server build

I'm trying to integrate WiX into my automated build solution using Tfs2010 running on Server 2008 R2. Everything seemed very easy, and then I get this: light.exe: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Er...

Anyone else notice that $(SolutionDir) resolves to ProjectDir when loading Wix projects into Vs2010?

I'm using Vs2010 and Wix 3.6.0917.0, for the record. I use the $(SolutionDir) property quite a bit in my .wixproj file, since I only ever build the installer as part of a solution build or as part of a team build, and never by itself. However, while building from the command line works just fine (both from cmd on the desktop and when bui...

How can I add the installation of .NET 3.5 to Installer on Windows 2008 Server R2

I have a homemade bootstrapper (call it SetUp.exe) that checks whether .NET 3.5 is installed on the target machine, and, if not, launches the installation by running dotnetfx35.exe. Fine. This works for all cases that I need EXCEPT for Windows 2008 Server R2. On this OS, the .NET installer does not install/enable .NET 3.5. Instead it...

WiX register assemblies for COM Interop

I'm really struggling with WiX. I have .NET assemblies to install that require registration for COM Interop, AND they must be registered with another framework that requires calling a Register() method in a .NET assembly that's in the GAC. This registration method is a 'black box' with a hidden storage mechanism so I can't perform this o...

How can I get WiX to call a method in a .NET assembly as part of the installation process?

I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM P...

Wix 3.5 Create Scheduled Task

I've got a couple of projects I'm using Wix 3.5 for, along with Paraffin which is going really well, but I'm stuck trying to figure out how to create a Windows Scheduled Task as part of the installation. I could just run a bat file that creates the task, but I don't think that would give me the uninstall features that Wix has, nor allo...

MSIEmbeddedChainer & MSIEmbeddedUI

i am finding some example source codes for the MSIEmbeddedChainer & MSIEmbeddedUI. wix v3.0 has <EmbeddedChainer> command, but there's no info of how to use (or probably incomplete implementation). i want to chain my msis. however, there are very little details to this topic. msi 4.5 has very nice features with MSIEmbeddedChainer & MSIEm...

How do I include SQL CE using WiX installer?

So I'm trying to build an installer in Wix 3.5. My app need SQL CE 3.5 to run. It looks like MS's installer has an easy way to include this, but I'm not sure what I need to do in WiX. ...

Getting Wix Votive to register COM objects

Hi. I'm using the Wix 3.5 Votive (visual studio integration) to author an installer for some COM objects. In Votive, setting a project reference pulls in the binaries from that project and automatically generates the Wix source at compile time. This is absolutely great, it is DRY and means I don't have to constantly update the Wix XML. ...

WIX: MSI creating a IIS website should not be removed the website, if a virtual Dir or apppools of another MSI exists.

Can anyone help me with this requirement what i have in WIX. I need to develop a MSI to create a website. This website is used by other MSI's for creating VDir and apppool which would be implemented by Website Locator. Now during uninstallation, the MSI should check, if the VDir of other MSI's are present and if it does not exist, only t...

WiX: Disable the Next Button Until Edit Control Contains a Valid GUID

Using WiX, what's the simplest way to disable the Next button on a page until the user has entered a well-formed GUID in an Edit (textbox) control? I expect the answer to be Condition elements within the Next button control, but I can't figure out what the conditions would be. Do conditions support regular expression matching? ...

Wix 3.5 and .net 4 custom action doesn't work

My custom action assembly doesn't work with wix 3.5. When I build custom action under .net 3.5 in propreties all works fine, but when change in project properties of custom actions assembly target framework to .net 4 - it fails with BadImageFormatException. Utility makesfxca.exe works fine with both - .net 3.5 and 4.0 ca assemblies. Co...