🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11302

Automatic Software Update

#11302
From: Curt
Date: Wed, 18 Feb 2004 08:47
13 lines
1463 bytes
I have an application with a (half working) automatic update feature.  When
requested, the app goes to a web site and downloads any updated files to a
temporary directory on the PC.  My problem is that I can't find a way to
reliably install the updates because the application itself has a lock on
the underlying executable file.  I've thought of firing up a script which
sleeps for a few seconds in order to allow the application to exit but that
doesn't seem like the best solution.

Ideally, I would like to close the application, update the files and then
automatically restart the updated application.

Thanks,
Curt
Technical Details
Message-ID: <40332606$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,96d6688d5f3db8a7,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-18 01:09:37 PST
From: "Curt" <a@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Automatic Software Update
Date: Wed, 18 Feb 2004 00:47:19 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 208.13.134.8
Message-ID: <40332606$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077093894 208.13.134.8 (18 Feb 2004 00:44:54 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail