git.iko.soy/typeable/pandoc
on master help sign in
WiX: Install to %APPLOCALDATA%\Pandoc in per-user setup.

The “Advanced” template installs to %APPLOCALDATA%\Apps\Pandoc by default.

commit6269ba03b056ad933110c1a081daab96db18997b authorFyodor Sheremetyev <sheremetyev@gmail.com> dateFri 15 Mar 2013, 16:37 (14 years ago) parent5b3ad33
1 file changed+8
windows/pandoc.wxs+8
windows/pandoc.wxs+8
@@ -25,6 +25,14 @@
2525 <Property Id="WixAppFolder" Value="WixPerUserFolder" />
2626 <Property Id="DISABLEADVTSHORTCUTS" Value="1" />
2727
28+ <CustomAction Id="WixSetPerUserFolderOverride" Property="APPLICATIONFOLDER" Value="[LocalAppDataFolder][ApplicationFolderName]" Execute="immediate" />
29+ <InstallExecuteSequence>
30+ <Custom Action="WixSetPerUserFolderOverride" After="WixSetPerUserFolder">ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged)))</Custom>
31+ </InstallExecuteSequence>
32+ <InstallUISequence>
33+ <Custom Action="WixSetPerUserFolderOverride" After="WixSetPerUserFolder">ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged)))</Custom>
34+ </InstallUISequence>
35+
2836 <Directory Id="TARGETDIR" Name="SourceDir">
2937
3038 <Directory Id="ProgramFilesFolder">