I'm using WiX, and would like to know the .wxs necessary to take a file and install it to every available sub-directory of a particular location. This could mean 0 or more final installation locations, determined at install time based on the currently existing directory structure. For example, if I started the install with:
\target
\su...
When using heat (from Wix 3.0.4805.0) to generate Wix documents off of a typelib that's generated by Visual Studio, I have been getting an error. A window pops up that says:
'heat.exe - Bad Image'
The application or DLL c:\path\to\file.tlb is not a valid Windows image. Please check this against your installation diskette.
Bu...
I'm creating an installer msi file using the Windows Installer XML toolkit. When installing the created msi file, a shortcut placed under the ProgramMenuFolder folder results in a shortcut for the Administrator user only. How do I let the installer create a shortcut under the All Users profile, so that everyone on the machine has the sho...
I'd like to detect in WiX 3 (preferably via a Condition) whether a particular assembly is in the GAC. I know the name, version, and public key token of said assembly. Is there any built in way to do this, or will I have to write a CustomAction to do it? And how would I go about setting up that CustomAction? (This would be before the inst...
I have a Visual FoxPro installer (exe) that I want to launch using a WiX custom action. However, I think the VFP installer is a wrapper for an MSI as I'm getting "Error 1500" which seems to denote I'm trying to run two installers at the same time.
How can I bootstrap this third party MSI from my own MSI?
I'm currently launching the VFP...
Hi all,
I have an installer of an application that needs to install over any existing version, regardless of version number.
Instead, I've got an installer that constantly says that I need to go to add/remove programs. That's very frustrating behavior for my testers, since it just slows them down for no real reason in their minds-- th...
I'm installing a large app, and part of it is a custom written tool called "DbUpdateManager" to mass execute SQL scripts against our target database.
Right now, the WiX 2.x install works - but it has one flaw: during install, I also install a couple of Windows services, which can be optionally started right away. Those however will fail...
I'm using WiX to create an installer for a windows service. It's desirable that the name of service that gets installed and displayed in Services is configurable at install time.
For example, this is what I'm thinking (wix xml snip):
<ServiceInstall
Id="MyServiceInstaller"
Name="NAME_PASSED_FROM_DIALOG"
Type="ownProcess...
How can I customize the text in WIX installation dialog.
The requirement is to have dialog while installing like below:
+-----------------------------------------------------------------+
| Cotoso ABC Product |
+-----------------------------------------------------------------+
| ...
I am creating a UI for a WiX installer, and I have included WixUI_Common. I have searched around, but I cannot seem to find a comprehensive list of the dialogs that are provided by WiX.
Please list any dialogs you know about and what the dialogs do.
Update: Thanks to CheGueVerra's answer, I was able to find the wxs files defining all...
I am writing an application that needs to be installed on a large number of desktops and also needs to update itself. We are looking at WIX for creating the installation. I have used ClickOnce and it is not a good solution for this install. WIX seems to fit, but there is no good process for auto update that I have found.
I have looke...
I have a plain old Windows Forms application with a WiX installer, and it is installed for all users to the Program Files folder as you would expect. The application hosts add-ins using the System.AddIn framework.
Because the System.AddIn framework needs to write to some of the add-in pipeline folders (AddIns, AddInSideAdapters, AddInVi...
Microsoft is promoting .Net for over 8 years now.
.Net assemblies are versioned using 4# versioning like major.minor[.build[.revision]]. Ref here
While, Windows Installer still suggests 3# versioning like major.minor.build. Ref here
With the difference in versioning in two systems. It is not straight to map .Net assemblies version to...
I've come across several sources stating to split up a WiX installation file into the separate parts (variables, components, etc.) using include files (.wxi). Makes perfect sense to me, so I took the <components> nodes out of the .wxs file and put them in a separate file, but when I attempt to compile the project in Visual Studio 2008 I...
I'm writing a few WiX files today and there's a lot of repetitve typing involved, so it looks to me like Resharper's Live Templates would be very useful here. Does anyone know of any?
I know it's not too hard to write new Live Templates so I may end up answering my own question in a couple of hours, but if anyone can point me to pre-exi...
I've created an MSI file with WiX. The source WiX file contains the version information like this:
<Product Id="..."
Name="..."
Language="1033"
Version="1.0.0.1"
Manufacturer="..."
UpgradeCode="...">
The MSI file seem to work OK: it installs, it uninstalls, it upgrades when I increase the version number, etc.
How...
I have a WIX file that I need to modify using MSBuild. It starts like this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
<?--... Removed Params ...-->
<?define ProductVersion = "1.0.1"?>
<?--... Removed Params ......
The Question and Answer can be found at: http://stackoverflow.com/questions/822104/xpath-in-msbuild-sdc-and-wix
Vaccano
...
Fresh Asking of this Question->
I have a WIX file that I need to modify using MSBuild. It starts like this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
<?--... Various Removed Params ...-->
<Product Id='$(var.Produ...
I made the installer for certificates but it couldn't execute because it was returning error number 26352. I discovered it is because I am installing same certificate twice but on different store locations (current user and local machine).
...