summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorFyodor Sheremetyev <sheremetyev@gmail.com>2013-03-15 13:46:07 +0000
committerFyodor Sheremetyev <sheremetyev@gmail.com>2013-03-15 13:46:07 +0000
commitcd4ad4bc96f864450b374f34f3ae8b0bf4952d87 (patch)
tree7874b9bc065fcfc9269e319a9f4dcc0080d0765e /windows
parentaed8a2c841f7819583bd48ca8b0f186e657fc2e8 (diff)
WiX: Use “Advanced” template that supports selection of per-user or per-machine mode.
http://wix.sourceforge.net/manual-wix3/WixUI_advanced.htm To install for all users installer should be started from admin account.
Diffstat (limited to 'windows')
-rw-r--r--windows/pandoc.wxs7
1 files changed, 5 insertions, 2 deletions
diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs
index 2c7c4858b..2d6cfada3 100644
--- a/windows/pandoc.wxs
+++ b/windows/pandoc.wxs
@@ -21,11 +21,14 @@
<RemoveExistingProducts After="InstallFinalize"/>
</InstallExecuteSequence>
+ <Property Id="ApplicationFolderName" Value="Pandoc" />
+ <Property Id="WixAppFolder" Value="WixPerUserFolder" />
+
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="Pandoc"/>
</Directory>
- <Directory Id="LocalAppDataFolder">
+ <Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="Pandoc">
<Component Id="MainExecutable"
Guid="ECD35082-4C28-49E1-977E-B90FC7C400C7">
@@ -75,7 +78,7 @@
</Feature>
</Feature>
- <UIRef Id="WixUI_Minimal" />
+ <UIRef Id="WixUI_Advanced" />
<UIRef Id="WixUI_ErrorProgressText" />
<WixVariable Id="WixUILicenseRtf" Value="..\COPYING.rtf" />