Microsoft Office 2000 Developer |
Solution deployment is the act of moving your packaged solution to either the distribution media you have chosen or to a Web site from which it can be downloaded. There are two ways you can deploy your Office solution:
The Package and Deployment Wizard provides shortcuts and automatically performs some of the same tasks you would have to perform if you manually deployed your solution.
You can deploy to floppy disks using the Package and Deployment Wizard only if you have created your package using the Multiple Cabs option. This option ensures that your package consists of multiple .cab files or of a single .cab that is smaller than the size of a disk. The system gives you the option of formatting each disk before you copy your .cab files to it. You do not have to format the disk, but you must use empty disks for this deployment process.
If you choose to deploy to a directory, the system prompts you to pick a local or network directory into which your files will be copied. You can then either direct your users to access the setup program for your solution from that location, or you can move your files onto CD-ROMs.
Note If you have a writeable CD-ROM drive, you may be able to copy your files directly to that drive using the deployment portion of the wizard, rather than deploying to a directory and then copying the files to your CDs.
You can deploy any package to the Web using FTP. When you choose Web Publishing as your deployment method, the system considers the project folder to be the local base folder for your deployment. The local base folder is used to determine how files and directories should be copied to the Web site you choose. Files and directories that are within the local base directory will be deployed to the Web server with the same directory structure as the base directory.
Note By default, the wizard does not deploy source files from within the project directory or the \Support subdirectory. The packaging portion of the wizard creates the \Support directory and places files in it that can be used to recreate your .cab files.
For more information For more information about deploying Office solutions, see Chapter 2, "Designing and Deploying Office Solutions" in the Microsoft Office 2000/Visual Basic Programmer's Guide.
Whether you deploy your packages with the Package and Deployment Wizard or by hand, there are certain steps that must be taken.
To deploy your packaged solution
Tip If you have not previously run the Package and Deployment Wizard, you may need to access the Add-Ins Manager to make it appear on the Add-Ins menu. Start the Add-Ins Manager, then select the Package and Deployment Wizard, and select the Loaded\Unloaded option. For more information, see Accessing Office 2000 Developer Tools.