|
|
|
|
#1 |
|
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). |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|