diff options
Diffstat (limited to 'windows/pandoc.wxs')
-rw-r--r-- | windows/pandoc.wxs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs index 0403be2a5..fea3ec554 100644 --- a/windows/pandoc.wxs +++ b/windows/pandoc.wxs @@ -110,10 +110,21 @@ may need to restart Cmd/Powershell windows before using it." /> + <CustomAction Id="CustomWixSetPerUserFolder" Property="APPLICATIONFOLDER" Value="[LocalAppDataFolder][ApplicationFolderName]" Execute="immediate" /> + + <InstallExecuteSequence> + <Custom Action="CustomWixSetPerUserFolder" After="WixSetPerUserFolder"> + ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + </Custom> + </InstallExecuteSequence> + <InstallUISequence> <Custom Action="SetExitDialogOptText" Before="ExecuteAction"> NOT Installed </Custom> + <Custom Action="CustomWixSetPerUserFolder" After="WixSetPerUserFolder"> + ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + </Custom> </InstallUISequence> <CustomActionRef Id="WixBroadcastSettingChange" /> |