Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Neet to run a program before InstallShield
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051261
Message ID:
01051782
Views:
7
Russell,

Another suggestion would be to use a simple vbScript.

for example:

myCopy.vbs
SourceFile = WScript.Arguments(0)
TargetFile = WScript.Arguments(1)
SET oFSO = Createobject("Scripting.FileSystemObject")
oFSO.CopyFile SourceFile, TargetFile
Or:
SET oFSO = Createobject("Scripting.FileSystemObject")
oFSO.CopyFile WScript.Arguments(0), WScript.Arguments(1)
[Update] Sorry I forgot to launch InstallShield
SET oShell = Createobject("WScript.Shell")
oShell.Run("""C:\Program Files\InstallShield\Express 5.0 Fox Pro\ISIDE.EXE""")
[Update 2] Ooops. You do not need to run ISIDE, but your installation program, but it would be similar to launching ISIDE or any other exe.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform