wix

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

How can I force reboot after installation completion? Burn/bootstrapper in WiX

依然范特西╮ 提交于 2020-12-26 07:43:50
问题 I have created a bundle using WIX. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle Name="ClientSoft" Version="1.0.0.0" Manufacturer="Tests" UpgradeCode="GUID"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /> <Chain> <MsiPackage SourceFile="file1.msi" Visible="yes"/> <MsiPackage SourceFile="file2.msi" Visible="yes"/> </Chain> </Bundle> </Wix> I am installing only MSI files. The bundle will be executed with

Light.exe error LGHT0307 'Microsoft.Tools.WindowsInstallerXml.AssemblyDefaultWixExtensionAttribute' was not defined in the assembly

元气小坏坏 提交于 2020-12-19 04:24:11
问题 I am creating a batch file using wix light and candle to create an msi for a project. I am receiving this error when i run the batch file: light.exe : error LGHT0307 : Either 'Microsoft.Tools.WindowsInstallerXml.AssemblyDefaultWixExtensionAttribute' was not defined in the assembly or the type defined in extension 'C:\Users\User1\Documents\testProj\CustomAction\bin\Debug\CustomAction.dll' could not be loaded. I have checked the filepath of the CustomAction.dll and verified it is correct. I

Session.Message not showing pop up message on product installation screen

本小妞迷上赌 提交于 2020-12-13 03:31:06
问题 I have a customActions class: public static ActionResult Register(Session session) { try { Do SOmething } catch (Exception ex) when (ExceptionManager.catchGenericExcetion(ex)) { var responseMessage =ex.ResponseMessage; if (responseMessage.Contains("Maximum apps created")) { session.Log("maximum limit reached"); using Record record = new Record(0); record[0] = "This is an error!Max apps reached"; session.Message(InstallMessage.Error, record); } return ActionResult.Failure; } return

Session.Message not showing pop up message on product installation screen

人走茶凉 提交于 2020-12-13 03:29:17
问题 I have a customActions class: public static ActionResult Register(Session session) { try { Do SOmething } catch (Exception ex) when (ExceptionManager.catchGenericExcetion(ex)) { var responseMessage =ex.ResponseMessage; if (responseMessage.Contains("Maximum apps created")) { session.Log("maximum limit reached"); using Record record = new Record(0); record[0] = "This is an error!Max apps reached"; session.Message(InstallMessage.Error, record); } return ActionResult.Failure; } return

Session.Message not showing pop up message on product installation screen

﹥>﹥吖頭↗ 提交于 2020-12-13 03:29:00
问题 I have a customActions class: public static ActionResult Register(Session session) { try { Do SOmething } catch (Exception ex) when (ExceptionManager.catchGenericExcetion(ex)) { var responseMessage =ex.ResponseMessage; if (responseMessage.Contains("Maximum apps created")) { session.Log("maximum limit reached"); using Record record = new Record(0); record[0] = "This is an error!Max apps reached"; session.Message(InstallMessage.Error, record); } return ActionResult.Failure; } return