Setting Up the Training Application


When you launch the setup program for the Training application, the first thing you see is the Microsoft Visual Basic interface for the setup program (as shown in Figure 15-1).

click to expand
Figure 15-1: The user interface for the setup program, which requires you to specify where to place the Training application

The setup program takes the information you provide and sets up the application; you don't have to perform any extra steps. The setup program does the following:

  • Detects whether you're running Exchange or SharePoint. The rest of this list assumes that you are running Exchange. As mentioned earlier, the application can run on both Exchange and SharePoint.

  • Establishes an ADO connection to the Exchange Server so the Connection object can be used throughout the setup process and certain parts of the setup can be transacted and rolled back.

  • Creates the Exchange Server folders.

  • Creates the custom schema, including custom content classes and properties.

  • Creates messages in the Emails folder, which contains the HTML templates for the notification e- mails sent by the application.

  • Prompts the user for which categories to create for training events and stores those categories in the Configuration folder.

  • Creates a security group in Active Directory that will contain the users who are instructors for the application.

  • Creates the IIS virtual directory and copies the Web files to it.

  • Creates a Windows file share for the course materials.

  • Copies and registers the event dynamic link libraries (DLLs).

  • Registers the event DLL files as a COM+ application.

  • Creates the event registrations for the application that will handle new course notification, survey notification, and survey result compilation.

  • Imports, registers, and enables the workflow process definition.

  • Creates the event registrations for the workflow process.

  • Installs Web Storage System forms for file upload and course material viewing.

  • Sets the default security on the application folders.

The setup program completes other tasks as well, but I won't detail those that are unrelated to Exchange Server or are noncritical application deployment steps, such as creating virtual directories in IIS using Active Directory Services Interfaces (ADSI). To learn more about such steps, you can look at the source code for the setup program, which is among the book's sample files.

Note  

You must run the setup program directly on your Exchange server. You must also be an administrator of both the Windows and Exchange Server systems.




Programming Microsoft Outlook and Microsoft Exchange 2003
Programming MicrosoftВ® OutlookВ® and Microsoft Exchange 2003, Third Edition (Pro-Developer)
ISBN: 0735614644
EAN: 2147483647
Year: 2003
Pages: 227
Authors: Thomas Rizzo

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net