wix

How to show files being copied, moved,etc. on installer screen using WIX

Hi... I have my installer and is working fine. What I want to add more is that I want to show the work done by installer on installer screen (Example, installing Microsoft SQL Server 2005, we get the files being copied, moved, registry entry created,......) Similarly I want to show this on my installer. So can anyone help me on this ...

WiX - How do I prevent ComPlusAssembly being unregistered during uninstall?

As part of my Installer, I am adding files to an existing COM+ package. I have defined a ComPlusApplication underneath my Product element, which has the name set to a property - I then have a custom action which looks up that property - all good so far. When the installer adds the files, within the same component I have added a ComPlus...

Why does Tfs2010 build my Wix project before anything else?

Hi all, A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: http://stackoverflow.com/questions/688162/msbuild-task-fails-because-any-cpu-solution-is-built-out-of-order. My issue is that I have a wix installer project, and after upgradi...

How to set conditions that have dependencies in WiX?

I am making an installer, which need read a registry key and get a value, then use this value to access another registry then get the INSTALL dir. Any condition mentioned above will stop the installation if fails. How to set such conditions that one is dependent on the other? Thanks. ...

WiX: Define made in included file not avaible from wxs-fragment-file.

I have a defines.wxi-file which contains some good definitions used in all my wxs-files. When I attempt to reference the defined value from one of the <Fragment>-files I get Undefined preprocessor variable '$(var.IMAGE_FOLDER)' back in my face. I guess there is something trivial I am missing here... Any ideas? Edit 19:th April. Found ...

Visual Studio 2010 ditched Wix??

hi there, Not sure I heard this right, but VS2010 no longer has support for Wix? Can someone confirm this?? Cheers ...

How to log the installation date to the registry

When an install completes successfully, the date and time and some other info needs to be written to the registry. How can a date be generated and how do you know if an install was completed successfully? (writing to the registry with wix is not a problem). ...

WIX - Run custom action on installation cancellation

I'm wirintg an installer using WIX and I need to execute a custom action when a user press the "cancel" button. I've created a custom action but I don't seem to find where to use that action. Any ideas how can I do that? ...

I'm referencing an WiX extension in a WiX library project -- how do I avoid having to reference this extension in other projects that use this wixlib?

I'm referencing a WiX extension in a WiX library project. This WiX library project is itself referenced by my main WiX MSI project. Why does the main project have to also reference the WiX extension, even though it doesn't directly need it? I'd like to keep my wixlib's as self-contained as possible, so that other projects that use them ...

WiX - Gotchas for Combining COM and .NET components in the same installer

I have two products that are always installed in tandem. One is an ActiveX exe the other a C# application. I've gotten the ActiveX installer to build and function properly using WiX and I'd really like to combine both into a single installer. I'm feeling just about dangerous enough with WiX to attempt it, but would be interested in any a...

Wix - How do I specify a directory to run a batch file in?

I want to run a batch file, which I do via the following: <CustomAction Id='InstallFilter' FileKey='install' ExeCommand='' Execute='deferred' /> <InstallExecuteSequence> <Custom Action='InstallFilter' Before='InstallFinalize' /> </InstallExecuteSequence> This will execute the batch file, but it runs in C:\Windows\System32 (or so...

Create a Desktop Shortcut to an existing FOLDER using WiX

I have the need to create a Desktop Shortcut to an existing FOLDER (NOT to a file) using Wix. To elaborate more, my installer program has a CustomAction program written using C# associated with it. This CustomAction program creates a folder named "BSS" of which the path is selected by user. C:\ProgramData\MT\BSS Now I need to place a ...

Adding firewall exceptions for other firewall products than Windows Firewall - such as Norman, Norton etc

I have a WiX installer project where I have added two firewall exceptions as part of the installer by using the WiX FirewallException. This works great when the client machine is using Windows Firewall, but I got a report that a user failed to get the solution running when using Norman's Personal Firewall. Some question regarding this: ...

Localize WiX installer which uses the Firewall extension

I've got a WiX installer project which uses MSBuild to generate the MSI file. The WXS file includes the WiX firewall extension: xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension" I've defined two cultures in the MSBuild file with the following definition: <PropertyGroup> ... <Cultures>en-us;no-no</Cultures> </Prop...

WiX: Forcefully launch uninstall previous using CustomAction

I'm writing a new major upgrade of our product. In my installer I start by finding configuration settings of the previous version, then I'd like to uninstall the previous version. I have found several guides telling me how one should make a MSI suitable for such upgrades. However, the previous was not an MSI. It was not according to be...

WiX - create a bootstrap that passes arguments to the msiexec

I need to create a bootstrap for my WiX project I've tried using setupbld.exe but it will only allow me to create an executable that will show my UI or one that will behave as a silent installer but not both. I need to be able to run the resulting executable with argument that will tell it wether or not to show the UI during installat...

Using Wix to Deploy an Outlook Add-In

I have a requirement to create an installer for an Outlook 2003 add-in that was created with VSTO. We currently are using Wix for our installers as they play nice with MSBuild and I need to use it to create the installer for the outlook add-in. I have no experience with outlook add-ins and am unsure exactly what is involved and how to ...

Wix - how to install to visual studio folder

I need to deploy a new item/project template and I found out that the way to do it is to copy it to [Visual Studio folder]\Common7\IDE\ItemTemplates. How can I find where VS was installed (in my case VS2010)? WiX code will be welcomed... ...

Using wix3 SqlScript to run generated temporary sql-script files.

I am starting to write an installer which will use the SqlScript-element. That takes a reference to the Binary-table what script to run. I would like to dynamically generate the script during the installation. I can see three possibilities: Somehow to get SqlScript to read it data from a file rather then a Binary entry. Inject my gen...

"Decisiontable" in WIX

Hi Guys, I'm searching a way to create a Setup with WIX, which is loading settings from a xml-file (or onle a simple table in the file) and modifies the features of the setup depending on the data in the xml/table. Any ideas? Cheers - Admirandis ...