|
|
#1 |
|
Junior Member
Join Date: Mar 2006
Posts: 3
|
What's Wrong?
Function .onInit
IfFileExists "$INSTDIR\conf.dat" exit exit: MessageBox MB_ICONINFORMATION|MB_OK "A previous version is installed" Abort FunctionEnd |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You must jump somewhere else if the file doesn't exist. Use the LogicLib for simpler code:
And for future posts, please at least include what exactly doesn't work as it should for you, instead of letting people guess.code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|