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.
Photo

Getting admin privileges require error on Windows


1 reply to this topic

Amol_MSI

Amol_MSI
  • Full Members
  • 26 posts

Posted 04 December 2008 - 08:06

MSI installer on windows Vista is giving admin privileges error. In MSI installer there are some custom actions that are adding key to registry and moving/deleting folders. I am getting error for these custom actions I did some investigation on this and found that I need to make them deferred otherwise they will be executed with standard user privileges. I cannot make all custom actions deferred there are some actions that need to be executed after “InstallFinalize”. Please let me know if there is any solution to get around this problem.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 December 2008 - 13:43

The only option then would be to run the whole install (including the UI sequence) elevated, using a setup.exe.