I can't see the files on the disk after InstallFiles... (I've put custom
action displaying message box just after InstallFiles)

Installation fails with the message 
"Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run. "

Custom action is defined as follows:

--
<CustomAction Id="CustomAction" Directory="TempFolder"
ExeCommand='FullDatabaseSetup.cmd localhost mydatabase' Execute='deferred'
Return="check" />
--

(let's forget for now about bcp.exe)

All files should be copied to the TempFolder during installation (but I can
see that after InstallFiles they are stll not there)

I can't see what I'm doing wrong...


Natalia wrote:
> 
> 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-tp3200359p3201625.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

Reply via email to