Results 1 to 2 of 2

Thread: How To ... WebUpdate setup

  1. #1

    Default How To ... WebUpdate setup

    [Saturday, February 12, 2005 8:37 PM]

    Hello all,

    As I passed the last two days working on this with Friedrich's help I
    thought I might as well let you know a kind "help" to acheive this :

    1. Read and carefully follow Friedrich's previous email on this to setup the
    original exe and the update exe ( Web Updates Posting of the 08/02 )

    2. If you need to have file versioning and you cannot do this from Clarion
    then the solution is to use for example CRC cheking : in the update script
    select all the files to be added and right click to get to properties and
    select CRC instead of "always"

    3. The important thing is to get in the update script the version numbers
    higher than the original exe in BOTH the iDeploy other places will not
    affect

    4. Copy the update exe and clusters files along with the ini file ( it
    contains the latest version number ) created in the /Web directory of your
    install path to your server ( be carefull to paths and downloading rights )

    5. To give the path of your install you can - if applicable - also use
    simply the following to read from registry setting previously written :

    Set Variable %_SB_INSTALLDIR% to GetReg("Installation Path") from
    HKEY_LOCAL_MACHINE\SOFTWARE\yourapp
    If %_SB_INSTALLDIR% Equals "" Then
    Message Box "yourapp has to be installed first before applying this
    update..." -- "Your message heading text"
    Exit Installation
    Else
    Set Variable %SB5ACTIVE% to Detect Active Application(yourapp.exe)
    If %SB5ACTIVE% Equals "1" Then
    Message Box " You must close the app..." -- "Your message heading
    text"
    End
    End

    Of course change to your personal app's messages...
    This is to check the path in registry (plus message if not previously
    installed) and then message to close the app if running

    7. If you are as lazy as I am and have a multitude of files which "can" be
    modified : include all of them in your update exe and if the crc or version
    depending ... of only one or two has changed then only those one or two
    files will be downloaded by the users!

    8. If you are lazier than this ( I am too) you can take a look at the
    install_tmp log file to get the number of the cluster file modified (one or
    two only...) and upload only those one or two cluster files along with the
    exe and ini files ( saves time in big upgrades !)
    Friedrich promised to have a report of some sort available in a coming
    version to get this number directly and avoid uploading all cluster files!

    9. If you need to multi select in the script : Ctrl and left mouse ( I had
    not realized so ... )

    10. Personalize your updates in the text and messages sheet....convenient
    for Updating YourApp etc ....

    11. If you want your app to be started at the end of the update then use the
    Run program sheet BUT in the script afterward take the line to the bottom of
    it ( otherwise starts before the user clicks on "Finish" !) it should look
    like this (last line)
    Loop Wizard
    Handle Wizard Events()
    End
    Run Program %_SB_INSTALLDIR%\yourapp.exe (Always Install)

    that's about it!

    If you need more help .... i'll help if I can

    thank you

    jean-Pierre

  2. #2

    Default Re: How To ... WebUpdate setup

    [Sunday, February 13, 2005 12:34 AM]

    très gentil, Jean-Pierre.
    Merci!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Different install options within one setup file
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 08-02-2006, 05:32 AM
  2. Setup types
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 3
    Last Post: 03-27-2006, 08:35 AM
  3. iDeploy
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 03-18-2005, 02:44 AM
  4. SetupBuilder 5 Developer Edition (#1033) WebUpdate
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 17
    Last Post: 02-03-2005, 01:55 AM
  5. Two bugs in Define Setup Type
    By sphair in forum SetupBuilder
    Replies: 3
    Last Post: 10-06-2004, 09:08 AM

Posting Permissions

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