Some construct referencing the corresponding File ID (Here quick & dirty for a MSI DLL) ? <CustomAction Id="NewCustomAction1" FileKey="twain_32.dll" DllEntry="test" />
2011/3/8 Mark Tempel <mark.tem...@shavlik.com>: > I'm trying to avoid including the file in the binary table because it is an > extra 900K added to a 6.5Meg installer. > > It is a dll that I need to unpack and explicitly load from a custom action. > The action will be run before files are copied to the install directory > (where this dll will have to live for the product). > > I was hoping someone here know how to get this file out of the cab and into > a temp directory from a custom action. > > Thanks for the suggestion though. > > --mark > > Mark Tempel > Sr Software Engineer > Shavlik Technologies LLC. > > On Mon, Mar 7, 2011 at 3:58 PM, Wilson, Phil <phil.wil...@invensys.com>wrote: > >> There is a type of custom action (resolves to type 18 and variations) that >> specifically means run this exe being installed with the product as a custom >> action. As long as you want to run it after the files are installed that's >> fine, but I suspect you wouldn't be asking if that was the situation. >> >> It's ok to put it in the Binary table if you need it before that, as long >> as it has no dependency issues and isn't enormously bloated. Why is >> including it twice a bad thing? >> >> Phil Wilson >> >> >> -----Original Message----- >> From: Mark Tempel [mailto:mark.tem...@shavlik.com] >> Sent: Monday, March 07, 2011 11:23 AM >> To: wix-users@lists.sourceforge.net >> Subject: [WiX-users] Using a file from media in a custom action. >> >> Hello, >> >> I am in a situation where I need to use a file in a custom action that I am >> also laying down as part of the file set stored in the cab build into my >> MSI. >> >> Is there a way to get that file out of the cab from a custom action? I >> know >> I can include the file in the binaries table, but that would mean I'm >> including it in my installer twice. I'd like to avoid that. >> >> Thanks, >> >> Mark Tempel >> Sr. Software Engineer >> Shavlik Technologies LLC. >> >> ------------------------------------------------------------------------------ >> What You Don't Know About Data Connectivity CAN Hurt You >> This paper provides an overview of data connectivity, details >> its effect on application quality, and explores various alternative >> solutions. http://p.sf.net/sfu/progress-d2d >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> *** Confidentiality Notice: This e-mail, including any associated or >> attached files, is intended solely for the individual or entity to which it >> is addressed. This e-mail is confidential and may well also be legally >> privileged. If you have received it in error, you are on notice of its >> status. Please notify the sender immediately by reply e-mail and then delete >> this message from your system. Please do not copy it or use it for any >> purposes, or disclose its contents to any other person. This email comes >> from a division of the Invensys Group, owned by Invensys plc, which is a >> company registered in England and Wales with its registered office at 3rd >> Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For >> a list of European legal entities within the Invensys Group, please go to >> http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77 >> . >> >> You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail >> recept...@invensys.com. This e-mail and any attachments thereto may be >> subject to the terms of any agreements between Invensys (and/or its >> subsidiaries and affiliates) and the recipient (and/or its subsidiaries and >> affiliates). >> >> >> >> >> ------------------------------------------------------------------------------ >> What You Don't Know About Data Connectivity CAN Hurt You >> This paper provides an overview of data connectivity, details >> its effect on application quality, and explores various alternative >> solutions. http://p.sf.net/sfu/progress-d2d >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users