Steve S wrote: > I've got an issue where I need to reference a file in my install that is > used in a custom action that I've got. The install is a web install and > therefore I can't refer to the file as if it were on a CD or any media. > Problem is that the custom action needs to happen *before* the InstallFiles > action, so I can't refer to the installed location to find the file. >
MSI doesn't offer a way to extract files on demand, except from the Binary table. You need to include the file in the Binary table, then write your CA to stream the data out to a temporary file. Be aware of security implications of where the temporary file gets written. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users