PDA

View Full Version : Run a VB exe File


gauravbr
01-07-2004, 04:12 AM
hello,
i am new to Setup factory. I have come to this after viewing it.
I have a problem in executing a visual Basic exe file.
can anyone tell me how to execute a Visual Basic exe file before the installation begins. I check for key number in this exe file, if the key matches then the file exits and the setup program should continue running the setup.

I have my programs which are to put in the setup file are in directory d:\prog

and i want to run a VB exe file called "validate.exe" which is in d:\prog before the installation of the program.

Please help me

Adam
01-07-2004, 02:38 PM
You will have to make this exe a primer file. Primer files are extracted as soon as the setup is run. You can then use the actions in the "startup" tab to execute this file and perform any further actions based on the execution of that file. You can then use the "Abort" action in that script to abort the install at any time.

There is information on Primer files in the help documentation.

Worm
01-07-2004, 04:19 PM
You also need to be sure the VB runtimes are on the machine

gauravbr
01-10-2004, 07:07 AM
Thank You for ur Suggestion
My software is working in a very conditional manner