+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Web update issues

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Web update issues

    I'm testing the web deployment functionality of SB5, and I find a number of issues:

    1) If I delete a file from my installation package, it is not deleted from a user's machine when they upgrade. It is left orphaned and will remain on their system until deleted manually -- uninstallation does not remove it either.

    2) Web installation claims that it will only download files that have changed between versions, but it downloads all the files regardless.

    3) The FTP uploader uploads all files regardless of whether they have changed. In addition, if I have deleted any files, I am left with extra installer files that are not actually in use.

    My goal is to provide an installer that will both a) install on a clean system and b) update an existing installation by downloading only files that have changed. If files are deleted from my build, they should be deleted when users upgrade. Can SetupBuilder meet my needs?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Web update issues

    Hi Tim,

    Thank you for your message and your interest in SetupBuilder.

    > I'm testing the web deployment functionality of SB5, and I find a number
    > of issues:
    >
    > 1) If I delete a file from my installation package, it is not deleted
    > from a user's machine when they upgrade. It is left orphaned and will
    > remain on their system until deleted manually -- uninstallation does not
    > remove it either.

    You only have to add a "Delete File" script item and you are done.

    > 2) Web installation claims that it will only download files that have
    > changed between versions, but it downloads all the files regardless.

    Did you enable the "Check File (CRC)" File Replacement Option (see File
    Properties dialog)?

    > 3) The FTP uploader uploads all files regardless of whether they have
    > changed. In addition, if I have deleted any files, I am left with extra
    > installer files that are not actually in use.

    Yes, this is correct and by design. It's not possible to automatically
    upload only "new files". The date/file stamp of files on the server is
    always <> the original file/time stamp. And to generate a CRC32 of all
    server files, we would have to download all files first (not a good
    idea).

    > My goal is to provide an installer that will both a) install on a clean
    > system and b) update an existing installation by downloading only files
    > that have changed. If files are deleted from my build, they should be
    > deleted when users upgrade. Can SetupBuilder meet my needs?

    No problem. Most of our customers are doing this all the time. And our
    own SetupBuilder 5 full installs and web installs are doing this. The
    web install only downloads changed files are deletes files not needed
    any longer.

    Please drop me a line if you have any further questions.

    Friedrich

  3. #3

    Default Re: Web update issues

    Quote Originally Posted by linder
    You only have to add a "Delete File" script item and you are done.
    Is there a way to automate this? Our product contains over 7000 files, included with a *.* filter. Diffing directories between builds and manually adding Delete File items for each deleted file is more work than I want to do.

    I'll have to keep a list of Delete File items for every file that's been deleted ever, so that a user upgrading from version 1 to version 3 doesn't miss the files that got deleted in version 2. I have to wrap each Delete File in an If File/Folder exists block to prevent errors when another user upgrades from version 2 to version 3. If a file is added back, I need to remove its Delete File item. I need to consider duplicate items as I add new entries.

    My experience with Wise suggests that Windows Installer keeps track of installed files via 'components'. Seems like it should be possible to figure out which files/components no longer exist and delete them.

    SetupBuilder is everything we're looking for, except for this issue.
    Last edited by timbojones; 12-20-2005 at 04:01 PM.

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Web update issues

    Tim,

    I this an "update only" installation, or does it also install the full version?

    If it is an update, I can think of a new switch in the Auto Update Generator to let SetupBuilder automatically add remove files/folder statements in one of the next builds. It should not be a problem to add this.

    What do you think?

    Friedrich

  5. #5

    Default Re: Web update issues

    Ideally, we would have one set of release files with one installer. Our current solution involves one monolithic installer which we update with each released version and a series of patches between each release. The patches are nice and small, but very fragile.

    If we were to release a full install and an update install, we'd have to disallow updates via the full installer.

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Web update issues

    Okay, thanks for the info.

    IMO, it's always a good idea to provide both full installs and (web) updates because it's easier to maintain.

    If something goes wrong with the update, the user can still perform a full install.

  7. #7

    Default Re: Web update issues

    Quote Originally Posted by linder
    IMO, it's always a good idea to provide both full installs and (web) updates because it's easier to maintain.
    It is possible to do that without maintaining two nearly-identical parallel installer projects?

  8. #8
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Web update issues

    What we do is the following:

    We create a full SetupBuilder installation. This can be used by new users and those "update users" who are interested in a clean install.

    Then we let "Auto Update Generator" create an (web) update for us. This update makes it possible to bring all (5.0, 5.1, 5.2, etc.) SetupBuilder 5 versions to the latest build.

    I have a few ideas for future SB5 versions on how to handle updates. If you would like to see specific (updates) features in SetupBuilder 5 just drop me a line. SB5 works rock solid now. We are working on enhancements now...

    Thanks,

  9. #9

    Default Re: Web update issues

    How would I enable Web Update in the full install to refer to the update installer?

    Our compressed installation is 1.5 GB, I don't want our users to have to download that all at once. That's why we're looking at web deployment in the first place. Seems like you're suggesting a single monolithic installer and a partial update installer?

    Do I understand correctly, that you run auto update using the first vs. the latest revision? Were file deletion implemented as part of auto-update, that method would still leave orphans if they are added after v1 and deleted later.

    I think in order for file deletion to work properly in an automated fashion, the installer will have to know which files are part of the existing installation, and remove them if they are not part of the incoming upgrade.
    Last edited by timbojones; 12-22-2005 at 02:50 PM.

  10. #10
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Web update issues

    Tim,

    You only have to configure the iDeploy Web Update client (see "Using Web Update in Your Installation" online help or PDF manual topic). This gives your software the ability to check a specified location on the Internet for updates.

    Yes, we run Auto Update using the first (in our case the Gold version) vs. the latest revision.

    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Web Update
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 7
    Last Post: 10-03-2006, 04:41 AM
  2. SetupBuilder 5.5 Update Information [July 11, 2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 07-13-2006, 07:04 AM
  3. Configure iDeploy Web Update
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 05-17-2006, 02:36 AM
  4. Web Update Issues?
    By Unregistered in forum SetupBuilder
    Replies: 2
    Last Post: 11-14-2005, 09:48 AM
  5. SetupBuilder 5 (beta) Web Update feature "update"
    By linder in forum SetupBuilder
    Replies: 0
    Last Post: 10-04-2004, 05:15 AM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •