|
|
#1 |
|
Junior Member
Join Date: Feb 2009
Posts: 2
|
[resolve] Little problem with nsis
Hie all,
I'have one little problem, on my script i can't verify if a software is already installed. By example, i want to check if the computer already had MySQL whith this: IfFileExists $HKEY_CURRENT_USER\Software\EMS\MySQL Manager MessageBox MB_OK "Mysql is already installed" return ExecWait '"INSTDIR\Sql_Express.exe"' But that don't word and say : Could'nt resolve Manager in section MySql Have a nice day P.S. : Excuse my english, i'am french Last edited by Clydopathe; 2nd February 2009 at 15:39. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
You can not use IfFileExists to read from the registry
try: code: IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2009
Posts: 2
|
Thank's for your help, that's good ^^.
Edit : I have one other question. how the space is handle? Because with space in my register directory make me one more argument. Is it %20 like internet site adress? Edit 2 : I have find, i just have tu put my adress on " ". Last edited by Clydopathe; 2nd February 2009 at 15:38. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|