Re: Installing over an existing application.
From: Randy Stowe (bowl101_at_humboldt1.com)
Date: 11/24/04
- Previous message: Randy Stowe: "Re: Installing over an existing application."
- In reply to: Vince: "Re: Installing over an existing application."
- Next in thread: Randy Stowe: "Re: Installing over an existing application."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 21:02:37 -0800
Thanks.
I think I will try using a stub file and either close the application
or run it, depending on if a file exists that is created when I go for the update
If it exists, kill it and re run the main application, if not just exit normallyl.
Thanks.
Randy Stowe
Vince wrote:
> My two cents:
> I tried the same thing and it seems to work alright, except on some
> occasions. What I did was to create a batch file which:
> 1) Kills the application using a tool called process.exe (google and you'll
> find it. It's freeware)
> 2) Replace the EXE with a xcopy /y
> 3) Terminates
>
> It does not run the original file again. You could have a message box to
> tell the user to run the file again (which is what I do).
>
> vince
> "Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
> news:elYc2gByEHA.3024@TK2MSFTNGP14.phx.gbl...
>
>>Randy Stowe wrote:
>>
>>>I don't need a setup program, just a way to kill the application so
>>>we can unzip a file to replace the exe file with the update.
>>>
>>>The main program is already installed, we are just trying to replace the
>>>exe file.
>>
>>You'll need to either create a batch file that prompts the user to make
>>sure the app is shut down completely before proceding (you can launch
>>that batch file with Shell and immediately shut the app down) or... what
>>I like is a "stub" exe that starts instead of your app, checks for
>>updates, replaces any files that need replacing and then launches the
>>"real" app.
>>
>>Bottom line is... You won't be able to replace an exe that's in use.
>>
>>--
>>Ken Halter - MS-MVP-VB - http://www.vbsight.com
>>Please keep all discussions in the groups..
>
>
>
- Previous message: Randy Stowe: "Re: Installing over an existing application."
- In reply to: Vince: "Re: Installing over an existing application."
- Next in thread: Randy Stowe: "Re: Installing over an existing application."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|