fix Start Menu shortcuts in Win9x (SetShellVarContext current doesn't work in 9x)

This commit is contained in:
Chris Danford
2003-09-07 05:51:41 +00:00
parent c99d98f52b
commit 78b0a68639
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
!define PRODUCT_NAME "StepMania"
!define PRODUCT_VER "3.9 random build"
// !define PRODUCT_VER "3.9 alpha 4b"
# !define PRODUCT_VER "3.9 alpha 4b"
!define PRODUCT_NAME_VER "${PRODUCT_NAME} ${PRODUCT_VER}"
; String used for the install directory and registry locations
+1 -1
View File
@@ -235,7 +235,7 @@ File "smpackage.exe"
;Rename "$INSTDIR\Data\stepmania.ini" "$INSTDIR\stepmania.ini"
; Create Start Menu icons
SetShellVarContext all ; install in "All Users" if NT
SetShellVarContext current # 'all' doesn't work on Win9x
CreateDirectory "$SMPROGRAMS\${PRODUCT_ID}\"
CreateShortCut "$DESKTOP\Play ${PRODUCT_NAME_VER}.lnk" "$INSTDIR\stepmania.exe"
CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\${PRODUCT_NAME_VER}.lnk" "$INSTDIR\stepmania.exe"