Have problem to change property MYAPPDIR inside a vbs file.
Created a Custom Action where a run a vbs file. In Action Data add [APPDIR]
In vbs file:
Code: Select all
path = Session.Property("CustomActionData")
If Right(path, 1) = "\" Then
pathNew = Left(path, Len(path) - 1)
Else
pathNew = path
End If
Session.Property("MYAPPDIR")=pathNew
Thanks