 |
 |

06-15-2002, 09:14 AM
|
|
|
any one will help me, its regarding app. setup
|
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.
|
|

06-15-2002, 09:22 AM
|
 |
ISearchGoogle
Retired Moderator * Expert *
|
|
Join Date: May 2001
Location: england
Posts: 6,321
|
|
|
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"
|
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
|

06-15-2002, 09:23 AM
|
|
Senior Contributor
|
|
Join Date: Oct 2001
Location: North Carolina of the U.S.A.
Posts: 1,008
|
|
|
Why do you want to do this? So files don't get overwritten or
something?
You could use SaveSetting and GetSetting for this.
|
__________________
Search the forums if time permits and use the [vb][/vb] tags to put VB code in your post.
|

06-15-2002, 10:15 AM
|
|
Senior Contributor
Retired Moderator * Guru *
|
|
Join Date: Aug 1999
Location: Hartford, Connecticut, 06
Posts: 1,487
|
|
You should create the Setup exe yourself
|
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.
|
|

06-15-2002, 10:58 AM
|
|
Senior Contributor
Retired Moderator * Guru *
|
|
Join Date: Aug 1999
Location: Hartford, Connecticut, 06
Posts: 1,487
|
|
Check the registry
|
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.
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|