cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Dhruba
Level 2

Passing current user to the silent SQL Server 2008 Express Installation

Hi,
I am using InstallShield 2009 Pre-requisite for installing SQL Server 2008 Express silently. But I want to set the currently loggged-in user as the administrator for the SQL Instance through command line parameter. I can get the currently logged-in user from the script, but I don't know how to pass that as a command line parameter to the pre-requisite. Can anyone please help me?

Regards,
Dhruba
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Can you use the environment variable %USERNAME%? If you're installing it as a Feature Prerequisite, full MSI property access is available as well.
0 Kudos