PDA

View Full Version : Replacing in-use files



NewsArchive
04-22-2008, 01:49 AM
Running SB 5.0. I'm using a tool called True Update to perform auto
updating. So a file called Update.exe is actually controlling the update
process and running during the installation. This file is also in the
delivery package so the installer will always try to overwrite it. Note
that the Update.exe calls the setup program with the /S switch. So the
install will always warn that a reboot is necessary because the Update.exe
file was in use.

Looking for any way around this... I tried setting the overwrite conditions
to never but it still seems to request a reboot.

Kingsley Klosson

NewsArchive
04-22-2008, 01:50 AM
> Looking for any way around this... I tried setting the overwrite conditions
> to never but it still seems to request a reboot.

That is just the way it works.

If the file is in use, SB queues the file for replacement at the reboot and
warns that the update won't be complete until it is done.

What you could try is to use the SB feature to detect that the True Update
executable is running, then send a command to it to shutdown. There is a
option to forcibly close it as well.

You'd need to setup a loop in the script to detect if the file is running,
send the terminate command, wait xxx seconds, test again to see if it is
running and/proceed or exit.

Does that help?


A simpler question perhaps is why not just upgrade to the latest and use
SetupBuilder's own web update feature?

;-)

Charles




--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-22-2008, 01:51 AM
> Does that help?
> Charles

> Does this help?
> Friedrich

Notice the similarities, both answering in the SetupBuilder newsgroup -

Could this possibly BE - conjoined twins?! :-D

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/

NewsArchive
04-22-2008, 01:51 AM
>
>> Does that help?
>> Charles
>
>> Does this help?
>> Friedrich
>
> Notice the similarities, both answering in the SetupBuilder newsgroup -
>
> Could this possibly BE - conjoined twins?! :-D

<VBG> ;-)

Friedrich

NewsArchive
04-22-2008, 01:52 AM
More likely an extended version of:

"I feel like Friedrich!"
"I feel like Charles!"

of course it is real bad when the wives say:

"You need some rest - you look like Friedrich!"
"You need some rest - you look like Charles!"

;-)

Charles

--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-22-2008, 01:53 AM
I used to use True Update and ditched it when their upgrade prices went
through the roof.

I then bought SB and never looked back. Why pay twice - use SB's web update
feature and be done with it.

FWIW

John Fligg

NewsArchive
04-23-2008, 02:49 AM
No, it doesn't help. In this case, there is no need whatsoever to reboot.
I will probably have to change my overall strategy on this.

Kingsley Klosson

NewsArchive
04-23-2008, 02:50 AM
> No, it doesn't help. In this case, there is no need whatsoever to reboot.
> I will probably have to change my overall strategy on this.

To replace an in-use file in Windows, a reboot is required to handle this.
But if you think a reboot is not required, you can disable this process in
SetupBuilder or do not replace the Indigorose True Update executable at all.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner