i have exe installer, and i'm trying to get installer filename.
I'm using custom action "Launch attached file" and i created and attached the script.
Code: Select all
Dim folderName
folderName = Session.Property("AI_SETUPEXEPATH")
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
Dim objFile
Set objFile = fso.GetFile(folderName)
Dim sName
Set sName = objFile.Name
Session.Property("val1") = sName
Problem is that i can't execute this script, installer will end because of error, but i can't find the reason.
As i can say issue is with this command: Session.Property("val1") = sName
Any ideas?
Thanks.
FOLLOW US
Get the latest news in Application Packaging