Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Setup.exe failed to install on some user's
 

Setup.exe failed to install on some user's

Hello,

I have a windows application that I want to deploy. I have built a msi package and setup.exe in vs2005. Our users are all on win xp pro, but maybe several are on w2k.

During the deployment testing of a randomly selected 20 clients, about half of them failed, but other half succeeded. And my network admin told me all the client machines have the same settings, and all the user accounts are created equally.

I got “you don’t have sufficient privilege to run this program on this machine�message on these failed machines when I tried to run the setup.exe from a network location and under user’s login.

If I logged in as admin AND selected Run this app for Everyone, then the install completed.

How can I make my install work the same way under user’s login? I want to grant my install higher privilege if that is needed, but how? Or I may have to change the user profile for those who failed, which my network admin is also OK, but again, where should I check and what should I change?

Thanks!
hommer  Monday, March 19, 2007 2:30 PM

If setup.exe is installing prerequisites these will almost certainly require admin privileges.

The normal way for a non-administrator to get to install an MSI that requires admin privilege is to assign/publishthe MSI file for a per-machine 'Everyone" install using Group Policy.

PhilWilson  Tuesday, March 20, 2007 7:06 PM
Hi cound anyone tell me how to "to assign/publishthe MSI file for a per-machine 'Everyone" install using Group Policy. " step by step? Thanks!!!
travis1112  Tuesday, May 01, 2007 9:08 AM

It's basically this, except of course for the MSI file name.

http://support.microsoft.com/kb/887405

PhilWilson  Tuesday, May 01, 2007 5:29 PM

You can use google to search for other answers

Custom Search

More Threads

• ActiveX or ClickOnce
• Set values from Registry in the User Interface forms
• Cannot download the application. The application is missing required files.
• Publish ClassLibrary Project
• Deployment Project with Visual J# Launch Condition
• ClickOnce update from CD
• Bootstrapper Manifest Generator has Moved
• Click once and Folder locations
• Altering the Product Name during installation
• Getting installed directory / putting into registry?