Databases Reference
In-Depth Information
From here you can choose which files you want to include in your application's supporting objects install section.
Clicking Create Script generates and includes a script for each individual object. When the wizard is complete, you're
taken back to the Install tab and can see the scripts that were generated (see Figure 10-17 ).
Figure 10-17. The Install tab after generating scripts for the file shared components
once the script for a file shared component has been generated, there is no tieback to the original file object.
if you change an image file or the contents of a CSS or JavaScript file, you need to regenerate the script for the shared
component. When regenerating a script, be careful to delete the original, because it won't be overwritten; instead a new
script is created and added to the install script list.
Note
Upgrade
The Upgrade tab is very similar to the Install tab, allowing you to create or generate scripts. But in this case, the scripts
are used to upgrade an existing application's supporting objects if the installer finds that the application is already
installed in the workspace.
The installer does this by letting you write a query to check for the preexistence of supporting objects in the
schema. If the query returns one or more rows, then the upgrade script set is run in place of the install script set.
Deinstall
This section allows you to define a single script that drops the database objects and static files created by the install
or upgrade scripts. When you generate install scripts for supporting object files, API calls to deinstall these files are
added to the deinstall script automatically. However, you need to add the necessary code to drop the appropriate
database objects manually.
 
 
Search WWH ::




Custom Search