PDA

View Full Version : SetupBuilder 5 questions



NewsArchive
02-10-2006, 06:31 AM
I'm trying to utilize iDeployUpdate. Have two questions:

1. Would like to have a "Check for Updates" menu item on the Frame so that
the user can check periodically. I set this up to simply Run: wupdate.exe.
The problem, of course, is that the app runs wupdate.exe but doesn't shut
down and restart itself as it should. Not sure how to do that.

2. How does one set up the system so that it only updates the changed
..dlls? If I tweak a few things in one .dll app, then I recompile the
installer with SB5. Do I upload all of the nnn files to the web or just the
one that's changed? I tried several scenarios, but the wupdate.exe always
downloads the whole works. There has to be something obvious that I'm
missing.

Many thanks,

Jim

NewsArchive
02-10-2006, 06:31 AM
Jim,

> I'm trying to utilize iDeployUpdate. Have two questions:
>
> 1. Would like to have a "Check for Updates" menu item on the Frame so
> that the user can check periodically. I set this up to simply Run:
> wupdate.exe. The problem, of course, is that the app runs wupdate.exe
> but doesn't shut down and restart itself as it should. Not sure how
> to do that.

We are using the following to ask the user to close the application:

Loop
Set Variable %SB5ACTIVE% to ScriptItem->Detect Active
Application(sbuilder.exe)
If %SB5ACTIVE% Equals "1" Then
Display Message Box "SetupBuilder (sbuilder.exe) is currently
running.."
Else
Break Loop
End
End

And to restart the program:

Run Program %_SB_INSTALLDIR%\sbuilder.exe (Always Install)


> 2. How does one set up the system so that it only updates the changed
> ..dlls? If I tweak a few things in one .dll app, then I recompile the
> installer with SB5. Do I upload all of the nnn files to the web or just
> the
> one that's changed? I tried several scenarios, but the wupdate.exe always
> downloads the whole works. There has to be something obvious that I'm
> missing.

Please make sure the File Replacement Option is set to "Check File (CRC)"

One of the benefits of a web installer update package is that it downloads
only the data necessary for the installation/update.

Does this help?

Friedrich

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

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

NewsArchive
02-10-2006, 06:40 AM
Hi Friedrich: Yep, that helps immensely. Thank you!

Best,

Jim

NewsArchive
02-10-2006, 06:40 AM
Hi Jim,

You are welcome.

Friedrich

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

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

NewsArchive
02-16-2006, 11:31 AM
Where are the nnn files generated?
I change the version number, recompile and I could not find them.
Thanks
Alberto

NewsArchive
02-16-2006, 11:31 AM
Alberto,

The cluster files are generated in the \Web subfolder.

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

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