This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- NT AUTHORITY\SYSTEM Problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2009
09:25 AM
NT AUTHORITY\SYSTEM Problem
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?
Thanks
Note: InstallShield MSI, MS Server 2003
I need the scripts to execute using the current Windows user login. How can I do this?
Thanks
Note: InstallShield MSI, MS Server 2003
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2009
10:18 AM
Please try the workaround provided in this thread and see if your issue is solved.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 15, 2009
10:31 AM
Hidenori that did it thanks!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 20, 2019
03:14 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 21, 2019
08:15 AM
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.
Original:
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,
Thanks,
Jenifer
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)