PDA

Click to See Complete Forum and Search --> : Run an EXE before Setup runs


hafizfarooq
Oct 2nd, 2006, 12:22 PM
Hello all,
I have create a SETUP.EXE using InstalledSheid X Express for my S/W
I want that when a user open Setup.EXE or double Click on Setup.EXE, another Exe file runs before setup process.
Is it possible ?
Please help me

Hack
Oct 2nd, 2006, 12:32 PM
The simplest way to accomplish this would be to write a program that does what every you need done, and then executes your SETUP.EXE.

I would rename the InstallShield file from SETUP.EXE to something else (perhaps Install.Exe or something like that.) The program that you write to do whatever you need done and call that program you could compile into SETUP.EXE so it would be reasonably transparent to the user what was being done and they would only have to run a single SETUP.EXE file.

Of course, both .Exe files would have to be shipped to the customer.

RobDog888
Oct 2nd, 2006, 12:33 PM
Yes, you can run multiple setup projects with InstaShield but I am not familiar with the Express version.

What is this other exe that needs to run before the setup? Maybe there is a better logic solution to this.

hafizfarooq
Oct 2nd, 2006, 12:38 PM
Its an Installation Password Form, if user gives the correct password the installion should start otherwise user is unable to install that S/w

RobDog888
Oct 2nd, 2006, 12:42 PM
Then the better logic is to use some form of Registration serial number. ;)

hafizfarooq
Oct 2nd, 2006, 12:58 PM
will u please explain in depth ?

RobDog888
Oct 2nd, 2006, 01:17 PM
Just like you cant use or install allot of programs without a serial number issued to the person that purchaed the program. When you buy Windows, Office, PhotoShop,etc. they all require a registration/serial number before allowing it to be installed or allowed to run after installation. ;)

hafizfarooq
Oct 2nd, 2006, 01:55 PM
so h ow can i do this ?
I want that if i give my S/w to anyone, he will not able to re sale or install on any other's Pc

RobDog888
Oct 2nd, 2006, 01:58 PM
Not sure what language your using but here is just one example or a program registration scheme (http://vbforums.com/showthread.php?t=232146).

randem
Oct 3rd, 2006, 03:20 AM
Most decent installer packages have that capability, but it is not wise to have a registration or password to install the software. To operate it yes but not to install it, but it can be done.