I need to open a file during install I try to use VBS
Code: Select all
Function GetLicensePath
Set ObjFSO = CreateObject("UserAccounts.CommonDialog")
ObjFSO.Filter = "License file|*.xml"
ObjFSO.FilterIndex = 3
ObjFSO.InitialDir = "c:\"
InitFSO = ObjFSO.ShowOpen
If InitFSO = False Then
ChooseVersion = 2
Exit Function
Else
Session.Property("LicensePath") = ObjFSO.FileName
End If
End Function
Kind regards
KS
FOLLOW US
Get the latest news in Application Packaging