WiX: Install to %APPLOCALDATA%\Pandoc in per-user setup.
The “Advanced” template installs to %APPLOCALDATA%\Apps\Pandoc by default.
This commit is contained in:
parent
5b3ad33066
commit
6269ba03b0
1 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,14 @@
|
|||
<Property Id="WixAppFolder" Value="WixPerUserFolder" />
|
||||
<Property Id="DISABLEADVTSHORTCUTS" Value="1" />
|
||||
|
||||
<CustomAction Id="WixSetPerUserFolderOverride" Property="APPLICATIONFOLDER" Value="[LocalAppDataFolder][ApplicationFolderName]" Execute="immediate" />
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action="WixSetPerUserFolderOverride" After="WixSetPerUserFolder">ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged)))</Custom>
|
||||
</InstallExecuteSequence>
|
||||
<InstallUISequence>
|
||||
<Custom Action="WixSetPerUserFolderOverride" After="WixSetPerUserFolder">ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged)))</Custom>
|
||||
</InstallUISequence>
|
||||
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
|
|
Loading…
Add table
Reference in a new issue