I'm not suggesting this as a means of second-guessing what Windows Installer is doing. I did say that the Temp folder was only an example of a location that could be used. For example, if someone wants a custom action that consists of a Dll call, it needs a side-by-side dependent Dll and a data file, then just install them all to some folder somewhere, call the Dll CA (a call to Dll installed with the app) and then remove all those files afterwards. Obviously the files need to be installed (the CA can't be immediate), and the component guids null so that MSI won't miss them when they're removed, and you won't be able to call the CA again. That seemed to be the kind of thing the OP was looking for.
Phil Wilson -----Original Message----- From: Heath Stewart [mailto:clubs...@gmail.com] Sent: Saturday, April 11, 2009 9:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] binary dependencies in binary stream But how, when, and where the CA DLLs is not documented. You should not take advantage of undocumented features. Compiling and linking everything int your CAs as needed is recommended (or, better, don't require CAs during install/maintenance). On Fri, Apr 10, 2009 at 9:52 AM, Wilson, Phil <phil.wil...@wonderware.com>wrote: > You could just install the files to (for example) somewhere in the Temp > folder. Make sure the installer component guids are null so that they're > not registered or managed by MSI, and then remove them when your code (or > your custom action) doesn't need them. > > Phil Wilson > > > -----Original Message----- > From: Thomas S. Trias [mailto:tomtr...@artizan.com] > Sent: Friday, April 10, 2009 9:12 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] binary dependencies in binary stream > > Is there any good way to deploy a temporary file resource using the File > table and standard actions? I know that the scheduling gets tricky, > especially since RemoveFiles occurs before InstallFiles. > > I wouldn't be one to second guess Bob, anyway. :-) > > It's really more of an academic question. > > Thomas S. Trias > Senior Developer > Artizan Internet Services > http://www.artizan.com/ > > > -------- Original Message -------- > Subject: Re: [WiX-users] binary dependencies in binary stream > From: Bob Arnson <b...@joyofsetup.com> > To: General discussion for Windows Installer XML toolset. > <wix-users@lists.sourceforge.net> > Date: 4/10/2009 6:05 AM > > <div class="moz-text-flowed" style="font-family: -moz-fixed">Leo ... > > wrote: > >> How could I include two binaries where one references the other in > >> the binary stream for use as custom actions? > > > > There's no built-in support for that; you'd need another custom action > > to stream out the dependency. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users