The resulting setup uses the Microsoft Windows-standard Windows Installer (MSI) for the installation routine and will automatically create shortcuts for the solution that use the appropriate Access EXE in cases where two different versions of Access are installed.
The setups created with the Package Wizard can be easily customized. The wizard generates a Windows Installer script that can be modified by anyone who is familiar with the scripting language. In addition, the MSI generated can also be customized by using any third-party tools that support Windows Installer files.
.gif)
Figure 1. Package Wizard Create Product Details form
.gif)
Simplifying Development and Testing
Access 2003 Developer Extensions provide a set of tools for Access solution developers that can reduce the amount of tedious work required in building Access solutions and streamline the production environment. The features described help reduce testing obstacles and produce higher-quality solutions.
Property Scanner Add-In
A common, tedious task when developing a solution can be the need to change the name of a feature or user-interface object that cascades throughout the solution. This requires looking at each module, form, and report created to find the offending string and rename it. With Access solutions that frequently contain many forms and reports, this process can be laborious and time-consuming.
With Access 2003 Developer Extensions, this task is greatly simplified through the use of the Property Scanner Add-In. This tool enables developers to search globally throughout the Access solution for custom strings. The tool searches all the properties or code in tables, queries, forms, reports, and modules—nearly all objects within Access will be searched. When the search is completed, the Property Scanner Add-In provides a search results list and enables the user to jump directly to the object in which the custom string was found.
.gif)
Figure 2. The Property Scanner Add-In enables developers to search for keywords within Access objects
.gif)
Custom Startup Wizard
When you use a single Access solution to deploy Access solutions, developers typically create an MDE file, which is an Access solution (MDB file) that has been stripped of all source code. MDE files provide a secure solution that can then be distributed among one or more customers.
As part of this process, the developer sometimes needs to create multiple MDE versions of the solution, each with a different set of startup properties. This can be a monotonous process in Access, but with the Custom Startup Wizard in Access 2003 Developer Extensions the process is effortless. The developer simply needs to specify the original solution, the destination database, and the additional options and startup settings to be set.
When using a single Access solution to generate multiple MDE files that need to be tested and rebuilt repeatedly, the Custom Startup Wizard can greatly reduce the time required at the end of a development cycle.
.gif)
Figure 3. The Custom Startup Wizard enables developers to easily specify the start options when creating an MDE file
.gif)
Complete Source Code
Often, the best way to learn new coding techniques is to see the source code of shipping solutions. Access 2003 Developer Extensions include the complete source code for the tools included in the product, such as the Property Scanner Add-In, Custom Startup Wizard, and the Package Wizard. Each of these tools is written in Microsoft Visual Basic for Applications (VBA), the primary language used to develop Access solutions. By including the source code, developers can see different coding techniques, such as how to write a solution that can be easily localized into multiple languages.
Developers can also create customized versions of these tools for their own benefit or to meet the needs of their enterprises. For example, the Custom Startup Wizard could be created so that it always creates an MDE file with the startup properties required by their enterprise.