I want to include some dynamic part in the filename of the msi file my wix projects produce. This dynamic part should be controlled by variables which are part of my wix project and are declared like this:
<?define ProductVersion="7.1.0.1" ?>
Does anybody know about a way of sending that value of that wix variable to the linker to use...
This should be easy, but after several hours I’m coming up blank. ;(
I do a Registry Search (actually 2), because I need to check for either of 2 previous installs and then install my new files to the location of the prior install that was found.
Only one of these prior installs will actually exist.
I then need to install my new f...
Hi,
We have a bit of an odd setup, which comes from the fact we provide hosted installations of our software to our clients, and each client may be on a different version of our software and be running with a seperate database.
We also allow clients (under a different licensing scheme) to install our software locally at their premises...
The Wix WebSite action has to be specified outside of a Component if you want to safely use the Default Web Site (by safely I mean the installer won't remove the default site on uninstall).
<Fragment>
<iis:WebSite Id="DefaultWebSite" Description="Default Web Site" Directory="INSTALLDIR">
<iis:WebAddress Id="AllUnassigned" Po...
Good Afternoon,
I am trying to find a way to create an entry point for my C# dll. I am aware of how to call other dlls in c# but cannot find create one. I need this in order to call it in my WiX installer as a customer action. Any help that can be provided will be appreciated.
...
I am creating an upgradable installer using WiX that needs to remove the existing program entirely before installing the new version. I have the files upgrading and adding that the newer version should be but I'm left with 2 instances of the Program in the Add/Remove program screen. Below is an example of how I am trying to remove everyt...
I'm making use of the Wix standard dialogs. How do I customise the text of the messages displayed?
For example, in the License Agreement page, I want to change the text "I accept the terms in the License Agreement" to "I acknowledge and accept the terms of the above agreement."
Related:
How can I set at runtime the text to be displa...
I'm creating a Windows Installer setup file using Wix and the standard UI library. I've supplied my own RTF file for the license agreement, but tables are not displaying correctly. Are tables supported in this case, and if so, what do I need to do to get them to display?
Basically, the cell border is only being drawn around the first li...
I'm doing an installer for an software used for debugging embedded ARM cores (OpenOCD) and this installer automatically removes the previous versions - that's simple. However, sometimes that would be desirable to have more than just one version installed (each version has it's own folder, so there's no conflict here) due to various (in-)...
Good afternoon,
In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this.
<util:CloseApplication Id="CloseServe" CloseMessage="yes" Target="server.exe" ElevatedCloseMessage="yes" RebootPrompt="no"/>
<InstallExecuteSeq...
Hi,
I have created a Wix installer and have packed it in a bootstrap program.
When I execute the bootstrap program it creates the following entries in the registry :
When I run the bootstrap program it installs well and when I run the Add/Remove programs it shows "Change" button and "Repair" button. My requirement is that
I want t...
hi i'm trying make a setup msi for my application with wix v3
I have a problem about this task;
I need a user input that will be stored in my application's config file
(for example i need a dialog for sql connection string and the user input will be written in application config file.)
I tried to google but got nothing worked
Any help ...
Does anyone know if/how I can stop a WiX-based MSI installer from proceeding to the next dialog when a certain condition is met? I have the following code:
<Dialog Id="SelectIISApplicationPoolUserDialog" Width="370" Height="270" Title="$(var.ApplicationPoolUserDialogTitle)">
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="...
I've been given a bug to fix an installer issue. Unfortunately, I know nothing about WIX, so I am not exactly where to start.
The WXS file is adding the necessary MimeMap, but when QA installed our app on Windows 2003 with IIS6, the MIME type was not set.
I am not sure where to start. We are using Wix 3.0. Here is the XML:
<iis:Web...
I have the below function as a part of my psake build. When the build is executing Candle.exe throws this error:
candle.exe : warning CNDL1098: 'ext .\Build\Packages\WixWeb\bin\WixIIsExtension.dll' is not a valid command line argument.
I think this is a problem with the way I am passing command line args but I cannot for the life of m...
I am just getting started with Wix. I see there there a several libraries included with the default Wix install. I also see that users can create their own libraries(wixlibs). Are there any 3rd party Wix libraries out there that add additional functionality to Wix that may not come packaged with the default install?
...
Is it possible to know if an installer is installing/updating/removing in a Custom Action?
We've made a Custom Action dll in C# and it would be interesting if we could detect what the installer is doing. In the WiX xml documents, you could use 'Not Installed', 'REMOVE', etc (see this nice overview). But is it possible to access these va...
Hi,
Whenever an msi is installed the Remove button in the Control Panel -> Add/Remove programs calls the "msiexec /x {GUID}".
Can I disable this and make my Program.exe located in C:\Program Files to be called instead ?
I have tried changing the UninstallString in the registry Microsoft->Windows->Uninstall. Did not work for me. (Maybe...
We use manifest files to do registration-free COM, as I've also elaborated on in this other question.
Now we're trying to use registration-free COM with an application that supports plug-ins. The plug-ins are OCX files that can be added to the main application's folder after the main application is already installed.
However, that mea...
Hi, I'm trying to use heat on a web .csproj, and then use candle on the output. So far, I've done:
heat project "StatusReport Web.csproj" -pog:Binaries pog:Content -ag -out StatusReport.wxs
And then:
candle StatusReport.wxs
However, upon the latter, I get:
Error CNDL0150: Undefined preprocessor variable '$(var.StatusReport Web.Ta...