First, I am new and i try the software.
I am in "Architect" mode. I add a dialiog sequence with "Edit Box" and i would like get value enter by user in Powershell script.
How in the custom action (PowerShell script) can I get the text value ?
Code: Select all
001: param($_msiPropOutFile)Code: Select all
Dim text_box
text_box = Session.Property("EDIT_2_PROP")
MsgBox("Text enter by user: "+text_box)Code: Select all
$msiProps = @{ "YOURPROP1" = [i]Session.Property("EDIT_2_PROP")[/i]; "YOURPROP2" = "abcd" }
$msiProps.Keys | % { "$_ : " + $msiProps.Item($_) } >> C:\testlog.txt Code: Select all
-myPropVal [EDIT_BOX_PROP]Code: Select all
Param ($myPropVal)
FOLLOW US
Get the latest news in Application Packaging