From 2768d1c2d203f91b03a5246f6ce1fbaa26e2571f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 27 Jun 2015 20:47:37 -0700 Subject: New pandoc.wxs. This should allow the user to select a per-user or systemwide install. It also shows install location in the list of installed programs. Thanks to @nkalvi. See #2205. --- windows/pandoc.wxs | 109 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 78 insertions(+), 31 deletions(-) diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs index fa11d2395..b07ba7629 100644 --- a/windows/pandoc.wxs +++ b/windows/pandoc.wxs @@ -6,7 +6,7 @@ Version="$(var.VERSION)" Manufacturer="John MacFarlane" Language="1033"> - @@ -23,17 +23,6 @@ - - - - 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)) - - @@ -41,8 +30,10 @@ - + @@ -50,23 +41,27 @@ Source="..\COPYRIGHT.txt" /> - - + + + Name="Version" Type="string" Value="[ProductVersion]" + KeyPath="yes"/> - + - @@ -75,36 +70,88 @@ - - - + + + - - + + - + - - - - - + + + + + + + NOT Installed + + + + + + + + + + + + + + + + WixAppFolder = + "WixPerUserFolder" + WIXUI_DONTVALIDATEPATH OR + WIXUI_INSTALLDIR_VALID="1" + + WixAppFolder = + "WixPerUserFolder" + WixAppFolder = + "WixPerMachineFolder" + + + + -- cgit v1.2.3