Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

RegDBKeyExist (szKey)


2 replies to this topic

alikza

alikza
  • Members
  • 4 posts

Posted 08 July 2002 - 15:01

IS 7.02 W2k SP2 Standard project

Hello,
is it possible that the function RegDBKeyExist (szKey)
doesn´t take more than three keys?

After a call to RegDBSetDefaultRoot (nRootKey)
(first:nRootKey = HKEY_LOCAL_MACHINE;)
this failed:

szKey   = "SOFTWARE\\aCompanyName\\Service_Packs\\Root directories";  
RegDBKeyExist (szKey);

But if I only have three keys in the path it´s okey.
How can I go around this???
Thanks in advance!
alikza

 ???



CodeSkunk

CodeSkunk
  • Members
  • 9 posts

Posted 16 July 2002 - 18:54

You might be getting a response if this was a question for an InstallShield STANDARD project.

Look at the forum you are in.
A standard project doesn't use installscript.
CodeSkunk
Sr. Propeller Head
~Making windows my b**ch since '93

alikza

alikza
  • Members
  • 4 posts

Posted 17 July 2002 - 14:15

Hello,
I found it, it was a garbage character in the path. Now it works fine.
But what is CodeSkunk talking about?
You can perfectly use script in a STANDARD project.
Take a look in the explorer at InstallScript.
From there:
File Name:    Setup.rul                                                  
//                                                                            
//  Description:  InstallShield script  

alikza  :)