Executing VBS files from within a CyberInstaller package
Here is how to execute a .VBS file embedded into your CyberInstaller package, without using a batch file:
- STEP 4 "Data": add your files to the packages, with the file .vbs you want to be executed
- STEP 8 "External Applications": add an external application in the list "Applications to be executed AFTER installation", by clicking on the proper "Add" button
- In the window that will appear, insert the followings parameters:
Description: VBS description
Local path: cmd.exe
Embed into package: NO
Startup folder: |$SystemPath$|
Command line parameters: /c "|$AppPath$|\filename.vbs" (do not forget quotes!)
Execution mode: syncronous
User confirmation: your choice
That’s all: if everything is correct, at the end of the installation the vbs file added to the package (in the example called "filename.vbs") will be directly executed.
Wednesday, May 7th, 2008 : CyberInstaller Suite : No Comments
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Name: Sergio