User choice: Package per-user or per-machine - 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!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

User choice: Package per-user or per-machine

Hello everyone.

I am trying to let the user choose whether to install per-user or per-machine by checking a radio button, as described in "How do I make the package install per-user or per-machine?" in the documentation.

With this approach I have the problem that on Vista the elevation prompt never shows up. Instead it shows this error message:

"You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation."

Does the information in "How do I make the package install per-user or per-machine?" not apply to Windows Vista?

Can the basic goal still be achieved, to let the user pick at runtime what type of installation he wants to perform, using Windows Vista?



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: User choice: Package per-user or per-machine

Hi Clemens,

On Vista the package needs to alway use Administrator privileges in order to offer this functionality. Therefore, the Installation Type combo in the "Install Parameters" page should be set to "Per-user only (with administrator rights required)". Currently this is not specified in the how-to, but it will be beginning with the 6.6 version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”