Thanks Quadiago,
I’m new to Installers, VB and VBScript. I’m not using an IDE to create the VB programs, I use VBsEdit and NotePad++.
This is what I have found.
Console Application
To compile
vbc SomeFile.vb
An Advanced Installer custom action will open a command window in the background if the executable is a console application.
Using the above script sample does hide the window and allows you to set the working directory.
Windows Application
To Compile
vbc SomeFile.vb
/t:winexe
An Advanced Installer custom action will
NOT open a command window in the background if the executable is a windows application
Compile options
/target:exe Create a console application (default). (Short form: /t)
/target:winexe Create a Windows application.
/target:library Create a library assembly.
/target:module Create a module that can be added to an assembly.
This web site discusses the difference between a console application and a Windows application (not much of a difference).
http://www.microsoft.com/mspress/books/ ... /6259.aspx
Bob