Is it possible to run copy or even xcopy from a custom action?
I've created one that has the following properties:
Type: 50
Source: SystemFolder
Target: xcopy.exe /y "[PROPERTY1]" "[PROPERTY2]"
Manually the command runs without any problems, but from the install, it causes an error.
I'm trying to avoid having to write custom code just to copy 1 file.
Anthony
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Running a system executable
Started by
anthonyh
, Jun 25 2002 21:39
2 replies to this topic
Posted 25 June 2002 - 21:39
Product Availability Developer
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Posted 27 June 2002 - 21:16
Hi,
Try this:
Target: cmd /c "xcopy.exe /y "[PROPERTY1]" "[PROPERTY2]""
Best regards,
Try this:
Target: cmd /c "xcopy.exe /y "[PROPERTY1]" "[PROPERTY2]""
Best regards,
Irina Shirinsky
Software Engineer, Heroix Corporation
http://www.heroix.com
Software Engineer, Heroix Corporation
http://www.heroix.com
Posted 27 June 2002 - 21:35
It actually turned out to be the type I was using. It should be 34 instead of 50.
Thanks,
Anthony
Thanks,
Anthony
Product Availability Developer
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project