SAMPLE: Setup1.exe Fully Automating MSDE Setup with PDW

ID: Q234626


The information in this article applies to:


SUMMARY

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

In order to use this customized Setup1.exe program, do the following:

  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 …\VB98\Wizards\PDWizard to a different folder for later use.


  3. Place the customized Setup1.exe file in the …\VB98\Wizards\PDWizard folder.



MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:

http://www.microsoft.com/mcsp/
For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

http://www.microsoft.com/support/supportnet/refguide/
MSDE_INS.exe
Release Date: June-04-1999

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

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


Complete the following steps in order to distribute MSDE automatically with the Package and Deployment Wizard:
  1. On the original development computer, start the Package and Deployment Wizard. Choose a Visual Basic project and click Package.


  2. In the Package And Deployment Wizard -Package Type dialog box choose 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, choose the Single Cab or Multiple Cab option.


  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 wish to have as shared.


  8. Continue through the wizard and 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. Once the installation is complete, you should be able to see two program groups on your window’s desktop; one for MSDE service manager and one for your Visual Basic application.



REFERENCES

For additional information on MSDE, please refer to the following Knowledge Base articles:

Q232619 INFO: MSDE for Visual Studio Resources and Readme Contents
Q231923 HOW TO: Redistribute MSDE Using the Package and Deployment Wizard
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Ammar Abuthuraya, Microsoft Corporation.

Additional query words: kbfile


Keywords          : kbfile kbDatabase kbVS kbMSDE100 
Version           : WINDOWS:1.0,6.0
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: June 16, 1999