Post a reply to the thread: ProductVer variable
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
Will turn www.example.com into [URL]http://www.example.com[/URL].
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
Re: ProductVer variable
Re: ProductVer variable Got it. Thanks.
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
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
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
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
ProductVer variable
Forum Rules