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



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Data Engine (MSDE) 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:
FileNameSize
Setup1.exe244 KB
Readme.txt1.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)


Modification Type:MinorLast Reviewed:8/9/2004
Keywords:kbdownload kbAppSetup kbDatabase kbfile kbinfo kbSample kbwizard KB234626