wix3

WiX: Utilizing multiple cabs in a very large application

泪湿孤枕 提交于 2020-12-30 14:43:22
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

╄→尐↘猪︶ㄣ 提交于 2020-12-30 14:42:58
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

泪湿孤枕 提交于 2020-12-30 14:38:29
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: How to restart the explorer.exe immediately?

廉价感情. 提交于 2020-03-23 12:00:26
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

WiX: How to restart the explorer.exe immediately?

落爺英雄遲暮 提交于 2020-03-23 12:00:11
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

WiX: How do I prevent multiple copies of a bound file being added to an MSI?

一个人想着一个人 提交于 2020-02-04 05:40:48
问题 I have an installer, which links a wixlib. The wixlib installs an executable file to multiple directories. When I turn on the "Bind files into the library file" for the wixlib (using the -bf switch), lit.exe adds the executable to the wixlib. However, when I link the wixlib in the MSI, the executable is added multiple times to the MSI file, bloating the installer size. When I turn off "Bind files into the library file", the problem doesn't happen (but obviously, I need to setup the WiX

Stop setup error inside Custom Action With WIX installer

主宰稳场 提交于 2020-01-30 02:58:31
问题 Can i able to stop the setup if any error display inside CustomAction. As i can able display error message inside custom Action and it's dispaly the error message but as soon as i click on ok button my next UI sequence form is appearing.How i will force user to finish button? Adding my source code: <Binary Id="BIN_CustomAction" SourceFile="CustomAction.CA.dll" /> <CustomAction Id="CA_CheckList" BinaryKey="BIN_CustomAction" DllEntry="CA_CheckList" Execute="immediate" Impersonate="yes" Return=

Wix Toolset - Cannot create/install patch with fewer files/components than the original msi package

会有一股神秘感。 提交于 2020-01-25 07:31:26
问题 I have few locations on the field for which the initial .msi is same having about 2000 files (of multiple file types). However, I will have to send patches to few of the locations depending on the need so the patch should consist of fewer files (sometimes only 1 file as a fix). I am unable to create a patch (.msp) with just one single file or few files that I want to add/update but have to include all the original set of files as well. Can this be accomplished by any means? Please help !!

How to check for .net framework 4.7.1 with Wix 3.11

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-22 14:59:13
问题 I am trying to check for .net Version with Wix 3.11 via Condition. This works fine until 4.5 like this: <PropertyRef Id="NETFRAMEWORK45" /> <Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again."> <![CDATA[Installed OR NETFRAMEWORK45]]> </Condition> Checking for anything above 4.5 seems not to be possible - at least not with this mechanism. How can I do that? 回答1: That method (PropertyRef) is syntactical sugar. The

Remove file and folders on uninstall

谁说我不能喝 提交于 2020-01-13 05:16:08
问题 I am learning WIX to build installer for my app but I am stuck with removing files. My question is how can I remove files and folders on uninstall. When I click on remove button, all the files and folders which the installer created doesn't remove on uninstall. 回答1: The answer is in the comments above but for future reference there are two things to check first when files are not being removed: Ensure that you do not have Component/@Guid="". In Specifically setting to an empty string (Guid=""