cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
garypaquette
Level 4

Adding the SQLServerInitialize function creates compile Error

Once I added the function in the InstallShield Script UI I now get the following error:
Compiling...
Setup.Rul
C:\InstallShield 2008 Projects\MasterControl v3\Script Files\Setup.Rul(274) : error C8008: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folder' : identifier expected
C:\InstallShield 2008 Projects\MasterControl v3\Script Files\Setup.Rul(346) : error C8126: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folder' : string variable required
C:\InstallShield 2008 Projects\MasterControl v3\Script Files\Setup.Rul(349) : error C8126: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folder' : string variable required
C:\InstallShield 2008 Projects\MasterControl v3\Script Files\Setup.Rul(352) : error C8126: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folder' : string variable required
C:\InstallShield 2008 Projects\MasterControl v3\Script Files\Setup.Rul(359) : error C8126: 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folder' : string variable required
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

The help topic "Using the SQL Run-Time Functions in InstallScript and InstallScript MSI Projects" mentions some steps you'll need to handle in order to use SQLRTInitialize2 and so forth, so as a first step you might verify that you've taken care of those.

If that doesn't fix it, could you post more of the code you're using?
0 Kudos