Old 9th October 2003, 04:06   #1
SGI
Junior Member
 
Join Date: Jul 2003
Location: USA
Posts: 34
I tried your script and I have in thefollowing problem:
this is my script MUI_STARTMENUPAGE_DEFAULTFOLDER "${PROD_NAME}"
and I have the name of the "OutFile" myinstaller1122.ex be carefull no all name of the outfile ....missing letter e.
So far..this is working great if the users dont change the name of the installer:
ReadRegStr $1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PROD_NAME}" "uninstallstring"
StrCmp $1 "" cont
StrCmp $0 "" done
cont:
HideWindow
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
"This wizard will autouninstall the ${PROD_NAME}. $\n$\nIt is strongly recommended that you uninstall manually any previous versions of \
${PROD_NAME} 2.5.${VER_MINOR}$\n$\nClick `OK` to install or `Cancel` to cancel this upgrade." \
IDOK uninst
Abort
uninst:
ClearErrors
ExecWait '"$INSTDIR\uninstall.exe" _?=$INSTDIR' $0
StrCmp $0 0 goodToGo
Abort
goodToGo:
done:
BringToFront
I have two choices :
-First: the users are unable to change the name.
-Second: find to do exactly what we want (best choice).
SGI is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump