Add WixUIExtension for enhanced installation UI in WindowsBuilder
- Included WixUIExtension in candle and light commands to enable UI features. - Added references for minimal and error progress UI dialogs in the WiX XML configuration.
This commit is contained in:
parent
f9cfb9f558
commit
aeed311f53
5 changed files with 2881 additions and 2871 deletions
|
|
@ -248,6 +248,7 @@ class WindowsBuilder:
|
|||
# Run candle compiler - make sure to use correct source directory
|
||||
candle_cmd = [
|
||||
str(candle_exe),
|
||||
"-ext", "WixUIExtension",
|
||||
f"-dDistDir={self.dist_dir}",
|
||||
f"-dSourceDir={self.dist_dir}\\WebDropBridge", # Set SourceDir for Heat-generated files
|
||||
"-o", str(self.build_dir) + "\\",
|
||||
|
|
@ -266,6 +267,7 @@ class WindowsBuilder:
|
|||
# Link MSI - include both obj files if harvest was successful
|
||||
light_cmd = [
|
||||
str(light_exe),
|
||||
"-ext", "WixUIExtension",
|
||||
"-b", str(self.dist_dir / "WebDropBridge"), # Base path for source files
|
||||
"-o", str(msi_output),
|
||||
str(wix_obj),
|
||||
|
|
@ -306,6 +308,10 @@ class WindowsBuilder:
|
|||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" />
|
||||
<Media Id="1" Cabinet="WebDropBridge.cab" EmbedCab="yes" />
|
||||
|
||||
<!-- Installation UI dialogs -->
|
||||
<UIRef Id="WixUI_Minimal" />
|
||||
<UIRef Id="WixUI_ErrorProgressText" />
|
||||
|
||||
<Feature Id="ProductFeature" Title="WebDrop Bridge" Level="1">
|
||||
<ComponentGroupRef Id="AppFiles" />
|
||||
<ComponentRef Id="ProgramMenuShortcut" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue