The handle to the current session is not passed through to the managed code Dll 
in Installer classes. The InstallUtilLib shim is a standard C++ entrypoint, 
designed to be called deferred, and getting data via CustomActionData. The 
handle to the session is of limited use anyway in deferred custom actions. So 
using the InstallUtilLib shim to call a managed code Dll has no substantial 
added functionality when compared with a managed code exe where you pass a 
bunch of properties through the command line.  

Phil Wilson 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Lemsky
Sent: Sunday, April 08, 2007 9:34 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] dot Net Custom actions


So I dont understand - if I want managed dlls which will have access to the 
installer session  - I will have problems?
But if i wrote console managed application which will work with comand line or 
xml configuration that is changed from installer - there are no problems? I 
will use only custom action which launch exe file from installed and all will 
be ok? 


On 4/6/07, Wilson, Phil <[EMAIL PROTECTED]> wrote: 

        I was about to say the same thing. It's not all managed code custom 
actions that are "evil", it's really just the installer class mechanism that 
requires the shim Dll, loading a framework into msiexec etc etc.  Functionally, 
a managed code exe has the same capability as an installer class (properties 
pass one way into the code, no access to the install session) and if it's an 
exe that you're installing it can run in the application context, with config 
files etc. 
        
        Phil Wilson
        
        
        -----Original Message-----
        From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]> ] On Behalf Of Joe Kaplan
        Sent: Friday, April 06, 2007 8:36 AM
        To: [EMAIL PROTECTED]; WiX-users
        Subject: Re: [WiX-users] dot Net Custom actions 
        
        Also, if the CA is an EXE instead of a DLL-type CA or something, then 
you can launch it with an EXE CA.
        
        Joe K.
        
        ----- Original Message -----
        From: "DEÁK JAHN, Gábor" < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
>
        To: "WiX-users" <wix-users@lists.sourceforge.net>
        Sent: Friday, April 06, 2007 6:13 AM
        Subject: [WiX-users] dot Net Custom actions 
        
        
        > On Fri, 6 Apr 2007 13:21:35 +0700, Igor Lemsky wrote:
        >
        > Igor,
        >
        > http://www.tramontana.co.hu/wix/lesson3.php#3.5 lists the reasons 
while 
        > you shouldn't do it, although it is technically possible using an
        > undocumented DLL.
        >
        > Bye,
        >   Gábor
        >
        > ------------------------------------------------------------------- 
        > DEÁK JAHN, Gábor -- Budapest, Hungary
        > E-mail: [EMAIL PROTECTED]
        >
        >
        
        
        
------------------------------------------------------------------------- 
        Take Surveys. Earn Cash. Influence the Future of IT
        Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
        opinions on IT & business topics through brief surveys-and earn cash
        
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
        _______________________________________________ 
        WiX-users mailing list
        WiX-users@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/wix-users 
<https://lists.sourceforge.net/lists/listinfo/wix-users> 
        
        
        
        
-------------------------------------------------------------------------
        Take Surveys. Earn Cash. Influence the Future of IT
        Join SourceForge.net's Techsay panel and you'll get the chance to share 
your 
        opinions on IT & business topics through brief surveys-and earn cash
        
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> 
        _______________________________________________
        WiX-users mailing list
        WiX-users@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/wix-users
        




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to