Answering myself.
This is discussed here: http://support.microsoft.com/kb/934388
Since creating managed performance counter without using managed installer
class will be very hard if that's ever possible, natural choice would be
creating separate assembly which won't be GACed.
Thanks,
Sunghwa
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sunghwa Jin
Sent: Friday, September 07, 2007 1:07 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] How to schedule a deferred custom action after GAC'ing
assemblies?
Hi,
I have custom actions that calls InstallUtil.exe. Things works just fine now
except I have left-over .InstallState file in my installation folder.
It turns out this is because the custom action that calls InstallUtil.exe
during installation before it GACs the assembly while it calls InstallUtil.exe
during uninstallation after the assembly is removed from GAC.
To solve this, I need to schedule the custom action after the assembly is added
to GAC during installation. How can I do this?
I tried scheduling the custom action after MsiPublishAssemblies, but it seems
like real GAC'ing is still done after the custom action.
Thanks,
Sunghwa
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users