Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    12

    Setting automatically %ProductVer% SessionVariable

    Can SetupFactory read the FileVersion of my file to avoid me update manually the SessionVariables Product version row?

    %ProductVer%

    I always forget to do it.

    thks

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    No, there is no way for it to automatically pick up the product's version for the installer. However, if you build your installs from an automated build tool such as Final Builder or Visual Build, you can write the version out to an INI file and pass it to Setup Factory as a build constant. See the Command Line Options section of the Help file for more details.

  3. #3
    Join Date
    Jun 2005
    Posts
    470
    I also forget this, can't say how many times I had to recreate & reupload setups.
    Finally I did sort of what Brett suggested, created a small .vbs file that reads the version of my main .exe, works like this

    execute the command
    filever /a /d app.exe > ver.txt

    read the version from ver.txt
    delete ver.txt
    update an .ini file with the new version
    launch SF with this .ini as a param

    requires filever.exe which is a small free command line tool from Microsoft, google if you don't have it already
    Last edited by pww; 03-16-2007 at 04:54 PM.

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2004, 08:00 AM
  2. Setting my Application to Expire After Thirty Days
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 02:45 PM
  3. INFO: Setting Environment Variables
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 12:07 PM
  4. HOWTO: Make a Batch File Close Automatically
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-10-2002, 10:17 AM
  5. HOWTO: Make a Batch File Close Automatically
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 10:17 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