Validating Current User Rights Prior to Install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

Validating Current User Rights Prior to Install

I am creating an installer right now that also includes the option to install SQL Express 2008 R2. However, having local administrator rights is not enough to install it. As per Microsoft knowledge base article 2000257 (http://support.microsoft.com/kb/2000257), the current user also has to have SeBackupPrivilege, SeDebugPrivilige, and SeSecurityPrivilege. Is there a mechanism in AI 8.8.2 that allows you to check the local security settings and then modify them?

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Validating Current User Rights Prior to Install

Hello,

The permissions are determined by Windows Installer at the beginning of the installation. On Vista or above an elevation is performed to gain administrative rights.
You can set the appropriate Installation Type from the Install Parameters page. Please read the following user guide article to see the available options and their particularities:
http://www.advancedinstaller.com/user-g ... eters.html

Please also keep in mind you can add SQL Server Express 2008 R2 as a prerequisite from the Prerequisite page:
http://www.advancedinstaller.com/user-g ... requisites

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

Re: Validating Current User Rights Prior to Install

Thank you for your prompt response! I was able to find what I was looking for in another post. You need to create a Custom Action and use the ntrights.exe (which I'll have to package with the installer) to set the local security policy.

Return to “Common Problems”