NewsArchive
07-06-2005, 01:23 AM
I've been playing with this technology and trying to fully understand
it. I have been able to make it work after a bit of experimentation,
but I don't feel comfortable that I'm using it correctly because I
don't completely understand the intended implementation. I think I
have follow the instructions exactly.
So, here are some questions I hope can be clarified for me...
Maybe if I describe what I've tried this will be easier to answer...
Here is what I have done in my testing and it seems to be working but
I don't think it is right...
I created a standard installer for my app like always. Then I
followed the directions under "Using WebUpdate in Your Installation"
then "To install the WebUpdate Client" steps 1-9. (My client would
download this installer from a web hyperlink or install CD and run it
just like any other program install). No problems here. So far so
good ???
Then I followed the directions "To create a WebUpdate installer".
1) I do not understand these comments from the help...
"We suggest to develop a "dynamic" WebUpdate. The WebUpdate Client
downloads a "dynamic" WebUpdate image (does not include any files).
This dynamic WebUpdate image can retrieve just the pieces needed for
the user's specific requirements."
Then a few steps down it says in step 8...
"Develop your installation. Add updated files, registry entries, etc.
It's a good idea to add "Start Delayed File Install" and "Stop Delayed
File Install" script function around your files."
QUESTION: What is this "Dynamic WebUpdate Image" WHICH DOES NOT
INCLUDE ANY FILES?
QUESTION: When I create an update I need to include only those files
that have been updated in this version update, right?...
Or every time I do an update do I keep adding additional files that
have been updated in this new and all previous updates since the
original full installer?...
Or should my updater contain everything that is in my original full
installer and it will figure out what the client needs?
I have created some WebUpdate installers and uploaded them to my web
site directory. The update did work when I check for them in my app.
Note: In my example my WebUpdate installer just had one file in it,
the exe, which I changed between each update. (and the update did
work each time from my app)
Now my web directory contains all of these files...
myAppSetup.exe (The full initial install)
myApp_Upd1.00001
myApp_Upd1.exe
myApp_Upd1.00002
myApp_Upd2.exe
myApp_Upd1.00003
myApp_Upd3.exe
myApp_Upd1.00004
myApp_Upd4.exe
myApp_Upd1.00005
myApp_Upd5.exe
myAppUpd.ini (the current one from myApp_upd5)
Should I be deleting all of the previous myApp.0000x and myApp_Updx
files when I upload a new update? I only see the files for the most
current SB5 when I look in your SB5 update web site directory.
As you can probably see, I'm confused, hopefully this description will
provide you with enough information to correct my ways :)
Thanks!
Kelly E Major
PS: Regarding uninstalls: When I create a folder under "Program
Files" and then add a shortcut in it to my app I have the opton to set
the shortcut to be uninstalled but no such option exists for the
folder. When I run an uninstall the shortcut is removed but the
folder always remains (empty). Shouldn't there be an option to delete
the folder as well? Thanks Again.
it. I have been able to make it work after a bit of experimentation,
but I don't feel comfortable that I'm using it correctly because I
don't completely understand the intended implementation. I think I
have follow the instructions exactly.
So, here are some questions I hope can be clarified for me...
Maybe if I describe what I've tried this will be easier to answer...
Here is what I have done in my testing and it seems to be working but
I don't think it is right...
I created a standard installer for my app like always. Then I
followed the directions under "Using WebUpdate in Your Installation"
then "To install the WebUpdate Client" steps 1-9. (My client would
download this installer from a web hyperlink or install CD and run it
just like any other program install). No problems here. So far so
good ???
Then I followed the directions "To create a WebUpdate installer".
1) I do not understand these comments from the help...
"We suggest to develop a "dynamic" WebUpdate. The WebUpdate Client
downloads a "dynamic" WebUpdate image (does not include any files).
This dynamic WebUpdate image can retrieve just the pieces needed for
the user's specific requirements."
Then a few steps down it says in step 8...
"Develop your installation. Add updated files, registry entries, etc.
It's a good idea to add "Start Delayed File Install" and "Stop Delayed
File Install" script function around your files."
QUESTION: What is this "Dynamic WebUpdate Image" WHICH DOES NOT
INCLUDE ANY FILES?
QUESTION: When I create an update I need to include only those files
that have been updated in this version update, right?...
Or every time I do an update do I keep adding additional files that
have been updated in this new and all previous updates since the
original full installer?...
Or should my updater contain everything that is in my original full
installer and it will figure out what the client needs?
I have created some WebUpdate installers and uploaded them to my web
site directory. The update did work when I check for them in my app.
Note: In my example my WebUpdate installer just had one file in it,
the exe, which I changed between each update. (and the update did
work each time from my app)
Now my web directory contains all of these files...
myAppSetup.exe (The full initial install)
myApp_Upd1.00001
myApp_Upd1.exe
myApp_Upd1.00002
myApp_Upd2.exe
myApp_Upd1.00003
myApp_Upd3.exe
myApp_Upd1.00004
myApp_Upd4.exe
myApp_Upd1.00005
myApp_Upd5.exe
myAppUpd.ini (the current one from myApp_upd5)
Should I be deleting all of the previous myApp.0000x and myApp_Updx
files when I upload a new update? I only see the files for the most
current SB5 when I look in your SB5 update web site directory.
As you can probably see, I'm confused, hopefully this description will
provide you with enough information to correct my ways :)
Thanks!
Kelly E Major
PS: Regarding uninstalls: When I create a folder under "Program
Files" and then add a shortcut in it to my app I have the opton to set
the shortcut to be uninstalled but no such option exists for the
folder. When I run an uninstall the shortcut is removed but the
folder always remains (empty). Shouldn't there be an option to delete
the folder as well? Thanks Again.