From 78b0a68639d17c9f977ba503ad4bb67b68010a88 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 7 Sep 2003 05:51:41 +0000 Subject: [PATCH] fix Start Menu shortcuts in Win9x (SetShellVarContext current doesn't work in 9x) --- stepmania/src/ProductInfo.inc | 2 +- stepmania/stepmania.nsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ProductInfo.inc b/stepmania/src/ProductInfo.inc index eb7961947d..6f5010c710 100644 --- a/stepmania/src/ProductInfo.inc +++ b/stepmania/src/ProductInfo.inc @@ -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 diff --git a/stepmania/stepmania.nsi b/stepmania/stepmania.nsi index cff906fe18..b05c460cff 100644 --- a/stepmania/stepmania.nsi +++ b/stepmania/stepmania.nsi @@ -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"