diff --git a/.gitignore b/.gitignore index df51012fa..3e9ae6904 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,9 @@ man/man?/*.html pandoc.cabal.orig *.o *.hi - +/COPYING.rtf +/COPYRIGHT.txt +/cabal-dev/ +/windows/*.msi +/windows/*.wixpdb +windows/*.wixobj diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat index 91a31cfb9..e13d324c7 100644 --- a/windows/make-windows-installer.bat +++ b/windows/make-windows-installer.bat @@ -24,7 +24,7 @@ if "%VERSION%" == "" ( echo Detected version %VERSION% cd windows echo Creating msi... -"C:\Program Files\WiX Toolset v3.7\bin\candle.exe" -dVERSION=%VERSION% -ext WixUIExtension pandoc.wxs +"C:\Program Files\WiX Toolset v3.7\bin\candle.exe" -dVERSION=%VERSION% pandoc.wxs if %errorlevel% neq 0 exit /b %errorlevel% "C:\Program Files\WiX Toolset v3.7\bin\light.exe" -sw1076 -ext WixUIExtension -out pandoc-%VERSION%.msi pandoc.wixobj if %errorlevel% neq 0 exit /b %errorlevel% diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs index 71afa8eb0..85edd29a8 100644 --- a/windows/pandoc.wxs +++ b/windows/pandoc.wxs @@ -5,6 +5,7 @@ UpgradeCode="$(var.UpgradeCode)" Name="Pandoc $(var.VERSION)" Version="$(var.VERSION)" Manufacturer="John MacFarlane" Language="1033"> + @@ -15,62 +16,98 @@ Maximum="99.0.0.0" IncludeMaximum="no" /> + + + + + + + + ACTION="INSTALL" AND APPLICATIONFOLDER="" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + ACTION="INSTALL" AND APPLICATIONFOLDER="" AND (ALLUSERS=1 OR (ALLUSERS=2 AND Privileged)) + + + ACTION="INSTALL" AND APPLICATIONFOLDER="" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + ACTION="INSTALL" AND APPLICATIONFOLDER="" AND (ALLUSERS=1 OR (ALLUSERS=2 AND Privileged)) + + - - - - - + + + - - + - + + + + + + + + + + + + + - + Source="..\README.html" KeyPath="yes"> + + + + + + + + + + + + - - - - - - - - + + + + - + + + +