Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: VB5,VB6
Expertise: Intermediate
Sep 12, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Silent install with VB6 Deployment and Packaging Wizard

VB6 Deployment and Packaging Wizard's resulting setup.exe has a command line switch that allows for a silent install. This feature is virtually undocumented except in the source code for Setup1.exe. The default path for the project file of Setup1 is:

C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp

To do a silent install, the following syntax is required:

setup.exe /s c:\anylogfilename.log
The filename that follows the /s parameter must include the full path name.

The silent install is only interupted (that I could see) when the install encounters the "Setup is attempting to copy a file that is older than the one currently..." dialog. This interruption doesn't occur if the setup contains the latest versions of the files being installed.

Bruce Kellerman
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date