Database Reference
In-Depth Information
Figure 10-17. The Install tab after generating scripts for the file shared components
Note Once the script for a file shared component has been generated, there is no tie-
back 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 regen-
erating 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.
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 sup-
porting objects if the installer finds that the application is already installed in the work-
space.
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 up-
grade 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
 
Search WWH ::




Custom Search