Home | Previous Page | Next Page   Using BladePack > Packaging for InstallShield 3.1 Installations >

Establishing Content

You can add these objects to your product in BladePack:

To add a file or directory or a change to the registry
  1. Choose Edit > Insert > object, where object is File to Install, File to Delete, Directory to Install, Directory to Delete, or Change to Registry.

    The object appears on the Files/Directories page.

  2. Specify the properties of the object on the Details and other pages in the item view.

The following sections describe the properties of the objects on the Files/Directories page.

Files and Directories to Be Installed or Deleted

The following table lists properties you define when you add files and directories to install or delete.

Property
Description
Local name
The local name of the file or directory to be installed or deleted. Choose Browse to select a file from the Open dialog box.

You can have multiple operating-system-specific files to install. See Local Paths for Files for Multiple Operating Systems for more information.

Target directory
For files and directories to install only.

The directory in which the file or directory is installed.

See Specifying a Target Directory for more information.

Target operating system
The operating system on which to install the file or directory.
Component
The component, subcomponent, or shared component to which the file or directory is assigned.

See Assigning to Components for more information on assigning to components.

File copy options
For files and directories to install only.

Options for copying files, including whether the DLL is installed only if it has the same or later date or version than the existing DLL. The default is None.

File sharing options
For files and directories to install only.

Whether and how a file can be shared. The default is None.

See File Sharing Options for more information.

Icon options
For files to install only.

Whether the file has an associated icon and information about that icon. The icon appears in the program group. Icons are typically used for applications, read me files, or help files; DataBlade modules do not require icons. The default is no icon.

Local Paths for Files for Multiple Operating Systems

If you have files that are operating-system-specific, put them in a directory structure that is the same except for one directory, which is named for the operating system. When you add the file to your BladePack project, replace the directory named for the operating system with %OS%.

For example, if you compile your C or C++ DataBlade module on Sun Solaris and Windows, you have two project.bld files, one in each of these directories:

Add the project\src\c\WinNT-i386\project.bld file to the Files to Install folder and then replace WinNT-i386 with %OS%. When you build the BladePack project for Sun Solaris and Windows, BladePack adds the appropriate project.bld file to each project.

For a Java DataBlade module, you have only one version of the project.jar file, which is in the project/src/java directory.

Specifying a Target Directory

You have the following options in the list for the Directory on target machine field:

The target directory for the DataBlade module files (project.bld and the SQL scripts) should be the extend\project directory under the $INFORMIXDIR directory.

File Sharing Options

For files in the Files to Install folder, choose one of these file sharing options from the Copy Options page:

Registry Changes

You can add entries to the Windows registry for the initialization and configuration of your DataBlade module and its associated programs.

Refer to your Microsoft Developer Studio documentation for information about the registry.

To add registry changes
  1. Choose Edit > Insert > Change to Registry.
  2. Complete the Registry Changes Details page in the item view.

The following table lists the properties you define when adding registry changes.

Property
Description
Registry hive
The standard primary registry keys under which you want to add a key:
Registry path
The key you want to add, expressed as a path.
Key name
The name of the key.
Key value
The value of the key.
Component
The component, subcomponent, or shared component to which the file or directory is assigned.

See Assigning to Components for more information on assigning to components.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]