135 questions
1
vote
0
answers
98
views
ComPlus Applications no longer installing after upgrading from WiX v3 to v5
I have an installer that installs 13 ComPlus applications that works fine, and has worked for the last 8 or so years while on WiX v3. After running the update process to WiX v5 using HeatWave and ...
0
votes
1
answer
636
views
Migration from WiX 3 to Wix 4 (4.0.0.5918) now generating an error in Candle.exe (CNDL0200)
I'm a very lightweight user of WiX and could readily stay on V3 was it not for the fact that I believe it requires .net 3.5 and that seems to not to want to install on my new Win 10 development ...
1
vote
1
answer
2k
views
How to change directory in wxs file where all dll and other files will be installed?
I am quite new in creating setup project using .wxs file in .NET project. I knew that by default when you run MSI file it creates folder with this project and it's reference files (dll, exe, etc...) ...
0
votes
1
answer
2k
views
Setup project in Visual Studio 2017
I have migrated a windows service developed in .Net 2.0 using VS 2010 to .Net 4.7.2 on VS 2017. There is a setup project which failed migration because VS 2017 does not support this project type. As ...
0
votes
1
answer
144
views
Wix Toolset: How to store file in a table in custom wix extension
I am trying to create a custom Wix Extension which copies a file with come preparations.
How can I achieve the similar procedure to File Element when all you need is specify file source and the file ...
0
votes
0
answers
86
views
Is there any documentation on wix extension class
can anyone point me to documentation/help on wix extension classes. I have look at the simple pre-processor example on the wix site, but I am looking for information on how to exend light.exe not just ...
2
votes
1
answer
766
views
How can I optionally install IIS virtual directory with WiX Toolset?
I'm trying to optionally install a virtual directory if IIS is installed. If it's not installed, then just skip it.
I've got this check:
<Fragment>
<Property Id="IIS_MAJOR_VERSION">
...
2
votes
1
answer
1k
views
Uninstall MSI package when uninstalling from Bootstrapper
I have a Bootstrapper that will install an MSI package. But when uninstalling the Bootstrapper, it won't uninstall the MSI which was previously installed by Bootstrapper.
How can I uninstall the MSI ...
1
vote
0
answers
48
views
how to create shortcut for service application(its not stand alone application)?
I want to create shortcut to service based application which should not be appear in shortcuts because it is my service and not a stand alone so that it will create shortcut test windows7 client logo ...
4
votes
1
answer
4k
views
WiX MSI: How to put print.out or echo statements in wxs file?
I want to add some print.out (or ECHO) statements to WXS. How could I do this?
0
votes
1
answer
254
views
Bug in Wix? Is ps:SnapIn writing to the wrong registry key with PowerShell 3.0?
We have a PowerShell snapin that requires version 3.0 of PowerShell to function. So we used the following file element in a WiX (3.8) file:
<File Id="MySnapin.dll"
Name="...
2
votes
1
answer
5k
views
Wix detect .NET 4.5.2 in bundle
I am trying to make an installer bundle for .NET 4.5.2.
I followed these instructions, and it works fine for that .NET version.
But when I change the version, as below, it does not detect the ...
1
vote
2
answers
576
views
How can I block a port using Wix?
I've got an installer that installs the oracle XE database. Recently, I've been asked to close/block port 1521 programmatically during installation. My app is installed using Wix 3.8. I've seen the ...
0
votes
2
answers
2k
views
How do I set ProgramFilesFolder subfolder permissions in Wix?
I am installing an application to the Program Files folder using WiX. I am using util:XmlFile to update the connectionStrings element but I am getting an error "Failed to open XML file C:\Program ...
2
votes
2
answers
788
views
Storing user-entered data from a Wix installer
I am creating a Wix installer and I would like to store some values that are set by the user during the installation process in such a way that I can read them at a later point in time. Obviously I ...
1
vote
1
answer
2k
views
How to select features from an MsiPackage contained in a Bundle element?
I have a exe I created using WiX Burn v3.8. Let's call it Bundle.exe. In this bundle, I have an MSI with 3 features, two are nested under the one. I want to call Bundle.exe from the command line and ...
2
votes
1
answer
3k
views
Trouble checking for .NET 4.0 framework in WIX Bootstrapper
I have a WIX bootstrapper application that installs a Windows Service (MSI) and an EXE. I've been trying to check for the presence of the .NET 4.0 framework as a prerequisite for the windows service ...
0
votes
1
answer
2k
views
How to include heat generated wsx files in a smart way in wix installer?
It's a WPF application, with Wix Installer.
I have resourceses folder and I want to include these files in the installer to put next to the executable. I solved generating a resources.wxs file with ...
3
votes
2
answers
1k
views
File missing after upgrade
I have installation of version 1.1. I created upgrade with version 1.2.
In both products I have 2 files:
<Component Win64="yes" Id="cmpFILE1" Guid="*">
<File Id="filFILE1" KeyPath="yes"...
1
vote
1
answer
296
views
Create a Single MSI installer
I have developed a application which is in a 32-bit and 64-bit format. These applications require corresponding registry entries as well. I am delivering these as separate packages for 32-bit and 64-...
1
vote
1
answer
1k
views
Add namespace in xpath in XmlFile Element (Wix Util Extension)
The ElementPath attribute of XmlFile element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath?
1
vote
1
answer
2k
views
WIX detect .net 4.5 not finding PropertyRef NETFRAMEWORK45 set?
I put this in as a comment at
How can I check .NET framework 4.5 prerequestics in WiX
But I think I needed to ask this out as a separate question. I am not getting my install to catch that .NET 4.5 ...
3
votes
2
answers
6k
views
How to insert a custom dialog before welcomeDlg without messing up the UI-Sequence
i want to create a custom dialog, scheduled before the welcome dialog. The custom dialog has a bitmap-control, some text-controls and two buttons for cancel (SpawnDialog->CancelDlg) and next (...
25
votes
1
answer
19k
views
The Fragment element contains an unhandled extension element 'util:RegistrySearch'
Learning how to create Wix Booloader so that I can install .NET framework with my msi install package. Anyway I am stuck with an error for an unhandled extension element. Code is below
<?xml ...
2
votes
1
answer
1k
views
Is it possible to have multiple condition (bal) for a wix bundle?
I'm trying to manage .Net framework installation for different windows versions in an unique bundle.
For that, I want to have 2 different conditions with 2 specific messages which is more helpful ...