[wix-users] Custom Action Elevated Privilege

harald goci harald.goci at panagenda.com
Tue Mar 20 10:04:16 PDT 2018

Remove the property Impersonate="no" because "immediate" custom actions are
by default impersonated.
See http://wixtoolset.org/documentation/manual/v3/xsd/wix/customaction.html

Harald Goci
Senior Software Engineer

Email: harald.goci at panagenda.com - Web: www.panagenda.com
Phone: +43 1 890 12 89-44 - Fax: +43 1 890 12 89-15

(Embedded image moved to file: pic16941.jpg)

panagenda GmbH - Schreyvogelgasse 3/10 - 1010 Vienna - Austria
Registered Office: Vienna - HG Wien - FN 293516t - VAT-ID: ATU63362738
Executive Directors: Florian Vogler (CEO & CTO), Felix Vogler (CFO & COO)

(Embedded image moved to file: pic21724.jpg)

The information in this E-Mail is confidential and privileged. It is
intended solely for the addressee. Access to this E-Mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken in reliance on it is prohibited
and will be unlawful. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.

From:	Ven H via wix-users <wix-users at lists.wixtoolset.org>
To:	WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc:	Ven H <venh.123 at gmail.com>
Date:	20.03.2018 17:46
Subject:	[wix-users] Custom Action Elevated Privilege
Sent by:	"wix-users" <wix-users-bounces at lists.wixtoolset.org>

I have a custom action with Impersonate="no" and Execute="immediate". But
during the light command, it gives the following warning. Can anyone please
advise how to fix this?

Even though custom action 'MyCA' is marked to be elevated (with attribute
msidbCustomActionTypeNoImpersonate), it will not be run with elevated
privileges because it's not deferred (with attribute

WiX Toolset Users Mailing List provided by FireGiant

More information about the wix-users mailing list