- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- VBScript Property Access
- 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
Hi I need information on if there is any way by which we can edit Property Variables in VBScript
The only thing I know about is how to access them i.e. by using somevariabletostoreproperty = Session.Property("PROPERTY_NAME_TO_ACCESS")
but I was wondering if there is any way by which it can also be edited directly from vbscript???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @soumyam,
Thank you for your post.
If you are asking how to set an MSI property via VBScript, you could try the following VBScript syntax:
Session.Property("MYPROPERTY") = "MyPropertyValue"
Please give this a try. Does it work for you?
Please let us know if you have any questions or concerns. Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @soumyam,
Thank you for your post.
If you are asking how to set an MSI property via VBScript, you could try the following VBScript syntax:
Session.Property("MYPROPERTY") = "MyPropertyValue"
Please give this a try. Does it work for you?
Please let us know if you have any questions or concerns. Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank You for the solution it did work. 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
You Are Welcome, @soumyam; we are happy to help. We are happy to hear that the solution worked. 🙂