ADT/ODE: How to Use the Setup Wizard to Join Workgroup

ID: Q150063


The information in this article applies to:
  • Microsoft Access Developer's Toolkit, version 7.0
  • Microsoft Office 97 Developer Edition Tools

Advanced: Requires expert coding, interoperability, and multiuser skills.


SUMMARY

This article describes how to join a run-time application to a workgroup file (SYSTEM.MDW) located on the network.


MORE INFORMATION

The following example demonstrates how to use the Microsoft Office 97 Developer Edition Tools (ODE) or the Microsoft Access Developer's Toolkit For Windows 95 (ADT) Setup Wizard to create a custom setup routine which joins a workgroup file (SYSTEM.MDW) on a network drive.

  1. Start the ODE or ADT Setup Wizard.


  2. On the Introduction screen click "Create a new set of setup options...."


  3. Click Next to move to the next screen which states:


  4. 
       Add the files that you want your custom Setup program
       to copy and then set properties for each file. 
  5. Click Add.


  6. Select the Northwind.mdb database, and then click Add.


  7. Click the "Set as Application's Main File" box.


  8. Click Next to move to the next screen which states:


  9. 
       Add the shortcuts that you want your custom
       Setup program to create and then set the
       properties for each shortcut. 
  10. Click Add.


  11. Type "Northwind Traders" (without the quotation marks) in the Description box.


  12. Make sure the File To Open box specifies the full path to the Northwind.mdb database, for example:


  13. 
       C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb 
  14. Do one of the following.


  15. In the Microsoft Office 97 Developer Edition Tools

    On the General Shortcut Properties tab, click "I would like to specify my own custom command Line."

    In the Microsoft Access Developer's Toolkit

    Under Command-Line Style, click "Specify My Own Custom Command Line."
  16. Clear the Command Line box and type the following
    
       "MSACCESS.EXE" /Runtime "$(FilePath)\NORTHWIND.MDB"
       /Wrkgrp \\SERVERNAME\SHARENAME\SYSTEM.MDW 
    where SERVERNAME is the actual server name and SHARENAME is the path to the folder where the SYSTEM.MDW is located. (Make sure to type the quotation marks.)

    NOTE: When using the Microsoft Access Developer's Toolkit for Windows 95, you must modify the command line to read as follows:
    
       "C:\Program Files\Common Files\Microsoft
       Shared\Microsoft Access Runtime\MSACCESS.EXE" /Runtime
       "$(FilePath)\NORTHWIND.MDB" /Wrkgrp
       \\SERVERNAME\SHARENAME\SYSTEM.MDW 
    where SERVERNAME is the actual server name and SHARENAME is the path to the folder where the SYSTEM.MDW is located. (Make sure to type the quotation marks.)


  17. Click Next twice to move to the screen which states


  18. In the Microsoft Office 97 Developer Edition Tools

    
       You may now add redistributable Microsoft Office, Microsoft Jet,
       and ODBC components to your custom Setup program. 

    In the Microsoft Access Developer's Toolkit

    
       Which of the following Microsoft Access components do you want your
       custom Setup program to include? 
  19. Click Microsoft Access Run-Time Version and Workgroup Administrator.


  20. Click Finish. When prompted to save the current Setup template, click No.


NOTE: When the run-time application is later installed, it will create a shortcut that will automatically point to the SYSTEM.MDW file on the network. To view this shortcut, click Start, go to Programs, and click Applications to locate the shortcut icon.

Additional query words:

Keywords : kbsetup StpNet
Version : WINDOWS:7.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: July 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.