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
- :
- Re: How to read Release Flags in VB custom action?
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
‎Sep 24, 2008
09:43 PM
How to read Release Flags in VB custom action?
Hello,
Custom action is created using VB script. I need to read Release flags.
Can I access it directly using ISRelease Flags?
Should I somehow call MsiGetProperty ?
approximate code:
dim releaseFlags
set releaseFlags = ?????
dim IE
set IE = CreateObject("InternetExplorer.Application")
IE.visible = TRUE
IE.Navigate("http://XXX/XXX.asp?act=" + releaseFlags)
Thank You.
Custom action is created using VB script. I need to read Release flags.
Can I access it directly using ISRelease Flags?
Should I somehow call MsiGetProperty ?
approximate code:
dim releaseFlags
set releaseFlags = ?????
dim IE
set IE = CreateObject("InternetExplorer.Application")
IE.visible = TRUE
IE.Navigate("http://XXX/XXX.asp?act=" + releaseFlags)
Thank You.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2008
02:21 AM
There is a property called ISReleaseFlags which is designed to retrieve the value of release flags. In InstallScript, I use MsiGetProperty to get its value.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2008
10:07 AM
To get the property value in VBScript, you can use Session.Property("ISReleaseFlags").
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2008
02:20 PM
RobertDickau wrote:
To get the property value in VBScript, you can use Session.Property("ISReleaseFlags").
Exactly what I need (access flag in VB script). Thank You.