wix3.11

Install two mutually-exclusive files with the same name to the same directory

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-25 00:19:04
问题 My program deploys with a configuration option that I've chosen to expose as a feature. This option can be one of two values. Each configuration changes a set of settings files. They have different input file names (for the sake of example, let's call it option1-config20-lv80.xml), but should be installed to the configuration directory as config20-lv80.xml. Each option has a prefix that should be stripped like that, which also means only one of these options can be selected for install at a

WixUIExtension.dll could not be loaded

折月煮酒 提交于 2020-01-06 04:14:25
问题 I'm trying to make a wix installer. for a web application. the following is my wsx v3.11 File <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="Guid" Name="TestInstaller" Language="1033" Version="1.0.0.0" Manufacturer="CompanyName" UpgradeCode="Guid1"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /

Restart Manager Dialog Localizing Partially for Wix Installer

雨燕双飞 提交于 2020-01-02 21:55:34
问题 We have a legacy InstallShield installer for a product, for which we are porting that product to wix installer. I observed a improper behavior of localization in Restart Manager dialog only during ARP uninstallation, for which only the description part is getting localized and below radio buttons text is not localized. Screenshot at the end. But in the InstallShield installer it was proper. I couldn't trace what was missing here in my wix installer for this inconsistent behavior. I tried

How to assign path value to Directory in WIX?

▼魔方 西西 提交于 2019-12-28 04:38:04
问题 In my WIX project I have a directory structure something like this: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="INSTALLLOCATION" Name="FolderName"> ... </Directory> <Directory Id="MYDIRECTORY" Name="SomeDifferentDirectory"> ... </Directory> </Directory> Here INSTALLLOCATION represents the installation folder of my program, but I want to additionally create another directory that is outside the installation directory, for example, D:\MyFolder1\MyFolder2 , from the example above

Wix toolset license agreement multi-languages issue

假如想象 提交于 2019-12-28 04:30:31
问题 I have created license.rtf file which has multiple languages and when I try to build my wix project it shows me this error : A string was provided with characters that are not available in the specified database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage

Wix Bootstrapper with large package

瘦欲@ 提交于 2019-12-24 21:16:05
问题 I am using Wix Toolset 3.11 and am attempting to create a Wix bootstrapper that is installing a very large prerequisite to my software - a legacy InstallShield executable with ~5000 associated files found in ~600 folders. I have compressed all these files into a single self-extracting archive that is approximately 3GB. I am getting the following error when attempting to build: light.exe(0,0): error LGHT0001: Arithmetic operation resulted in an overflow. Here is my current relevant XML in the

WIX: Duplicate symbol 'Property:WixUI_Mode' found, Custom Dialog creation

坚强是说给别人听的谎言 提交于 2019-12-24 08:27:36
问题 I have version 3.14 of Wix toolset and VS2017 and the following problem... when i'm trying get my own dialog order using predefined WixUI_Minimal. Same problem was in 3.11 toolset Step Create Wix project in VS2017 Copy WixUI_Minimal.wxs from .\wix3-develop\wix3-develop\src\ext\UIExtension\wixlib Rename file WixUI_Minimal.wxs to Custom_Minimal.wxs and include into project Change in Custom_Minimal.wxs: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <UI Id="Custom_Minimal">

Other installation In Progress Hanging my Wix Install

南笙酒味 提交于 2019-12-18 09:16:52
问题 I am creating a WIX installer bootstrapper (with DisplayInternalUI="yes" on the msipackage), but it hangs when there are other installations occurring at the same time. If i run the MSI file on its own using msiexec I get a windows installer error "Another installation is in progress" message (i.e 1500 MSI error message) - and I presume this is hanging my install. Therefore what I am doing is seeing if I can lock the _MSIExecute mutex just after the user presses the Install button (i.e.

How to start PowerShell in WiX with proper access to Windows Registry?

只谈情不闲聊 提交于 2019-12-12 13:33:21
问题 Update Interesting, if I run 32bit powershell to run the script, it gives me the same error. It looks like the 32bit powershell has no access to the 64 bit registry tree? I tried using WixQuietExec64 but it gave the same error. I also tried providing the full path of the powershell ( C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe ) to ensure the installer to launch the 64bit version, but that STILL gave the same error... It looks like this might be caused by the MSI installer

Wix : Disable control in built-in dialog

℡╲_俬逩灬. 提交于 2019-12-11 14:52:31
问题 I am using WiX and want to know if we can disable a control in a built-in dialog. My requirement is to disable the "Browse" button in the "CustomizeDlg". 回答1: This became too long for a comment. I might "evolve" it as an answer if we get more information about your scenario. Just a couple of heads-ups for you. If you are trying to prevent the setup from being installed to a non-standard path, then you should account for the fact that the installation directory can be set at the msiexec.exe