I need to know the folder name above the SETUPEXEDIR because I need to place this name in an inifile.
[SETUPEXEDIR] = c:\MySourceFolder\MyApplicationSetupFile\
= c:\MySourceFolder\
Code: Select all
path = Session.Property("SETUPEXEDIR")
If Right(path, 1) = "\" Then
pathNew = Left(path, Len(path) - 1)
Else
pathNew = path
End If
Session.Property("FINAL_PATH") = Left(pathNew, InStrRev(pathNew, "\") )
FOLLOW US
Get the latest news in Application Packaging