Hi,
I have a custom action that need to delete a remote sub-folder 
\\servermachine\sharedfolder$\clientID<file:///\\servermachine\sharedfolder$\clientID>
 , the sub-folder's CREATOR OWNER is clientMachine$, it's created by a service 
running on client machine with LocalSystem account, and only the CREATOR OWNER 
has permission to delete it.

Since the Windows Installer is also running under LocalSystem (I checked 
services.msc and confirmed that), if I make the custom action not impersonating 
(CustomAction/@Impersonate=no), shouldn't it using the LocalSystem account?
However, I found it is still running as the user's account 
(clientMachine\Administrator).
If I logon as a non-admin user (clientMachine\testUser), when doing the 
uninstall, it requires me to provide admin credential (I use 
clientMachine\Administrator), then I found the custom action is using the 
administrator's account.

Is there any method to make the CA running under LocalSystem account?
(My CA type is 3072, i.e. msidbCustomActionTypeDll + 
msidbCustomActionTypeBinaryData + msidbCustomActionTypeInScript + 
msidbCustomActionTypeNoImpersonate)

Thanks,
-Elfe

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to