Reply to Thread

Post a reply to the thread: ProductVer variable

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 11-20-2011, 06:07 AM
    linder

    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
  • 11-20-2011, 05:57 AM
    Bob Campbell

    Re: ProductVer variable

    Got it. Thanks.
  • 11-20-2011, 05:13 AM
    linder

    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
  • 11-19-2011, 08:24 AM
    Bob Campbell

    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
  • 11-19-2011, 03:25 AM
    linder

    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
  • 11-18-2011, 11:39 AM
    Bob Campbell

    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

Posting Permissions

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