wix

wix installer ice03 Invalid Language Id

萝らか妹 提交于 2020-01-09 08:18:29
问题 I have a night build which runs on different machine then mine on my machine i can compile the installer and use the msi without a problem however on the night build machine i get C:\Builds\73\Tools\AppInstaller\src\AppInstaller\APPExportReleaseDir.wxs (693): ICE03: Invalid Language Id; Table: File, Column: Language, Key(s): filAAED19CB2C0BBE304CDB8EB1AAF7473F The file which is showing that is system.windows.interactivity.xml Can you please explain what are ICE03 errors and how can I fix this

Wix upgrade goes into maintenance mode and never does upgrade

限于喜欢 提交于 2020-01-09 05:33:10
问题 I am running Wix 3.11.1 and when trying to do an upgrade the upgrade goes into maintenance mode and leaves two entries in Add/Remove programs list. A short version of Product.wxs has the following: <Product Id="*" Name="Boo" Language="1033" Version="1.1.0.0" Manufacturer="Foo" UpgradeCode="PUT-GUID-HERE"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/> <MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" DowngradeErrorMessage="!(loc

Run Wix Custom action only during uninstall and not during Major upgrade

…衆ロ難τιáo~ 提交于 2020-01-09 03:56:26
问题 I am trying to delete a file using a custom action scheduled between InstallInitialise and InstallFinalize standard action. MajorUpgrade element is used to design upgrades. However, I want the custom action to run only during uninstall and not during the Major upgrade(this includes uninstall and install). I have used the following conditions to execute the CUstom action: (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") REMOVE AND NOT WIX_UPGRADE_DETECTED Is there a way to uniquely detect the

Custom icon for ClickOnce application in 'Add or Remove Programs'

…衆ロ難τιáo~ 提交于 2020-01-09 03:41:06
问题 A ClickOnce application created using Mage is not showing the icon that was specified in for the Mage command-line parameter in control panel Add or Remove Programs . I read some blogs, like: Application icon is not displayed in Add/Remove Programs dialog Missing Icon in Add/Remove Programs for ClickOnce Application How can I achieve this without editing registry keys? Is it possible? 回答1: There's no way to do this without editing the registry, but you can do it programmatically. You have to

Wix: How to set permissions for folder and all sub folders

天涯浪子 提交于 2020-01-09 02:15:26
问题 I know how to set the permissions for a folder: <DirectoryRef Id="ProgramFilesFolder"> <Directory Id="PHPFolder" Name="PHP"> <Component Id="PHP_comp" DiskId="1" Guid="*"> <CreateFolder> <Permission User="Everyone" GenericAll="yes" /> </CreateFolder> However I need the permissions to be applied to all subfolders as well. Is this possible with out listing all the folders? 回答1: First of all, I would recommend you using PermissionEx instead. It is a standard WiX extension and it has one really

.NET Bootstrap Installation with an single MSI possible?

半世苍凉 提交于 2020-01-07 06:56:11
问题 I've written an Installer for installing my .NET application. Now I'd like to pre install .NET Framework if necessary. That is not the big deal. The big deal is, there have to be a single MSI without an EXE as a bootstrapper. Is this possible? 回答1: Windows Installer has a couple of mutexs at play here that prevent this. The first enforces one execute sequence per machine and the second enforces one UI sequence per process. It is technically possible to have a custom action in the UI sequence

Replicate Behavior of a Batch File in a Custom Action

旧时模样 提交于 2020-01-07 03:40:55
问题 I'm creating a wix installer at work, and I need to be able to replicate the behavior of this batch file in a custom action: start /d "C:\Program Files (x86)\Remindex" INSTSRV.EXE RemindexNP "C:\Program Files (x86)\Remindex\SRVANY.EXE" I am trying to create a service using a normal windows application, which SRVANY.EXE can do. This batch file runs fine normally, but I can't seem to get a custom action to do the same thing. I have tried this: <CustomAction Id="RunNP" FileKey="FILE

how to compare version variables in DetectCondition in burn (wix)

怎甘沉沦 提交于 2020-01-07 03:12:08
问题 Here's my Fragment <Fragment> <Variable Name="Hasp_BundleVersion" Value="7.54.8889.1" /> <Variable Name="Hasp_IsInstalled" /> <Variable Name="Hasp_InstalledVersion" /> <util:RegistrySearch Id="Hasp_IsInstalled" Variable="Hasp_IsInstalled" Root="HKLM" Key="SOFTWARE\Aladdin Knowledge Systems\HASP\Driver\Installer" Value="Version" Result="exists" /> <util:RegistrySearch Condition="Hasp_IsInstalled" After="Hasp_IsInstalled" Variable="Hasp_InstalledVersion" Root="HKLM" Key="SOFTWARE\Aladdin

Move from manual component creation to harvesting with the HeatDirectory task

痞子三分冷 提交于 2020-01-06 13:13:40
问题 I am using WiX 3.8 to build a project which installs a product. The installer is basically done. One of the programmes which gets installed by the package is relying on dlls by a third party which get updated frequently. Idiotically the version number of the dlls change on a regular basis. When first writing the installer project I did not consider inculding support for changing file names and wrote every component manually. This behaviour should be changed in the future. If I understand

Wix Toolset - Setting a Property to User Profile Folder path and Program Files

房东的猫 提交于 2020-01-06 07:29:11
问题 I am using Properties to set the values of Registry entries. This is so that on install the first time I have a default value and then on upgrade the current registry value is used. I need to have a property that sets the path to the user's local folder and to the programs folder. I know the below code is wrong but how do I do it. I think at least I want to do a Type 51 custom action but don't understand the documentation. I believe there are three relevant parts <InstallExecuteSequence>