1 <?xml version="1.0" encoding="utf-8"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
3 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
4 <Product Id="PRODUCT_GUID" Name="APPLICATION_NAME"
5 Language="1033" Version="APPLICATION_VERSION"
6 Manufacturer="APPLICATION_VENDOR"
7 UpgradeCode="PRODUCT_UPGRADE_GUID">
8 <Package Description="APPLICATION_DESCRIPTION" Comments="None"
9 InstallerVersion="200" Compressed="yes"
10 InstallScope="INSTALL_SCOPE" Platform="PLATFORM"/>
11 <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
12 UPGRADE_BLOCK
13
14 <!-- We use RemoveFolderEx to ensure application folder is fully
15 removed on uninstall. Including files created outside of MSI
16 after application had been installed (e.g. on AU or user state).
17
18 Hovewer, RemoveFolderEx is only available in WiX 3.6,
19 we will comment it out if we running older WiX.
20
21 RemoveFolderEx requires that we "remember" the path for uninstall.
22 Read the path value and set the APPLICATIONFOLDER property with the value.
23 -->
24 <Property Id="APPLICATIONFOLDER">
25 <RegistrySearch Key="SOFTWARE\APPLICATION_VENDOR\APPLICATION_NAME"
26 Root="REGISTRY_ROOT" Type="raw"
27 Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
28 </Property>
|
1 <?xml version="1.0" encoding="utf-8"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
3 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
4 <Product Id="PRODUCT_GUID" Name="APPLICATION_NAME"
5 Language="1033" Version="APPLICATION_VERSION"
6 Manufacturer="APPLICATION_VENDOR"
7 UpgradeCode="PRODUCT_UPGRADE_GUID">
8 <Package Description="APPLICATION_DESCRIPTION"
9 Manufacturer="APPLICATION_VENDOR"
10 InstallerVersion="200" Compressed="yes"
11 InstallScope="INSTALL_SCOPE" Platform="PLATFORM"/>
12 <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
13 UPGRADE_BLOCK
14
15 <!-- We use RemoveFolderEx to ensure application folder is fully
16 removed on uninstall. Including files created outside of MSI
17 after application had been installed (e.g. on AU or user state).
18
19 Hovewer, RemoveFolderEx is only available in WiX 3.6,
20 we will comment it out if we running older WiX.
21
22 RemoveFolderEx requires that we "remember" the path for uninstall.
23 Read the path value and set the APPLICATIONFOLDER property with the value.
24 -->
25 <Property Id="APPLICATIONFOLDER">
26 <RegistrySearch Key="SOFTWARE\APPLICATION_VENDOR\APPLICATION_NAME"
27 Root="REGISTRY_ROOT" Type="raw"
28 Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
29 </Property>
|