This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Simple version variable
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2007
04:17 PM
Simple version variable
How do i use the version number from a basic msi project in a dialog and can i call it and use it in a sql script
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2007
04:49 PM
I don't fully understand your question, but you can use the version number in a SQL script by doing a text replacement. See the Text Replacement tab when your script is selected in the IDE. It's best to have some known token for the "Find What" and use the property in brackets for the "Replace With" value. e.g. [ProductVersion]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 09, 2007
11:11 AM
Thank you you did answer my question for the scripting and sql portion. I was also wondering about the product version variable that i could use on a custom dialog so it displays I use %P for the Product Name.
so the custom dialog window says something like
Installing %P(productname) %[?] (VersionNumber)
so the custom dialog window says something like
Installing %P(productname) %[?] (VersionNumber)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 09, 2007
04:50 PM
Take a look at the InstallWelcome dialog in the Dialogs view. You'll see several places where the [ProductName] property is used. At runtime this gets replaced with the ProductName from the Property table. You can do this for any property including the [ProductVersion] property.
Does that answer your question?
Does that answer your question?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2007
08:29 AM
Thank you for your help, that worked. 🙂