This came from the GW Toolkit manual for getting details from a WEPM package.
Has something changed about using Info ?
' This example creates a details object containing name, version,
' and stopprompt properties.
Set Info = SharedObjects("com.GWMicro.GWToolkit.Info").NewDetails
Set Details = Info.GetDetails("h:\Scripts\ScriptTemplate.wepm")
If Not Details Is Nothing then
speak "nothing here"
else
MsgBox Details.Name
MsgBox Details.Version
MSGBox Details.StopPrompt
End If
' Retrieving Details.Name would return the internal name of the script
' Retrieving Details.Version would return the script version number
' Retrieving Details.StopPrompt indicates whether the script
' will prompt the user to stop all running scripts before installing