]> Dogcows Code - chaz/yoink/blobdiff - win32/yoink.nsi
now can create win32 portable packages
[chaz/yoink] / win32 / yoink.nsi
similarity index 95%
rename from win32/yoink.nsi.in
rename to win32/yoink.nsi
index b1a1aed141d2c3432ddbacbe810e266101ee0280..7f1b635094714bf2bc3f56bf4e88d3acf8f8c28f 100644 (file)
@@ -12,7 +12,7 @@
 
   ;Name and file
   Name "Yoink"
-  OutFile "../yoinksetup-@VERSION@.exe"
+  OutFile "yoinksetup-$VERSION.exe"
   SetCompressor /SOLID lzma
 
   ;Default installation folder
@@ -64,7 +64,7 @@ Section "Install Yoink!" SecInstallYoink
   SetOutPath "$INSTDIR"
   
   ;ADD YOUR OWN FILES HERE...
-  File /r "build/*"
+  File /r "$INSTALLFILES/*"
   
   ;Store installation folder
   WriteRegStr HKCU "Software\Yoink" "" $INSTDIR
@@ -78,9 +78,9 @@ Section "Install Yoink!" SecInstallYoink
   CreateShortCut "$SMPROGRAMS\Yoink\Uninstall.lnk" "$INSTDIR\uninstall.exe"
 
   WriteRegStr HKCU "Software\Games\Yoink" "" "$INSTDIR"
-  WriteRegStr HKCU "Software\Games\Yoink" "Version" "@VERSION@"
+  WriteRegStr HKCU "Software\Games\Yoink" "Version" "$VERSION"
   WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Yoink" "DisplayName" "Yoink"
-  WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Yoink" "DisplayVersion" "@VERSION@"
+  WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Yoink" "DisplayVersion" "$VERSION"
   WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Yoink" "UninstallString" "$INSTDIR\uninstall.exe"
 
 SectionEnd
This page took 0.022258 seconds and 4 git commands to generate.