I kept investigating and I found out that the DLL doesn't need elevation. So
I turned the EXE into a DLL, and it works. I think (and this is pure
guesswork) that the elevation is required to run the exe from Temp (where
MSI extracts it). So there's actually 2 options:

1.       Use a DLL instead of a EXE, and it will work if elevation is not
actually required

2.       If the CA is only used on uninstall/repair/change (as is the case
here), put it in a component and extract it somewhere where it'll be
findable later on

 

BTW, my particular CA doesn't require elevation, it's just MSI asking me for
it. I tried the proposed solution (embedding a manifest) but it didn't work.

 

Thanks to all!

J

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to