summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-06-10 18:18:25 +0000
committerIan Lynagh <igloo@earth.li>2009-06-10 18:18:25 +0000
commitde4cc55e97ca2011ab3889a9e2dab9a745839a66 (patch)
tree52602824ad2495dd83caaae0ab7087fbf17b8bb6 /distrib
parentd1df0c600a5191df08e28b3f1eaa371deba45d5e (diff)
downloadhaskell-de4cc55e97ca2011ab3889a9e2dab9a745839a66.tar.gz
Make Windows bindists and installers work in the new build system
Diffstat (limited to 'distrib')
-rw-r--r--distrib/ghc.iss.in (renamed from distrib/ghc.iss)16
1 files changed, 8 insertions, 8 deletions
diff --git a/distrib/ghc.iss b/distrib/ghc.iss.in
index c137f32cf8..f7a480367d 100644
--- a/distrib/ghc.iss
+++ b/distrib/ghc.iss.in
@@ -1,8 +1,8 @@
[Setup]
AppName=GHC
-AppVerName=GHC @VERSION@
-DefaultDirName={sd}\ghc\ghc-@VERSION@
+AppVerName=GHC @ProjectVersion@
+DefaultDirName={sd}\ghc\ghc-@ProjectVersion@
UsePreviousAppDir=no
DefaultGroupName=GHC
UninstallDisplayIcon={app}\bin\ghci.exe
@@ -14,13 +14,13 @@ ChangesEnvironment=yes
[Files]
-Source: "ghc-@VERSION@\*"; DestDir: "{app}"; Flags: recursesubdirs
+Source: "ghc-@ProjectVersion@\*"; DestDir: "{app}"; Flags: recursesubdirs
[Icons]
-Name: "{group}\@VERSION@\GHCi"; Filename: "{app}\bin\ghci.exe"
-Name: "{group}\@VERSION@\GHC Documentation"; Filename: "{app}\doc\index.html"
-Name: "{group}\@VERSION@\GHC Library Documentation"; Filename: "{app}\doc\libraries\index.html"
-Name: "{group}\@VERSION@\GHC Flag Reference"; Filename: "{app}\doc\users_guide\flag-reference.html"
+Name: "{group}\@ProjectVersion@\GHCi"; Filename: "{app}\bin\ghci.exe"
+Name: "{group}\@ProjectVersion@\GHC Documentation"; Filename: "{app}\doc\index.html"
+Name: "{group}\@ProjectVersion@\GHC Library Documentation"; Filename: "{app}\doc\libraries\index.html"
+Name: "{group}\@ProjectVersion@\GHC Flag Reference"; Filename: "{app}\doc\users_guide\flag-reference.html"
[Registry]
; set up icon associations
@@ -34,7 +34,7 @@ Root: HKCR; Subkey: "ghc_haskell\shell\open\command"; ValueType: string; ValueNa
; these flags were always set in the past, by the installer
; some programs may rely on them to find GHC
-Root: HKCU; Subkey: "Software\Haskell\GHC\ghc-@VERSION@"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"; Flags: uninsdeletekey
+Root: HKCU; Subkey: "Software\Haskell\GHC\ghc-@ProjectVersion@"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"; Flags: uninsdeletekey
Root: HKCU; Subkey: "Software\Haskell\GHC"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"; Flags: uninsdeletevalue
; set the PATH variable, for both GHC and Cabal