wix3.5

Anybody have any success getting around IIS7 issues with WiX 3.5?

WiX 3.5 still is having issues with creating websites in IIS7. I can get around most of them, but I'm getting hosed by the inability to configure the website authentication mode. Traditionally, you would just use the WebDirProperties to, for instance, turn on windows authentication: <iis:WebDirProperties Id="OMFG3.5BUGSUX" WindowsAuth...

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... ...

Same file to two location in WIX 3.5

I am trying to add the same file to two diferent locations. I am deploying an SDK and want certain files to reside in .\Binaries* as well as .\Samples\SampleX* and also .\Editor* The Answer is probably going to be to put them in the GAC,but we realy want them on disk so they are disributable. ...

Environment variables get lost between MSBuild projects

Hi, I have a .NET solution containing following projects: web application (WAP) web deployment (WDP, .wdproj) wix setup (WIX, .wixproj) In the WDP I've used a custom MSBuild task (SetEnvVar) to set some env. variables for further use in the build process. After setting them I can use them without prob. in the WDP but in the WIX th...

DTF Custom Action reference in WiX not a valid WiX reference

I can build a managed custom action just fine using the DTF tools (I.E MakeSfxCA.exe) My post build event command line looks like this: "%WIX%SDK\MakeSfxCA.exe" "$(TargetDir)$(TargetName).CA.dll" "%WIX%SDK\x86\SfxCA.dll" "$(TargetDir)$(TargetName).dll" "$(TargetDir)Microsoft.Deployment.WindowsInstaller.dll" But wheneve...

WiX built-in WixUI Dialog Sets have horizontal lines that are just a little too short (picture included)

I am creating an installer for my program using WiX (Windows Installer XML). I have used the following code to begin using the built-in WixUI Dialog Sets: <Product ...> <UIRef Id="WixUI_FeatureTree" /> </Product> This, however, creates a dialog set with horizontal lines that are just a little bit too short on every dialog as shown h...

How to prevent from Wix removing registry entries on uninstall?

<RegistryKey Id="MyServerRegInstallDir" Root="HKLM" Key="Software\MyApp\Server" Action="create"> <RegistryValue Name="InstallDir" Type="string" Value="[INSTALLDIR]" /> <RegistryValue Name="DataDirectory" Type="string" Value="[MYAPPDATADIR]" /> </RegistryKey> The subkeys InstallDir and DataDirectory is deleted on uninstall....

Burn and Wix - Status Quo and Documentation

Hello, Does any body now the status of Burn in the WIX (Windows Installer XML) Project? The Blogs and Websites don't say anything about it since a couple of month...??? In the latest weekly release it is not included any more...??? As far as I understand it... Any help would be great! And if it is still on the road, a documentation wou...

How to add net.tcp to the "Enabled protocols" by using a WIX 3.5 project/setup?

We have a few MSI packages (generated by WIX) that install WCF services. Most of these services need net.tcp for their endpoint bindings. I'd like to make our deployment life easier and automate the process of adding net.tcp. I already know the WixIisExtension.dll and make use of its useful functions (create web site, virt. directory, e...

How to add "visual studio"-reference to WIX in Visual Studio 2010?

Hello, I've got a solution with many projects and WIX setup project. I'm using WIX 3.5. One project (that is referenced from WIX setup project) contains a reference (an ordinary reference in VS) to: C:\Program Files\WPF Toolkit\v3.5.50211.1\WPFToolkit.dll (simply: setup project --- reference --> another project in solution --- ref...

WIX c# CustomAction, what am I doing wrong?

I'm using VS2010 and WIX 3.5. 1) I created WIX Setup Project. 2) Then I added to the solution C# custom action project and called it 'CustomActions' namespace CustomActions { public static class CustomActions { [CustomAction] public static ActionResult CustomAction1(Session session) { Debugger.Break()...

How to debug FileSource attribute of Directory in WiX?

Hello, I have got a setup project in WiX in Visual Studio 2010 and in .wxs file I've got: <Directory Id="SOLVERSLOCATION" Name="Solvers" FileSource="$(var.Main.TargetDir)Solvers"> <Component Id="CmpntSolvers" Guid="13C2AB0B-1AC1-4075-AC75-2716FE37F24A"> <CreateFolder/> </Component> </Directory> ...

How do I fix a HEAT5301 error with WiX 3.5.1811.0

My project, which used to build fine with WiX 3.0, now fails with heat.exe : error HEAT5301: Invalid project output group: Binaries3bSources3bSatellites%3bDocuments. I found this ProjectOutputGroup in the wix.targets file but it looks like this: <CreateItem Include="@(_MSBuildProjectReferenceExistent)" Condition=" '%(_MSBui...

Wix: Copy files in Custom Action to Programm Directory ( Windows 7)

Hi, in our project we want to copy 2 files, which are not included in the *.msi file. Therefore i created a managed custom action which copies the files using File.Copy(). The files should be copied to my installation dir, which is somewhere under C:\Program Files\... With Windows XP everything works fine. But in Windows 7 their is a p...

WiX project error when opening up solution in Visual Studio

I have a solution with a WiX project in it. Everytime I open it I get an error and then the WiX project is displayed as unavailable. The error is: Setup\Setup.wixproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component. If I right click on the project and then select Reload Project it works fine. I've t...

WiX service installer and custom install events...

I have an existing (C# based) windows service that is derived from the Installer class and I currently use the MS supplied, command line InstallUtil to install it and uninstall it. This works fine and as part of my system I have attached event handlers to the AfterUninstallEventHandler and CommittedEventHandler events. In my case I sim...

Wix Woes: Chaining MSIs, but installing conditionally?

I am new to WiX (and installers in general), and am finding the whole process quite overwhelming. What I want to do is this: I have a very large application with a working installer currently (VS2008 Setup Project) The application depends on SQL Server Express 2008 R2 to be installed, but if the machine already has a full version of SQ...

How to reuse a Wix custom action?

I have been experimenting with Custom Actions in order to encrypt part of the App.Config file on installation (as per how-do-i-encrypt-app-config-file-sections-during-install-with-wix) I have the basic CA process working but I am missing something in my understanding of Wix/msi installations. My Wix configuration for the CA looks a bit...

How do I upgrade a database using WIX?

I have a Visual Studio 2010 database project and a WIX installer. What is the best way to go about installing that database to a server using that WIX installer? How would I set that up? I'm having a hard time with WIX as it is, so hopefully somebody has some insight into how to deal with this. ...

Cleaning a VS2010 WiX Installer project

I have a VS2010 solution with a WiX 3.5 (beta) Votive project, (as well as all the projects for the program that I am installing). When I clean the VS solution all of the program projects get properly cleaned, but the WiX project does not - the wixobj, wixpdb and msi files are not deleted. So my questions are: Is what I am seeing expec...