Results 1 to 5 of 5

Thread: Setting the installer/web update Version Info from a file

  1. #1

    Default Setting the installer/web update Version Info from a file

    I have a multi-dll and exe project and I have a version.ini file where I set
    my version info. Then when compiled my apps read the version ini and set
    the version resource to the info in the ini. So I can change one file then
    batch compile and all my apps have the same version info.

    I would like for Setup Builder to read the version info from one of my files
    and change the version resource file version, the web deployment product
    version and the compiler variable productver all to match.

    I have tried a few things using Get File Information(Product Version
    (Resource)) of file "C:\Projects\CRM\Bin\GDM.Exe" but I am not sure how to
    access the variables.

    Thanks

    Eddie

  2. #2

    Default Re: Setting the installer/web update Version Info from a file

    Eddie,

    You cannot use "Get File Information" because this function is only
    available at runtime, no at compile time. What you could try is the
    following:

    You have this c:\version.ini file:

    [$MY_VERSION$]
    Value=5.0.0.0

    Then in your script, do the following to read the version value into your
    [PRODUCTVER] compiler variable:

    #const $MY_VERSION$ = Get Value from INI file: c:\version.ini
    #set compiler variable [PRODUCTVER] = "$MY_VERSION$"

    Does this help?

    Friedrich

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

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

  3. #3

    Default Re: Setting the installer/web update Version Info from a file

    Friedrich,

    That works for setting the PRODUCTVER compiler variable but I still need to
    set the version resource for the setup exe and the web update product
    version. Is there any access to set/change them from the script?


    Thanks

    Eddie

  4. #4

    Default Re: Setting the installer/web update Version Info from a file

    Eddie,

    You can use the [PRODUCTVER] compiler variable in the Version Resource ->
    File Version field and the iDeploy Web Update -> Product Version field.

    We are doing the same with our SetupBuilder installations. We read the
    version value from a version.ini file and use it in the above fields.

    Does this help?

    Friedrich

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

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

  5. #5

    Default Re: Setting the installer/web update Version Info from a file

    Friedrich,


    Thanks, I have it now. I was trying to do it in the script editor.


    Eddie

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Webupdate Version Info
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 10-04-2006, 05:20 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. Passing a variable to the Web Update file
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 13
    Last Post: 12-14-2005, 12:19 AM
  4. Cannot open and compress service file - error
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 6
    Last Post: 12-06-2005, 04:40 AM
  5. iDeploy WebInstaller/WebUpdate
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 3
    Last Post: 07-06-2005, 01:24 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
  •