git.iko.soy/typeable/pandoc
on master help sign in
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.

commitcd4ad4bc96f864450b374f34f3ae8b0bf4952d87 authorFyodor Sheremetyev <sheremetyev@gmail.com> dateFri 15 Mar 2013, 13:46 (14 years ago) parentaed8a2c
1 file changed+5−2
windows/pandoc.wxs+5−2
windows/pandoc.wxs+5−2
@@ -21,11 +21,14 @@
2121 <RemoveExistingProducts After="InstallFinalize"/>
2222 </InstallExecuteSequence>
2323
24+ <Property Id="ApplicationFolderName" Value="Pandoc" />
25+ <Property Id="WixAppFolder" Value="WixPerUserFolder" />
26+
2427 <Directory Id="TARGETDIR" Name="SourceDir">
2528 <Directory Id="ProgramMenuFolder">
2629 <Directory Id="ApplicationProgramsFolder" Name="Pandoc"/>
2730 </Directory>
28− <Directory Id="LocalAppDataFolder">
31+ <Directory Id="ProgramFilesFolder">
2932 <Directory Id="INSTALLDIR" Name="Pandoc">
3033 <Component Id="MainExecutable"
3134 Guid="ECD35082-4C28-49E1-977E-B90FC7C400C7">
@@ -75,7 +78,7 @@
7578 </Feature>
7679 </Feature>
7780
78− <UIRef Id="WixUI_Minimal" />
81+ <UIRef Id="WixUI_Advanced" />
7982 <UIRef Id="WixUI_ErrorProgressText" />
8083 <WixVariable Id="WixUILicenseRtf" Value="..\COPYING.rtf" />
8184