wix

WiX wxs script with option to install on Selecting current-user or all-users install

I need a complete WiX script that can be build.It had Welcome EULA Install Folder Selecting current-user or all-users install Install Finish I hope I'm not asking for too much,I just need a single wxs file cause its for a simple application,also I need an option to install it for the current user or all user,I haven't been able to ...

How do I pass msiexec properties to a Wix C# custom action

I have an MSI being created with Wxs 3.0. My MSI references a C# custom action, written using the new C# Custom Action project (http://blogs.msdn.com/jasongin/archive/2008/05/23/custom-action-project-templates.aspx) I want to pass an argument to msiexec that gets routed to my custom action - eg: msiexec /i MyApp.msi ENVIRONMENT=TEST# ...

How to check for installed package in WiX 3.0 ?

I'd like to check that Crystal Reports Basic for Visual Studio 2008 is installed as a condition for my own installation package. I found this in the bootstrapper description for this product (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\product.xml) : <InstallChecks> <MsiProductCheck Property...

WiX condition properties passed from command line don't work?

I have a property for whether to install shortcuts that need to be passed via command line arguments. The conditions seem to work when I set the properties within the wxs file, but they seem to be ignored when setting them through the command line. From the log I see that they are being set: MSI (s) (24:C8) [11:01:32:234]: PROPERTY CH...

WIX and Certificates in IIS

I am trying to setup my install to have my site configured with its certificate using WIX. I can view the certificate in IIS and have access to the .cer file. That is about all I know about certificates, so please dumb down any answers. (ie I have no idea what my "BinaryKey" is). The certificate is already installed on the machine. ...

How to install Open Type Fonts using Wix

Hi All, I want to install a set of Open Type Fonts as part of my msi istallation, I am using Wix to create the msi. Any advice? ...

How to RunDll32 a file without installing it using WiX?

Hi, I'm trying to call RunDll32 on a DLL to install a private key to the machines key store at install time but I don't want to put the file down on disk. I currently have a custom action calls the RunDll and then deletes the file (after it has been installed obviously). Is there a way to do it without first installing the file? Th...

How to check registered DLLs in WiX

I am looking for a way to test if certain third party libraries with certain versions have been installed. I want to check against registered dlls, and dont know where they were installed to in the filesystem. In this example I am making sure they have Prior version 1.50 installed: <Property Id="PRIORGUID"> <RegistrySearch Id="priorgu...

Question regarding PermissionEx (WIX)

Hi, I am new to WIX. I am using util:PermissionEx for creating ACLs. I can successfully set rights like read, write, read & execute but I am unable to find any information about setting Modify Permission. I have tried using "Append" attribute to achieve this functionality (this seems to be the only attribute that may do the desired) ...

How to detect Media Services are installed on Windows server 2003?

I've been trying to find some information on this. So far I've been using the version Key presence to do it, is there a better way ? ...

How do I remove registry values from WIX installation using the Wix2

It seems the way to remove registry values on installation using WIX2 is with the 'Registry' node + 'remove' action: (See: Wix manual) <Registry Action='remove' Id="RemoveCrap1" Root="HKCU" Key="Software\Microsoft\Windows\ShellNoRoam\MUICache" Name="@C:\somepath\mydll.dll,-4" /> However, I've built the msi and run it, and ...

Is MSDeploy "friendly" enough, or can it be wrapped up in an MSI file

In your opinion, are MSDeploy packages a good option for giving to an end user to install a webapplication on their system. How does it compare with, say, the experience of using an MSI file to install a web app? Has anybody tried wrapping up an MSDeploy package inside an MSI package? Would it work? ...

Remove trailing slash from paths in WiX

I am using WiX to install a plugin for a software that I am not controlling. To install the plugin, I have to put the target folder in a registry key: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="LocalAppDataFolder"> <Directory Id="APPROOTFOLDER" Name="Foobar Plugin" /> </Directory> </Directory> ... <DirectoryRef...

WiX Show Dialog Based on Feature to be Installed

Let me be upfront I am novice with WiX. I have a custom dialog CustomSetupTypeDlg.wxs that changes the Typical/Custom/Complete to Desktop/Server/Suite. It sets WixUI_InstallMode to InstallDesktop, InstallServer and InstallSuite appropriately. I need to have the user browse for an installation folder depending upon what feature is to b...

WiX, Conditionally installing a file based on OS

In my WiX project I need to install different content for the same file name, based on the OS. If the OS is Windows 7 then the file needs to have content X. If the OS is Windows Vista the file needs to have content Y. I have thought through a few approaches: Define two components, one with the content for windows 7 and another ...

What method do you use to deploy ASP.Net applications to the wild?

Currently we deploy compiled ASP.Net applications by publishing the web site locally and emailing a zip file to the system administrator with a (usually) lengthy set of instructions for deployment. This is because the first time we deployed an ASP.Net application to a customer the dev and test IIS instance were the same, and we were una...

WiX, hudson, msbuild, and installing .NET via a boostrapper

Hi all, I want to have our WiX installer that is currently building on a build server via hudson calling msbuild scripts to incorporate the full .NET 3.5 sp1 installer executable. It turns out that our users can always get access to a CD, but not always to the internet, so we can't use the over-the-net installer. We can also require ...

Add user group to another user group with wix v3

I need to add group within a group e.g. COMPUTER\Users group to the "Backup Operators" group. Wix provides a way to add a user to a group using the GroupRef Element but does not seem to provide an obvious way to add a group Can this be done? If so how? ...

Creating a second service pack with WiX

How do you use WiX to create a second service pack for your app? I’ve released SP1, and that installer works fine. But I’m having some difficulty with SP2. My current WiX setup upgrades from the original (RTM) version correctly. But if I try to upgrade from SP1, the files simply don’t update, although it shows as SP2 in Add/Remove Pr...

uninstall using Wix on GINA causes login failure

Problem: After uninstalling a replacement GINA I get logged off immediately after logging on if I use the WIX 3.0 installer. I have a replacement login process (GINA) for windows XP. It consists of a single file placed in the system directory C:\windows\system32\NewGina.dll and a registry entry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsof...