Re: Installing over an existing application.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Randy Stowe (bowl101_at_humboldt1.com)
Date: 11/24/04

  • Next message: Claudio Heidel: "(-2147024891) Access Denied"
    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..
    >
    >
    >


  • Next message: Claudio Heidel: "(-2147024891) Access Denied"

    Relevant Pages

    • Launching a JAVAW application
      ... I am using a batch file to launch a javaw app. ... windows registry. ...
      (comp.lang.java.programmer)
    • Re: Autolaunch a .bat file
      ... The main purpose of my batch file is to update that particular app. ... put my batch file in the startup directory... ... I'm not sure that CE is able to launch .bat ...
      (microsoft.public.windowsce.platbuilder)
    • Re: launch a .py file from a batch file
      ... I can launch an Excel and Word file fine using, ... The others open fine and no Python app. ... Assuming you're running on Windows XP, try the following line in your batch file: ...
      (comp.lang.python)
    • Re: /sigh/ Latops in a domain...
      ... If you want to launch two applications before the logon screen appears, ... applications and make the batch file as Startup scripts. ... >> You may add all laptop users to a Group in AD, ...
      (microsoft.public.windowsxp.configuration_manage)
    • Re: /sigh/ Latops in a domain...
      ... > If you want to launch two applications before the logon screen appears, ... > applications and make the batch file as Startup scripts. ...
      (microsoft.public.windowsxp.configuration_manage)