Video Screencast Help

Using varaible - in WISE 6.0

Created: 23 Apr 2013 • Updated: 30 Apr 2013 | 1 comment
This issue has been solved. See solution.

Hi,when running MSI package with logging command /L*V, in the log file there is a varaible is called startupfolder. How can use this varaiable in the WISE embedded VBScript.

Operating Systems:

Comments 1 CommentJump to latest comment

EdT's picture

Do you mean Property (rather than variable) ?  Any property can be used in an embedded VBScript using the following method:


You can also set a property from a VBScript variable thus:"PROPERTYNAME") = var

Although I have used the public property naming convention (all capitals), it does also work with other properties.

Some things to bear in mind:

1. If a property is set in the UI sequence, it will only survive into the Execute sequence if it is a PUBLIC property.

2. Make sure you sequence your embedded custom action at a point where the property you are using has a valid value.

3. Property values are only available in the immediate sequence. If you need to run the CA in the deferred sequence, you need to use the CustomActionData property.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.