any one will help me, its regarding app. setup

nilesh
06-15-2002, 09:14 AM
I need one help that my application setup must run one time only and second time it should get terminated automatically when setup started. so what will be the logic behind it.

ChiefRedBull
06-15-2002, 09:22 AM
The logic behind it would be -

When it is run, check for the existance of a flag somewhere on the system
This flag maybe a registry key, a file, or anything else that you choose.
If the flag is "true", then the setup has aready been run, so shut down.
If the flag is "false", then this is the first time, so carry on
If the flag is "false", set it to "true"

Agent
06-15-2002, 09:23 AM
Why do you want to do this? So files don't get overwritten or
something?

You could use SaveSetting and GetSetting for this.

anhmytran
06-15-2002, 10:15 AM
The application setup package is created by Microsoft VB.
We do not know the code of the Setup.exe file,
but we know that it should run any time until completed.

If you are not satisfied with it, you may create it yourself.
However, it is not worth doing that: extremly high cost.

anhmytran
06-15-2002, 10:58 AM
You can check the Registry manually by
Window Start Bar -- Run -- and enter Regedit
However, the setup.exe does not have option
for your request.
Whatever you do with the registry does not help
you to work on the setup.exe.
As I said, it is created by MS, and it runs until the end
without interuption by user. It can run many times.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum