mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-22 10:35:40 +00:00
packaging: use WixUI_Advanced for MSI installer UI (#2237)
This commit is contained in:
+17
-17
@@ -32,9 +32,9 @@
|
|||||||
<!--
|
<!--
|
||||||
Scope='perUserOrMachine' makes this a dual-purpose package: it can install
|
Scope='perUserOrMachine' makes this a dual-purpose package: it can install
|
||||||
per-machine (elevated, into Program Files) or per-user (non-elevated, into
|
per-machine (elevated, into Program Files) or per-user (non-elevated, into
|
||||||
%LocalAppData%). winget's user scope drives the per-user path silently
|
%LocalAppData%).
|
||||||
via MSIINSTALLPERUSER=1. See the SetProperty for APPLICATIONFOLDER below,
|
|
||||||
which redirects the install directory for the per-user case.
|
Note that winget's user scope drives the per-user path silently via MSIINSTALLPERUSER=1
|
||||||
-->
|
-->
|
||||||
<Package
|
<Package
|
||||||
Name='bottom'
|
Name='bottom'
|
||||||
@@ -169,19 +169,6 @@
|
|||||||
</Directory>
|
</Directory>
|
||||||
</StandardDirectory>
|
</StandardDirectory>
|
||||||
|
|
||||||
<!--
|
|
||||||
Redirect the install directory to a user-writable location for per-user
|
|
||||||
installs (ALLUSERS is empty when installing per-user). Must run before
|
|
||||||
CostFinalize so the new path is used for costing and file layout, and it
|
|
||||||
is sequenced in both the UI and execute sequences so it also applies to
|
|
||||||
silent installs (e.g. winget user-scope installs).
|
|
||||||
-->
|
|
||||||
<SetProperty Id='APPLICATIONFOLDER'
|
|
||||||
Value='[LocalAppDataFolder]Programs\bottom'
|
|
||||||
Before='CostFinalize'
|
|
||||||
Sequence='both'
|
|
||||||
Condition='NOT ALLUSERS'/>
|
|
||||||
|
|
||||||
<Feature
|
<Feature
|
||||||
Id='Binaries'
|
Id='Binaries'
|
||||||
Title='Application'
|
Title='Application'
|
||||||
@@ -229,8 +216,21 @@
|
|||||||
<!--<Property Id='ARPPRODUCTICON' Value='ProductICO' />-->
|
<!--<Property Id='ARPPRODUCTICON' Value='ProductICO' />-->
|
||||||
|
|
||||||
<Property Id='ARPHELPLINK' Value='https://bottom.pages.dev/stable'/>
|
<Property Id='ARPHELPLINK' Value='https://bottom.pages.dev/stable'/>
|
||||||
|
<Property Id='ApplicationFolderName' Value='bottom'/>
|
||||||
|
<Property Id='WixAppFolder' Value='WixPerMachineFolder'/>
|
||||||
|
|
||||||
|
<CustomAction Id='OverridePerMachineFolder'
|
||||||
|
Property='WixPerMachineFolder'
|
||||||
|
Value='[ProgramFiles64Folder][ApplicationFolderName]'
|
||||||
|
Execute='immediate'/>
|
||||||
|
<InstallUISequence>
|
||||||
|
<Custom Action='OverridePerMachineFolder' After='WixSetDefaultPerMachineFolder'/>
|
||||||
|
</InstallUISequence>
|
||||||
|
<InstallExecuteSequence>
|
||||||
|
<Custom Action='OverridePerMachineFolder' After='WixSetDefaultPerMachineFolder'/>
|
||||||
|
</InstallExecuteSequence>
|
||||||
|
|
||||||
<ui:WixUI Id='WixUI_FeatureTree'/>
|
<ui:WixUI Id='WixUI_Advanced'/>
|
||||||
<!--
|
<!--
|
||||||
Disabling the EULA dialog in the installer is a two step process:
|
Disabling the EULA dialog in the installer is a two step process:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user