The WiX3.msi registers with VS.  I'm not an expert in that stuff but how is 
yours different than what the WiX toolset does?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John-Daniel Trask
Sent: Wednesday, July 30, 2008 18:26
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] UAC + devenv setup

Hi,



We have built a Visual Studio package that we are integrating using WIX.



I've run into issues however as we need to run as an administrator. I
applied the required changes to make this work (elevated install privilages,
the custom action that calls devenv /setup was set to before finalize, the
action is deferred and not impersonated). However while this action
completes it doesn't integrate properly and I get COM errors with anything
relating to menu entries and my package in Visual Studio despite no errors
during the install process.



When I actually run the MSI using the awkward run-as-admin method of calling
msiexec directly, it works. Something we can't really ask our customers to
do.



I explored the WIX output that Visual Studio automatically generates for
Visual Studio packages it has the comment that devenv /setup needs to be
called after finalize as if anything is getting GAC'd it won't be available
until that point.



However, my understanding is that the elevated privileges don't get carried
over if done after finalize which is the problem we're seeing here. If my
action gets called before finalize it fails (so it would seem that the
comment in the generated wix document is correct).



Is there any way of extending the elevated privileges after finalize?



The closest thing I can find about this issue is here:
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12030.html



Any help or advice would be greatly appreciated as this problem is reaching
that painful point of frustration! :-)



John-Daniel Trask

Director

MINDSCAPE


Phone:

+64 21 434 957


Web:

mindscape.co.nz


Blog:

 <http://blog.bluecog.co.nz> blog.bluecog.co.nz



-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to