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
- :
- Re: SQL Server Express 2005 installation issue (Vista)
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
‎Oct 27, 2008
08:36 AM
SQL Server Express 2005 installation issue (Vista)
During a Installscript project I install the MSSQL Server 2005 Express with these params:
This works fine with 2000 and XP, but Vista fails with a message, that the sql server service could not be started. Vista says I should check if I have enough rights to start system services.
If I run the installation exe of sql server from commandline with the same params it installs just fine.
I guess I need to set my project to run only with admin rights, but how do I achieve this?
/qb ADDLOCAL=All INSTANCENAME=AppName DISABLENETWORKPROTOCOLS=0 ADDUSERASADMIN=0 SQLAUTOSTART=1 SECURITYMODE=SQL SAPWD=-.-
This works fine with 2000 and XP, but Vista fails with a message, that the sql server service could not be started. Vista says I should check if I have enough rights to start system services.
If I run the installation exe of sql server from commandline with the same params it installs just fine.
I guess I need to set my project to run only with admin rights, but how do I achieve this?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
11:25 AM
Is it impossible?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2008
09:44 AM
In the releases section you might use the flag (I'm translating from the German version so this might not be 100% correct but look for something similar) "required execution level".
Alternatively you could check for admin rights with something like
Alternatively you could check for admin rights with something like
if !Is(USER_ADMINISTRATOR,"") thenMessageBox(@MSG_NO_ADMINISTRATOR, SEVERE);abort;
endif;