Windows installer: use AppData\Local\Pandoc by default.

Not AppData\Local\Apps\Pandoc as wix was now doing.

It is going to be easier if we don't change the install
directory so that users end up with two versions.
This commit is contained in:
John MacFarlane 2015-06-29 09:39:39 -07:00
parent 27754e170b
commit d0ed2560ab

View file

@ -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" />