The files are present on the machine after the InstallFiles action in the InstallExecute sequence, but youll have to make your bcp custom action deferred.
-----Original Message----- From: Natalia [mailto:natalia.gladk...@arcadia.spb.ru] Sent: 03 July 2009 10:47 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Execute sql script using bcp.exe Hello all, I need to run bcp.exe (Bulk Copy Program) in my installation and I have to pass parameter to it - the path to the sql script to run. This script is not on the local machine, it is in my package. So, I gather, I have to copy this script to the hard drive somehow, maybe - to the Temp folder. But I have no idea how can I do this! As I understand, the files being installed by wix are not actually present on the machine before install finalize... Any help would be greatly appreciated. -- View this message in context: http://n2.nabble.com/Execute-sql-script-using-bcp.exe-tp3200359p3200359. html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users