From cb2c81b45b0d9f81867fd21ab670c0323066dded Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 9 Jul 2015 22:02:30 -0700 Subject: Updated pandoc.wxs. From @nkalvi with a few modifications (custom variables). - when per-machine installation is chosen, the system path is updated instead of the user's - an appropriate default is used for per-machine installation directory. --- windows/pandoc.wxs | 177 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 113 insertions(+), 64 deletions(-) (limited to 'windows/pandoc.wxs') diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs index 90c0069a5..c1465ffcf 100644 --- a/windows/pandoc.wxs +++ b/windows/pandoc.wxs @@ -1,5 +1,11 @@ + + + + + + - - + - + Guid="ECD35082-4C28-49E1-977E-B90FC7C400C7"> + + Source="..\.cabal-sandbox\bin\pandoc.exe" /> + Source="..\COPYRIGHT.txt" /> - + Source="..\COPYING.rtf" /> - + Guid="0A214839-2E69-4026-8DBB-0F0A9DB75C12"> + + Source="..\.cabal-sandbox\bin\pandoc-citeproc.exe" /> - + Guid="A8D54A76-1A3D-4647-8327-81B69D39D8A3"> + Source="..\README.html" KeyPath="yes"> + Name="Pandoc User’s Guide" Advertise="yes" /> + + + + ALLUSERS = "" OR ALLUSERS = 2 + + + + + ALLUSERS = 1 + + + @@ -74,8 +97,8 @@ + Name="ShortcutInstalled" Type="integer" Value="1" + KeyPath="yes"/> @@ -85,10 +108,13 @@ - + + @@ -102,67 +128,90 @@ + After="CostFinalize" /> + Property="WIXUI_EXITDIALOGOPTIONALTEXT" + Value="[ProductName] was installed in [APPLICATIONFOLDER]. You may need to restart Cmd/Powershell windows before using it." /> + + - - - ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) - + + ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + - - NOT Installed - - - ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) - + + NOT Installed + + + ACTION="INSTALL" AND (ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged))) + - - - + - - - - WixAppFolder = - "WixPerUserFolder" - WIXUI_DONTVALIDATEPATH OR - WIXUI_INSTALLDIR_VALID="1" - - WixAppFolder = - "WixPerUserFolder" - WixAppFolder = - "WixPerMachineFolder" + + + + WixAppFolder = "WixPerUserFolder" + + WixAppFolder = "WixPerMachineFolder" + + WixAppFolder = "WixPerUserFolder" + + WixAppFolder = "WixPerMachineFolder" AND ALLUSERS = 1 + WixAppFolder = "WixPerUserFolder" AND ALLUSERS = 2 + WixAppFolder = "WixPerUserFolder" + + + + WIXUI_DONTVALIDATEPATH OR + WIXUI_INSTALLDIR_VALID="1" + + + + WixAppFolder = "WixPerUserFolder" + + + WixAppFolder = "WixPerMachineFolder" + - -- cgit v1.2.3