I have to spawn an exe as a custom action that I have complete control over. I am using the CAQuietExe to do this. I need to log some info when this runs to the install log. Is this possible?
My first thought was to pass the MSIHANDLE to the exe but I do not know if this is per-process which I would think it is. Plus since i'm using CAQuietExec I don't know how to pass the MSIHANDLE from WIX. I would have to call a local custom action to spawn the exe. I then tried to get the MSIHANDLE from within the exe. I pass the product id of the install to the exe and then call ::MsiOpenProduct. The return value is zero and I get a handle back which has a value of 1 (doesn't seem like a legit handle). I then log using that via msicreaterecord/msirecordsetstring/msiprocessmessage/msiclosehandle. However nothing shows up in the log. Is there a different way to do this? Thanks. ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users