Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 6


My install creates a database instance for a SQL 2005 server. It does not include my client side application. The install creates a DB and executes some SQL scripts. When the scripts are executed they run under the “NT AUTHORITY\SYSTEM”.

I need the scripts to execute using the current Windows user login. How can I do this?


Note: InstallShield MSI, MS Server 2003
Labels (1)
0 Kudos
(4) Replies
Level 17

Please try the workaround provided in this thread and see if your issue is solved.
0 Kudos
Level 6

Hidenori that did it thanks!!
0 Kudos

Hello, i know it's an old thread, however i have the same issue and the link to the thread isn't working anymore. i still user Installshield 2009. can i have the workaround? thank you.
0 Kudos

Hi @csasal ,


You need to modify the condition of prerequisite to check whether your instance of SQL Server is installed correctly. The original built-in prerequisite is designed to work with the default instance named SQLEXPRESS.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\CurrentVersion

Change to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\dbname\MSSQLServer\CurrentVersion


Hope it helps,



0 Kudos