removing an application through an MSI with UAC
I am setting up a application removal package and I am wondering what's the best method of getting a MS app off of Windows 7 machines.I can:1. create the pakage through msi definition; which has a removal string built inor 2. call on the uninstall string so msiexec.exe /x {reg}I was just going to go with the 2nd method cause I've done that with most removal's in the past without issue. This works fine with XP machines but I can't use it with the Win7. UAC asks me on Win7 if I want to allow the program to make changes... If I use method one, I assume I am going to run into the same problem. Anyone have any suggestions?
March 10th, 2010 8:02pm

when you run msiexec /x {guid} /qn as SYSTEM, whether or not user is logged in (i.e., just like you would from ConfigMgr program), it still prompts? Standardize. Simplify. Automate.
Free Windows Admin Tool Kit Click here and download it now
March 10th, 2010 8:16pm

it's not breaking out and prompting me cause I have the app hidden... but it's not proceeding so I assume that it's just waiting for someone to click yes in the background. I assume it's going to time out after 2 hours.
March 10th, 2010 8:48pm

Back to Sherry's question though, which credentials are you using to run the command-line? When specifying use Admin credentials for a program, it will run as the local SYSTEM account which is not subject to UAC in any way. Thus, if you are running it using admin privileges, it is not a UAC issue. Have you tried running the command-line manually?Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
March 10th, 2010 9:45pm

I used the pstools to test out the package under the system context and it isn't the UAC that's the problem. There's a prompt occuring asking me if I am sure I want to uninstall. grr.... so i guess i need to play around with the strings.
March 11th, 2010 1:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics