Good Day.
We have a VB script which executes an application (exe) on Windows when the installation of our application is happening. Below is the code we use to execute the exe:
cmdLine = "<application>"
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.Exec(cmdLine)
This vbscript works when you run it on the command line, but in AI the application is not executed. Further research yielded this: "http://www.advancedinstaller.com/user-guide/faq-ca.html". It states that the windows installer does not support wscript objects. Is there any other way to execute the application from AI? The VB script enumerates all the drives in the system and then calls the application for each of the drive letters.
Any help appreciated.
Johan
FOLLOW US
Get the latest news in Application Packaging