wix3

Component GUID in Wix

I have a .net dll that is shared by 2 applications of mine, client and the server. I do not know where the files will be installed as user chooses the install and he may only install client or both client and server. I have component on both server and client wix and it contains only the shared assembly. Should I have same GUID for bo...

Wix: Merge Module with multiple wxs files

So, I am trying to create a merge module where I have multiple wxs files. I thought that everything was OK since the build of my project succeeded. Later, I realized that the path used in Source attribute for one of the secondary wxs files was completely wrong but the compiler didn't give the following error: *The system cannot find the...

Wix UI for Installing Web sites

Anyone have a WiX UI sequence for installing an ASP.Net Web site? Something that asks for a virtual dir, and app name similar to what the Visual Studio install projects do? ...

WiX set App_Data folder permission to modify for NetworkService

I'm struggling with this one. I need to set the permissions of the App_Data folder in an ASP.Net site to Modify for the NetworkService account via my Wix installer. I tried the following but with no luck. <CreateFolder> <util:PermissionEx GenericAll="yes" ChangePermission="yes" Delete="yes" DeleteChild="yes" User="[WIX_ACCOUNT_NE...

WIX/DTF - Dialog with a list, edit field and add/remove buttons on it

Anybody knows a good source to get an idea how to create this kind of a dialog? I'm well aware that I'll need to write some CA's for that but relatively new to WiX (used to work with InstallShield). TIA! ...

WiX "Major Upgrade" doesn't completely install app on downgrade

Currently all upgrades work fine whenever updating to a newer version number, however I'm getting an odd behavior when downgrading. It seems that it'll uninstall the existing version and then partially install the version that I'm trying to install, the main exe doesn't exist in the target location yet, but advertised shortcuts are crea...

TrustedInstaller is preventing registry writes to HKCR\DirectShow\MediaObjects\Categories

Hi, I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories\57f2db8b-e6bb-4513-9d43-dcd2a6593125, this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms). How am I suppose to install DMOs? There are plenty of p...

Remove a GUID="" component installed with WiX

I've messed up my WiX-based installer on multiple servers so that it no longer removes files or components (or even other features) during an uninstall. The MSI log shows that PreviouslyPinned=1 on all the components that won't uninstall. I don't have anything fancy going on like using SharedDll count or even shared components among dif...

WiX Standard Dialogues

Hi! Does anyone know if there are any WiX standard UI dialouges out there that you can use to integrate into your own WiX msi package? For example: Editing Connection Strings to database Editing paths to log files in web.config/app.config Setting up users for a Windows Service Setting up WCF Endpoint addresses and other parameters ...

Wix Components / Files ?

Should I wrap all the files I want to install in individual components? What is the advantage of putting several files in one component? ...

Wix Component with files in different directories

Can I create a component with Wix that has files in different directories/subdirectories? Or all the files of a component should be in the same directory? How do I set the XML for that? ...

How can I use standard WIX to create a streamline installer experience.

Hi guys, I have a question about WIX. Background: Currently, we have created a wizard by WIX UI. User should click next, next and next... But suddenly, we found that there's nothing should be interacted with user, user just need keep clicking next. So.. Here is the Desired Behavior: We automatically switch to next dialog page after all...

WIX ServiceInstall - setting the service to run under the NetworkService account

Hi All, This is my first post on StackOverflow so be gentle :) I am trying to create a WIX installer to install my windows service to run under the NetworkService account and getting an Insufficient Priviledges error during the installation. I found this post where someone seems to be experiencing the same problem but no real solution...

WiX 3: Using heat.exe to add bulk files to a new WiX project: HEAT5150

If this is a repeat question, please direct me to the existing solution. I wasn't able to find a matching query. We currently use InstallShield. I'm attempting to covert a project with 407 files to a WiX3 installation package. I tried using heat.exe to do some of the automation but I get the following warning for almost every file: c:...

Multiple SqlString actions at different sequences in Wix

I'd like to execute SQL strings at two different sequences in the InstallExecuteSequence. The problem is that it seems if you use the supplied <sql:SqlString \>, they get bundled into the 'InstallSqlData' action. Is there a way to specify that certain SqlString elements get executed at a different stage (so that I can run a separate cu...

In WiX files, what does Name="SourceDir" refer to?

WiX files always seem to include this line: <Directory Id="TARGETDIR" Name="SourceDir"> What is "SourceDir"? What is it used for? It's not a real directory name. Is it some kind of magical value? ...

Register ActiveX exe server using WiX

I have several VB6 ActiveX server exe files which need to be registered on install before they can be used. I have tried using Heat to extract the information but it only generates a file element. These files can be registered by calling them with the /regserver switch and unregister by calling them with the /unregserver switch. I unde...

WIX, Dot Net managed custom Action, dynamically fill combo box with SQL Server instances, MSI

In WIX am in-need of a dot net managed custom code to dynamically populate a combo box with the values of sql server instances in that network. I tried to google but got nothing worked Any help is greatly appreciated. ...

WiX: Define a File component that may not exist

I need to define a Wix file component that may not exist in certain circumstances. Is there any way to do this? Condition elements in Wix all seem to work at install time, and I need something that'll detect at compile time if a file is present and build the installer accordingly. ...

WIX 3.0 Generate Features from .NET projects.

I have a large .NET source tree (185 C# and VB projects, of which 60 are apps or websites) that i want to create a wix setup for. The general idea is to have 1 setup msi and to make each executable a feature, and to have each app be installed in a separate directory. like %progfiles%/company/app1 /app2 ...