Microsoft KB Archive/234626

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


SAMPLE: Setup1.exe Fully Automating MSDE Setup with the Package and Deployment Wizard (PDW)

Article ID: 234626

Article Last Modified on 8/9/2004



APPLIES TO

  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
  • Microsoft Data Engine 1.0



This article was previously published under Q234626

SUMMARY

The Setup1.exe file is a customized installation program that is made when it is employed with the Setup Toolkit project, Setup1.vbp. When used with the Package and Deployment Wizards, it automatically distributes MSDE with Visual Studio applications.

To use this customized Setup1.exe program, follow these steps:

  1. Extract the Msde_ins.exe file into another folder of your choice. You will get Setup1.exe and Readme.txt files.
  2. Copy the original Setup1.exe file that ships with Visual Studio version 6.0. from the \VB98\Wizards\PDWizard folder to a different folder for later use.
  3. Place the customized Setup1.exe file in the \VB98\Wizards\PDWizard folder.


MORE INFORMATION

The following files are available for download from the Microsoft Download Center:

FileName Size
Setup1.exe 244 KB
Readme.txt 1.70 KB



To distribute MSDE automatically with the Package and Deployment Wizard, follow these steps:

  1. On the original development computer, start the Package and Deployment Wizard, select a Visual Basic project, and then click Package.
  2. In the Package And Deployment Wizard -Package Type dialog box, click Standard Setup Package.
  3. Click Next and leave the default settings.
  4. Click Next. On the Package And Deployment Wizard - Included Files dialog box, click Add. Include the following files within the setup wizard:

    - readme.txt
    - msdex86.exe
    - unattend.iss
    - license.txt
    - Any custom database (.mdf file) that needs to be used with MSDE on the target machine

  5. Click Next. On the Package And Deployment Wizard - Cab Options dialog box, click either Single Cab or Multiple Cab.
  6. Click Next. On the Package And Deployment Wizard - Installation Title dialog box, choose a setup screen title.
  7. Continue through the wizard, selecting the default settings until you reach the Package And Deployment Wizard - Shared Files dialog box. In this dialog box, mark the components you want shared.
  8. Continue through the wizard, and then click Finish. The package is now complete and can be installed onto target computers.
  9. Run Setup on the target computer and MSDE will be installed automatically.
  10. After the installation is complete, you can see two program groups on your desktop: one for MSDE service manager, and one for your Visual Basic application.


REFERENCES

For additional information about MSDE, click the article number below to view the article in the Microsoft Knowledge Base:

231923 HOW TO: Distribute the Microsoft Data Engine (MSDE) With the Package and Deployment Wizard (PDW)



Additional query words: kbfile

Keywords: kbinfo kbdownload kbdatabase kbfile kbappsetup kbsample kbwizard KB234626