Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Question about reading Registry (http://forums.winamp.com/showthread.php?t=249410)

mwright 23rd June 2006 02:57

Question about reading Registry
 
I am trying to check for the existance of a MSDE install. The registry key I am checking for exist on the computer, but the logic always jumps to the installMSDE label. What am I doing wrong?

ClearErrors
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Microsoft SQL Server\RSG\MSSQLServer\CurrentVersion\CurrentVersion" ""
IfErrors installMSDE

Afrow UK 23rd June 2006 08:16

You may need to jump if there are no errors...

IfErrors InstallMSDE NoInstallMSDE
InstallMSDE:

NoInstallMSDE:

-Stu


All times are GMT. The time now is 05:48.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.