The file install occurs too late for your purposes.  You'd need to have what 
you need in the Binary Table and then stream the executable files to a 
temporary location from which you could build a path/command line and run it.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-----Original Message-----
From: Jack Sojourn [mailto:jack.sojo...@gmail.com] 
Sent: Thursday, April 17, 2014 2:02 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Tough scenario copying files

I have a situation where on install a file in my msi may be in use on upgrades. 
 I have a custom action that will get rid of any lock on the file.  however 
this custom action has to be run as a 64bit process which it does now.

so I need to run the custom 64bit exe file during install before copying the 
files to the destination directory....

1. extract files
2.  run custom action
3. copy files to dest dir

is it possible to run the custom action exe before all the files are copied to 
the dest dir?  (i.e. does the msi extract somewhere first where I could run it?)

or I could have the msi copy files (even if one fails because in use), then run 
CA, the copy them again.

any suggestions on how I could do this?

Thanks.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to