+ Reply to Thread
Results 1 to 6 of 6

Thread: ProductVer variable

  1. #1
    Join Date
    Nov 2011
    Location
    Las Vegas, USA
    Posts
    9

    Default ProductVer variable

    Hi Friedrich,

    In the SB7 program, on the General Information page, under the Version Resource section, you provide for File Version and Product Version. (I wish you also had a Build Date, but I made my own).

    But on the Compiler Variables page, you only provide a [PRODUCTVER] variable and not a [FILEVER] variable.

    What's a bit strange is, the [PRODUCTVER] variable gives you the File Version value.

    New topic: is there a way to have Registry entries for InstallationDate and InstallationTime and use the %Date% and %Time% environmental variables?

    Thanks.

    Bob

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

    Default Re: ProductVer variable

    Bob,

    Product Version in the "General Properties" defines the value for [PRODUCTVER] compiler variable and is the complete product version for the product. The setup registers the major and minor version numbers and the DisplayVersion as required by Windows logo guidelines. There is no [FILEVER] compiler variable, but you can define your own if you want. BTW, [PRODUCTVER] does not give you the File Version value. But you can use [PRODUCTVER] in the File Version "Version Resource" if you want, no problem.

    You can have whatever you want in the Registry. Just retrieve the installation date and/or installation time in your script ("Get System Info..." script function) and then write it to the registry (Edit Registry... script function).

    Hope this helps.

    Friedrich

  3. #3
    Join Date
    Nov 2011
    Location
    Las Vegas, USA
    Posts
    9

    Smile Re: ProductVer variable

    Hi Friedrich,

    OIC, you have two Product Version entries on the General Information page.

    One in the Product Properties sections; the other in the Version Resource section.

    Bob

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

    Default Re: ProductVer variable

    Hi Bob,

    Yes, and that is correct. Product Version in the "Product Properties" (format should be AA.BB.CCCC.DDDD) and Product Version in the "Version Resource" are completely different animals.

    But you can use the value from the Product Properties in both fields if you want, that's no problem. See attached screenshot.

    Hope this helps.

    Friedrich
    Attached Images Attached Images  

  5. #5
    Join Date
    Nov 2011
    Location
    Las Vegas, USA
    Posts
    9

    Smile Re: ProductVer variable

    Got it. Thanks.

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

    Default Re: ProductVer variable



    BTW, SetupBuilder 7.6 is nearly around the corner. But if you find any other typo or bug, please let me know. We still have some time to fix it.

    Thank you for your help.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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
  •