yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Install fails on limited account

When i try to install on a limited account (on Windows XP) I get an error message "insufficient privileges to install".

The install parameters are set to "Per Machine/User ", which should be per machine if user is admin, per user otherwise.

Any ideas?

Thanks

-Yishai Steinhart
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install fails on limited account

Hi Yishai,

Please note that a per-user installation also needs Administrator privileges if it installs resources in per-machine locations. You can read more about per-user installations in the Install Parameters article. If your package installs resources in per-machine locations, it requires Administrator privileges.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
docswab
Posts: 14
Joined: Mon Jan 11, 2010 8:18 pm

Re: Install fails on limited account

I have a similar situation that I would be grateful for some guidance about:

Ihave a main application that we install per machine or per user without admin access. I also want to try to install Flash Player if we can (ie have admin access). But I don't want the application install to fail completely if Flash can't be installed.

Is there a way to set this up so the installer will continue with the main feature even if Flash can't be installed?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Install fails on limited account

Hi,

Here is what you can try:

-- go to Custom Actions page and show standard action InstallFinalize
-- right click on it and select "New Attached Custom Action"
-- browse and select the exe installer for adobe flash player

-- set the Execution Properties of the custom action to "Asynchronous execution, do not wait for return"
-- and the Execution Condition to : AdminUser = "1"

This condition will make the custom action to run only if the property AdminUser is set, therefore the user running the installation package is an administrator.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”