silent 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!

virgil
Posts: 22
Joined: Sat Mar 19, 2011 1:40 am

silent install

If an installer requires admin privileges, for example, to write to the HKLM Registry hive, and I run the installer under a Windows account with admin privileges, why does it fail to install when I use the /qn switch ? (Install log shows the error is due to insufficient privileges).

If I use the /qb switch and grant elevation when the UAC prompt comes up, the installer succeeds.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: silent install

Hi,

On Vista or above, you can gain elevated privileges through the UAC dialog. You are getting this behavior because when running a silent installation package, the elevation prompt defaults to no.

You can try to run the command line for the silent package from an elevated cmd shell.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”