|
-
Jul 30th, 2006, 01:25 AM
#1
Thread Starter
Fanatic Member
exe of project
i am having my project in vb which is multiuser.
when i have to install it on any machine, i make setup of project.
and install it.
when i have to make any change to my project, each time i have to make new exe. and copy that exe to each client machine's c:\program file\.. folder.
Can there any method to copy exe on each machine rather i will change only at one machine and will get updated to each machine ?
-
Jul 30th, 2006, 02:13 AM
#2
Re: exe of project
Do you have a network? If so here are a few ways:
1) Have them run it from the server.
2) Have the logon process copy the file if it is newer.
3) Have your program can check to see if it is the latest version and if not then spawn a process to copy the newer version.
-
Jul 30th, 2006, 02:21 AM
#3
Thread Starter
Fanatic Member
Re: exe of project
if i put one exe on server and create its shortcut to each machine, then
it gives error.
There is network.
i didn't get your 2nd option.
-
Jul 30th, 2006, 02:26 AM
#4
Re: exe of project
Giving us the error message would probably help...
The second option would have have a logon script on the server that would copy your file to each users machine when they logon. A network administrator would have to do this one.
-
Jul 30th, 2006, 02:30 AM
#5
Thread Starter
Fanatic Member
Re: exe of project
Thank you so much.
Can you tell me anything more about it.
which i can do.
-
Jul 30th, 2006, 02:37 AM
#6
Re: exe of project
The third option is basically the same except you don't need and administrator.
The second option: There is an area in each users logon profile that can run a script upon loging on. This script would basically check your program and copy the file. The script is just a simple batch file.
-
Aug 20th, 2006, 05:39 AM
#7
Thread Starter
Fanatic Member
Re: exe of project
3) Have your program can check to see if it is the latest version and if not then spawn a process to copy the newer version.
i want to use this option, but how i can state a code to copy exe which is actually running at the same time ?
-
Aug 20th, 2006, 03:32 PM
#8
Re: exe of project
There are plenty examples of a program update on the forum. Basically all you need to do is to check the version number of your program exe and if it is lower than the current version you copy the new one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|