You do not have sufficient privileges to complete this installation for all users
Hi,
I am getting this new error on the silent install.-> You do not have sufficient privileges to complete this installation for all users
The situation is like that ...
On a windows 2008 server box (with a User having admin privilege [Not the default administrator]), if I try to install MSI in UI mode it prompts for the Admin approval just before the Progress Bar Dialog (or just before execute immediate/deferred section.) . I have to make the install to work for all admin users and after install the product should work for each user.
Now when i try to do a silent install using msiexec /qn /i switch it does not prompt for the Admin Approval, and hence fails.
How can I add an UAC admin approval prompt box for the silent mode installation?
If this requires some policy registry changes then we have to inform end user about this.
As per MSDN suggest I have alerady tried "User Account Control: Detect application installations and prompt for elevation" enabled in security policies(secpol.msc) and group policies(gpedit.msc)
and I cant rename the MSI as setup.msi, or install.msi.
Ideas, Suggestion, Question ?
Regards
Rohit
Comments
Eh ??
What is the point of having a silent installation which raises the UAC prompt?
Stick with a non-silent install and just disable those dialogs that are not required for the install.
What is the logic behind not being able to rename the MSI as setup.msi or install.msi ?
I doubt you are renaming vendor MSI files, so it there really a need to apply this needless rule?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Reasons
Ed,
I had the same suggestions as you are talking right now but sincerely there are Corporate Policies which we need to follow and as per your questions:
1. there is no point actually in raising an UAC prompt ,
but in a enterprise scenario usually users are user with admin priv (with Lesser Admin priv) and hence the silent installation should proceed for them. Somehow, if UAC is enabled it stops the MSI processing in install finalize (Publish Product) in per machine context. The decision was then to make msi ask for Admin prompt.
2. The management is not ready for that name.
3. I am just doing it for my product and I am not renaming any other MSI at all.
Idea
Well Havn't tried that
I can give it a try. Let me see How successful i'll be.
There is something wrong here
It should not be necessary to provide a UAC prompt for a managed silent installation in a corporate environment. Are you using SMS or some other distribution system in your corporate environment?
Also, it is not uncommon for Corporate policies to go out of date and stop being relevant to the current technology being used. Sometimes it is necessary to challenge rules which are no longer sensible, and get them changed.
After all, Microsoft introduced UAC to recognise installs called setup.xxx and install.xxx, so Company Policy needs to change to reflect this, otherwise it is adding to cost and non-compliance of future work.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
I agree
But right now the change in name is not possible. It will take some time.
& I am not using SMS but deploying JRE.
Would you like to reply?
Login or Register to post your comment.