PDA

View Full Version : Why do it want to reboot?



NewsArchive
02-03-2006, 05:05 AM
I created a Web install and it works well. I created the Web update using
the same install but a higher version number and when i call wupdate.exe, it
runs and replaces the origional installed files BUT at the end says that it
is necessary to "reboot the PC..do it now or later?"

I can't figure out why this is coming up. It is not necessary to reboot and
i dont think it is in the install. I really don't want the reboot message in
the web update.

Any ideas?

Thanks

Skip

NewsArchive
02-03-2006, 05:05 AM
Skip,

If you don't have a "Reboot" function in your script, then your update
replaced a in-use files. What you can do is to check for in-use files
before the installation process starts. Then ask the user to shut-down
the application.

If you don't have the Reboot function in your script and the installer
ask for a reboot then a reboot *IS* necessary!

Does this help?

Friedrich

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

"point. click. ship" - that's SetupBuilder 5

NewsArchive
02-03-2006, 08:49 AM
Friedrich,

Hummm..

The only inuse file would be wupdate.exe. That might be it, as I am using
the same install to update as i did to initially install. Just the version
number changed.

Skip

NewsArchive
02-03-2006, 08:49 AM
Skip,

No, wupdate.exe is not in-use (if you are using the standard wupdate.exe
we provide).

wupdate.exe downloads the Web Installer Update Package and terminates
immediately. You can update wupdate.exe without any problem. There
must be another file(s) in-use.

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

"point. click. ship" - that's SetupBuilder 5

NewsArchive
02-03-2006, 10:03 AM
Thanks Friedrich,

Hummm..Let me play with it some more and get back to you next week.

No files should/are be in use. If it is ok, I might send the install and
the link to the install to you next week and let you give it a go.

Skip

NewsArchive
02-03-2006, 10:03 AM
Skip,

Yes, you can send me the install (and script) next week.

If you don't have the "Reboot" script item in your script, then the
update process definitely replaced an in-use file. Only this action
asks for a system reboot.

You can place the "Start/Stop Delayed File Install" script item around
your files to make sure a system does not reboot. But in your case,
if a file is in-use, the installer performs a rollback.

Thanks,
Friedrich

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

"point. click. ship" - that's SetupBuilder 5