cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RomanGuzi
Level 3

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.
Labels (1)
0 Kudos
3 Replies
irenejia
Level 4

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.
0 Kudos
RobertDickau
Flexera Alumni

To get the property value in VBScript, you can use Session.Property("ISReleaseFlags").
0 Kudos
RomanGuzi
Level 3

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.
0 Kudos