Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

UAC error : Maintenace mode, Consent dailog from A

1 reply to this topic


  • Banned
  • 3 posts

Posted 12 November 2010 - 06:44

We have a app.msi file. There is no Setup.exe associated with msi.

The msi file is launched from custom executable with msiexec /i command.
The custom executable has manifest file embedded into it. When launched from vista machine which has the UAC enabled, our custom executable gets the consent from the user and launches the msi in elevated mode and this is working perfectly till now.

NOW WHEN THE USER TRIES TO LAUNCH MAINTENANCE MODE FROM ADD/REMOVE PROGRAMS, the first CA which is scheduled just after cost finalize in UI sequence is failing with error code 1721 with return value of 3.

This is pretty much straight forward as msi when launched from ARP will not run with elevated privileges and the CA is failing.

Is there a way when the installer is launched from Add/Remove programs, it should get the consent and launch the msi with elevated privileges ?

It has to be a msi file and our custom executable must launch it.

Please provide me the possible solutions.

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 15 November 2010 - 12:36

This question appears to be a copy from http://social.msdn.m...b2-d02b6197a1ac