wix

ServiceInstall or ServiceControl Problem

Hi, During Installation, I'm installing my service using ServiceInstall and ServiceControl tags. But, my service is not running. I'm getting error message "Please check you have sufficient privilege to start service". But, I'm in Administrators group. I'm using Wix ver 3.0. code snippet is here, <File Id='myexe' Name='myexe.exe' DiskI...

Generating a WiX XML file at build and components questions

I am trying to write an installer for a website I created. In the WiX tutorial it says "Again, a component should only contain items that belong together so strongly that they always need to be installed or removed together.". I believe an entire website fits this description. I have 2 issues regarding components. The first is that obvio...

MSI Installer error-dialog localization (WiX)

I have created an MSI installer for a .NET 3.5 application written in Visual Studio Express 2008. The installer UI is localized (to danish) and looks fine. My problem is that errors, say a previous version is installed and needs to be removed first, the error dialog is in english. How do I localize error-dialogs too? ...

Store value of ConfigurableDirectory in registry

Our installer allows the users to select where they want to install certain files, but we need to have a registry entry that points to that location. I am using the ConfigurableDirectory option of the Feature to do that. How can I get the directory that the user selected so I can write it to the registry? ...

Wix Local Settings\App Data Shortcut

How can I create a shortcut using Wix with a target of "%UserProfile%\Local Settings\Application Data\Foo\Logs"? <Shortcut Id="LogsStartMenuShortcut" Name="Logs" Target="%UserProfile%\Local Settings\Application Data\FalconMobileServer\" Icon="icon.ico"/> It doesn't like the % signs in the target. ...

Add a summary information to WiX generated MSI

How to add (or change a default values) a summary page information to a WiX-generated MSI file? Summary page is the tab page which is visible if you right click on the MSI file in the Windows Explorer and includes following text fields: Title, Subject, Author, Category, Keywords, Comments ...

What alternatives are there to ClickOnce?

I've used ClickOnce a lot over the years but have run up against a lot of it's limitations. What alternatives are there for web deployment? So far the only one I've been able to turn up is ClickThrough, which is part of WiX now on the back burner. Are there any others out there that people have had success with? ...

Integrating Wix with MSBuild

Hi, we are looking to automate an MSI generation for a product we are developing. Currently we have MSBuild building out the source to a network location, this is fine for testing but when it comes to releasing the software we will need to wrap it in an MSI. The software is all .Net bar 1 COM component that will need registered on eac...

WiX changes required to streamline .NET 3.5 installation for Vista (and above) machines.

We have decided to take the plunge and require that our users have .NET 3.5 installed before they can use our media center plug-in. I want to make sure the install experience is as smooth as possible and that our installer stays small. What changes do I need to make to my WiX file to support the following scenarios? Code examples woul...

Using WiX to create an IIS virtual directory

I'd ask this on the WiX mailing list, but it seems to be down. I have an application which is both a desktop app and a web app which runs locally. I've created a couple of basic WiX installers, but haven't yet used the IIS extension to create a virtual directory under IIS. I haven't been able to find a simple example of how to do this. ...

How do I provide a UI to allow a user to specify an install path using WiX?

Hi all, I need help with the question above. Also, how can I ensure that the application installs for all users using the machine? I haven't really used WiX before. ...

How can I set the WiX installer version to the curent build version?

Hi All, I wrote an application and its WiX installer and put it under version control using subversion. When the WiX installer builds I want its version number to be the current build version of the application. How do I accomplish this? I used c# to code the application. N.B. I am using ccnet to build this project ...

Defining Wix properties and values based on VS active configuration

How can I define Wix properties and values that change depending on which Visual Studio configuration is active? e.g. For our release build, var x = 1 and for the export build, var x = 2. ...

Modifying security on installed certificates

We are working on creating an installation package for a WCF-based web service. The service uses message-level encryption via an installed certificate. I am trying to come up with an automated way to both install the certificate and set its permissions. Currently, we are manually installing the certificate via the MMC snap-in. After it ...

How can I set an icon for an asscociated file using WiX?

Hi all, My application install file is being generated using WiX. In the WiX configuration I am associating a file type that works with the application. How can I associate an icon with this file type in the WiX configuration? ...

Automating wix small updates and minor upgrades

I just read the following in the wix tutorial For some strange reason, small updates and minor upgrades cannot be run simply by clicking on the .msi file—they give the error: "Another version of this product is already installed." We know, stupid... Anyway, you have to start it with the command: msiexec /i SampleUpgr...

How to find and delete registry entries in Wix

I am trying to write a Wix3 install for a visual studio add-in. I have it just about there, but I need reset the plugin by deleting a registry entry. Specifically any value starting with HKCU\Software\Microsoft\VisualStudio\8.0\PreloadAddinStateManaged\MyAddinName.Connect; How to a convince Wix to delete any such entries? ...

What is the best way to detect if Excel 2003 is installed?

I'm using Wix v3.0 (which boils down to an MSI installer) and I'm trying to author a condition to ensure that Excel 2003 is installed. What is the best (most robust) way to detect the presence of Excel 2003 on a machine? I've seen lots of different suggestions, but no definitive or authoritative answer. ...

Wix installer and disabled features

I'm using Wix3 beta with Feature Tree UI. I'm installing several assemblies as separate components into a custom subdirectory inside ProgramFiles, as well as into GAC. Additionally I would like to package DEBUG versions of the same assemblies as one component and let the user decide whether to install them or not. Now this feature with d...

MSI does not install all files when RemovePreviousVersion is run

I have a MSI build using WiX version 3. All previous installers for the product we are deploying worked fine with the configuration specified (that is: if previous version exists, remove, then install the new version) - however, the new MSIs we build don't install all files when it runs through the 'remove first' path. If we manually r...