« AdminStudio 9.0 training at Ictivity Training | Home | ThinApp on Windows 7 Beta 1 »
Run application before ThinApp application start
December 17, 2008

In some cases you want an application to start another application before it starts. Such as applications with a client executable and a server executable or applications which uses other applications to communicate with. One thing you have to know before is if the application is inside or outside the virtual environment.
ThinApp scripting allows you to execute custom code by adding a simple .vbs file to your ThinApp project directory after you capture it. Just copy the following code into a .vbs file and save it into the same directory as your package.ini file.
Outside virtual environment
Function OnFirstParentStart
Set Shell = CreateObject("Wscript.Shell")
Shell.Run "<path-to-executable>.exe"
End Function
Inside virtual environment
Function OnFirstParentStart
ExecuteVirtualProcess("<path-to-executable.exe>")
End Function
Topics: VMware | No Comments »






