November 28, 2020
Hot Topics:

Customising Your Setup - Part 1

  • By Dax Pandhi
  • Send Email »
  • More Articles »

Well, now we get down to additional coding. By default, FrmWelcome is shown, but we want frmWelcomeX to show, so, in frmSetup1's code change the following:

Private Sub ShowWelcomeForm()If Not gfNoUserInput ThenFrmWelcome.Show vbModalEnd IfEnd Sub


Private Sub ShowWelcomeForm()If Not gfNoUserInput ThenFrmWelcomeX.Show vbModalEnd IfEnd Sub

With that, we finish our coding. Now:

  • Compile Setup1.exe, overwriting the one in VB98\Wizards\PDWizard\

Now rename all copies of Setup1 everywhere on the hard drive the P&D Wizard sometimes replaces the new one with an older copy if found in c:\Windows\, so this is a precaution.

Now, every time you use the Package & Deployment wizard, it will use your new setup files!

Top Tip: After a setup is created by P&D Wizard, add the Internet Transfer Control and any other OCX used in setup1.exe to the bootstrap file. (Setup.lst). You may want to refer to MSDN VB Documentation for more reference. You can find it at http://msdn.microsoft.com/library/

Page 8 of 9

This article was originally published on November 20, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

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