2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									<?include Includes.wxi?>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-11 11:51:35 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									<Package Name="$(var.Product)" Version="$(var.Version)" Manufacturer="$(var.Manufacturer)" Language="!(loc.ProductLanguage)" UpgradeCode="$(var.UpgradeCode)" Scope="perMachine">
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<SummaryInformation Keywords="Installer" Description="$(var.Description)" Codepage="!(loc.SummaryCodepage)" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<!--<PropertyRef Id="UpgradesFile" />-->
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-12 17:42:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<PropertyRef Id="AddRemovePropertiesFile" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" CompressionLevel="high" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<Icon Id="AppIcon" SourceFile="Resources\icon.ico" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<!-- User Interface -->
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-26 13:49:53 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												Refact/msi more install options (#8949)
* refact: msi, more install options
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, reg values on upgrade/modify
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, silent repair/upgrade, RemoveInstallFolder()
Signed-off-by: fufesou <linlong1266@gmail.com>
* Options support both 1/0 and Y/N
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, preprocess, open file with explicit encoding
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, read previous options
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: mis, install folder, read previous option
Signed-off-by: fufesou <linlong1266@gmail.com>
* Comment on Control -> Checkbox
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: UI, checkbox options, read previous values
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts options, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* Better shortcuts property conditions
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
											
										 
										
											2024-08-05 17:49:48 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										<ui:WixUI Id="UI_MyInstallDialog" InstallDirectory="INSTALLFOLDER_INNER" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<UIRef Id="WixUI_ErrorProgressText" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<InstallUISequence>
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												Refact/msi more install options (#8949)
* refact: msi, more install options
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, reg values on upgrade/modify
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, silent repair/upgrade, RemoveInstallFolder()
Signed-off-by: fufesou <linlong1266@gmail.com>
* Options support both 1/0 and Y/N
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, preprocess, open file with explicit encoding
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, read previous options
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: mis, install folder, read previous option
Signed-off-by: fufesou <linlong1266@gmail.com>
* Comment on Control -> Checkbox
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: UI, checkbox options, read previous values
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts options, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* Better shortcuts property conditions
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
											
										 
										
											2024-08-05 17:49:48 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<Show Dialog="UI_AnotherAppDialog" Before="WelcomeDlg" Condition="Not installed AND APP_WINDOWS_INSTALLER="#0""/>
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										</InstallUISequence>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<InstallExecuteSequence>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<InstallExecute After="RemoveExistingProducts" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-11 23:27:09 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<!--Only do InstallValidate if is not Uninstall-->
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-12 17:42:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<!--<InstallValidate Condition="NOT (Installed AND REMOVE AND NOT UPGRADINGPRODUCTCODE )" />-->
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<!--Only do InstallValidate if is Install-->
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<InstallValidate Condition="NOT Installed" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										</InstallExecuteSequence>
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-12 17:42:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-11 11:51:35 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" Schedule="afterInstallInitialize" AllowSameVersionUpgrades="yes" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<Feature Id="App" Level="1" AllowAdvertise="no" Display="expand" Title="!(loc.F_App)" Description="!(loc.F_App_Desc)" AllowAbsent="no">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentGroupRef Id="Components" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												Refact/msi more install options (#8949)
* refact: msi, more install options
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, reg values on upgrade/modify
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, silent repair/upgrade, RemoveInstallFolder()
Signed-off-by: fufesou <linlong1266@gmail.com>
* Options support both 1/0 and Y/N
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, preprocess, open file with explicit encoding
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, read previous options
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: mis, install folder, read previous option
Signed-off-by: fufesou <linlong1266@gmail.com>
* Comment on Control -> Checkbox
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: UI, checkbox options, read previous values
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts options, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* Better shortcuts property conditions
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
											
										 
										
											2024-08-05 17:49:48 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.InstallFolder" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.DefaultIcon" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.CommandPlay" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.URLProtocol" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.Command" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-16 13:09:20 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.UninstallApp" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="App.StartMenu" />
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												Refact/msi more install options (#8949)
* refact: msi, more install options
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, reg values on upgrade/modify
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, silent repair/upgrade, RemoveInstallFolder()
Signed-off-by: fufesou <linlong1266@gmail.com>
* Options support both 1/0 and Y/N
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: msi, preprocess, open file with explicit encoding
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: msi, read previous options
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: mis, install folder, read previous option
Signed-off-by: fufesou <linlong1266@gmail.com>
* Comment on Control -> Checkbox
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: UI, checkbox options, read previous values
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts options, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: shortcuts, init state
Signed-off-by: fufesou <linlong1266@gmail.com>
* Better shortcuts property conditions
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
											
										 
										
											2024-08-05 17:49:48 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.PersistedStartMenuShortcutProperties1" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.PersistedStartMenuShortcutProperties0" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.PersistedDesktopShortcutProperties1" />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											<ComponentRef Id="Product.Registry.PersistedDesktopShortcutProperties0" />
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										</Feature>
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-11 11:51:35 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<!--https://wixtoolset.org/docs/tools/wixext/wixui/#customizing-a-dialog-set-->
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<!--$CustomBitmapsStart$-->
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<!--$CustomBitmapsEnd$-->
							 | 
						
					
						
							
								
									
										
										
										
											2024-04-02 18:10:09 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
									</Package>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</Wix>
							 |