wix3.8

Failed to install and start Windows services in WiX installer

元气小坏坏 提交于 2019-12-08 23:37:38
问题 I am creating an MSI package for installing and starting Windows services using WiX v3.8. The code as follows: <Component Id="INSTALLAPSSERVICE" Guid="991D5F82-0E77-4FE3-B1D8-4C941B84C7CD" Win64="yes"> <File Id="ApsService.exe" Name="ApsService.exe" Source="Resource\ApsService.exe" KeyPath="yes" Vital="yes" DiskId="1"></File> <ServiceInstall Id="ApsServiceInstaller" Name="ApsService" DisplayName="ApsService" Type="ownProcess" Start="auto" ErrorControl="normal" Description="A monitor service

How Wix bootstrapper uninstall msi package that has been upgraded

杀马特。学长 韩版系。学妹 提交于 2019-12-08 14:19:45
问题 I have create a wix bootstrapper which contains 2 msi (A and B) by using Wix 3.8 version and installed into the client machine. Then I have update the B.msi version to 1.0.0.1 or 1.0.1.0 (because some dlls being updated) and only launch the B.msi install into the same client machine also. However, when I try to uninstall the wix bootstrapper, it able to uninstall A.msi but the B.msi still at there because it being upgraded. 回答1: A WiX bundle installs a package manager. (The engine is called

Downgrade File in MajorUpgrade

大兔子大兔子 提交于 2019-12-08 03:31:12
问题 EDIT Please see the small repro at the bottom. I have the same issue as here: Windows installer deletes versioned file during product upgrade, instead of downgrading it File Table |File | Component_ | FileName | FileSize | Version| -----------|-------------------------------------------------------------------------------------------------------------------------------------------- old MSI |fileEcMWtDjRdBXxvVHY.WvW_XXJI4GZcq5iAszC_F3KIwk | Cj9pc73bMjDSVVGUqS81_nPSltSFuUEweshtzct2AHi4 |

Downgrade File in MajorUpgrade

≯℡__Kan透↙ 提交于 2019-12-06 10:03:51
EDIT Please see the small repro at the bottom. I have the same issue as here: Windows installer deletes versioned file during product upgrade, instead of downgrading it File Table |File | Component_ | FileName | FileSize | Version| -----------|-------------------------------------------------------------------------------------------------------------------------------------------- old MSI |fileEcMWtDjRdBXxvVHY.WvW_XXJI4GZcq5iAszC_F3KIwk | Cj9pc73bMjDSVVGUqS81_nPSltSFuUEweshtzct2AHi4 | bftlang.dll | 118784 | 2004.553.4453.1067 new MSI |fileYXlC3cFPRwh6qrJ5u..Ll052XUiMylAmA6a4BwMlz_o |

WiX Burn Bootstrapper Localization

♀尐吖头ヾ 提交于 2019-12-06 05:46:58
问题 I have a custom burn bootstrapper application with localization in german (BurnUI_de-DE.wxl) and english (BURNUI_en-US.wxl). At present burn automatically starts in english. I don't know how to change the UI language at run time. The UI parts are designed in MVVM pattern and have a language selection drop down. I have a variable to detect the systemlanguageID like this <Variable Name="INSTALL_LANG" bal:Overridable="yes" Type="string" Value=[SystemLanguageID]"/> Everything is in place. Now,

Is it possible to have advertised shortcuts and ProgId for a per user MSI?

旧时模样 提交于 2019-12-05 02:48:31
问题 I have a permachine MSI installer that I'm converting to a per user installer that is installing files to the LocalAppDataFolder. To get rid of ICE38 warnings I added a registry as the keypath. The problem is in one of my components I have a advertised shortcut and ProgId. I'm now getting: ICE19 - 'settings' advertises component: 'CMP_Rapid'. This component cannot be advertised because the KeyPath type disallows it ICE19 - Shortcut: 'SHC_RunConfigExe' advertises component: 'CMP_Rapid'. This

WiX Burn Bootstrapper Localization

寵の児 提交于 2019-12-04 11:23:18
I have a custom burn bootstrapper application with localization in german (BurnUI_de-DE.wxl) and english (BURNUI_en-US.wxl). At present burn automatically starts in english. I don't know how to change the UI language at run time. The UI parts are designed in MVVM pattern and have a language selection drop down. I have a variable to detect the systemlanguageID like this <Variable Name="INSTALL_LANG" bal:Overridable="yes" Type="string" Value=[SystemLanguageID]"/> Everything is in place. Now, how do I use this variable and instruct the burn engine to change the language? Furthermore, any best

CustomAction in Wix not executing

陌路散爱 提交于 2019-12-04 07:26:18
So I'm creating my first Wix project and I seem to be having a problem executing a custom action. I'm not sure that it's being included in the msi and I'm not quite sure what I'm doing wrong. The following is my Wix file: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="ExactaDynamicManifest" Language="1033" Version="1.0.0.0" Manufacturer="Bastian Software Solutions" UpgradeCode="274ff2d9-e291-4706-a8db-ce80ccd91538"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/> <MajorUpgrade

Restart Manager behavior with windows installer

自闭症网瘾萝莉.ら 提交于 2019-12-04 05:26:34
问题 With Windows installer 4.0 and Restart Manager, would it be safe to assume that "Restart Manager" would take care of shutting down applications and hence there is no need for any sort of custom actions to handle shutdown of processes holding files, meant to be updated? Are there any exceptions where "Restart Manager" might not shut down applications? Ofcourse, i understand that when a policy such as DisableAutomaticApplicationShutdown is enforced, Restart Manager is disabled. Does the process

Is it possible to have advertised shortcuts and ProgId for a per user MSI?

六眼飞鱼酱① 提交于 2019-12-03 20:12:25
I have a permachine MSI installer that I'm converting to a per user installer that is installing files to the LocalAppDataFolder. To get rid of ICE38 warnings I added a registry as the keypath. The problem is in one of my components I have a advertised shortcut and ProgId. I'm now getting: ICE19 - 'settings' advertises component: 'CMP_Rapid'. This component cannot be advertised because the KeyPath type disallows it ICE19 - Shortcut: 'SHC_RunConfigExe' advertises component: 'CMP_Rapid'. This component cannot be advertised because the KeyPath type disallows it. ICE50 - Component 'CMP_Rapid' has