     29  

      

         .  
         
.    :     
     .  ,  Delphi     
  . 
       Delphi      
   InstallShield  InstallShield Express.  , 
, , InstallShield     
 ,    Delphi.    
 ,      ,   
  InstallShield       
     -.  InstallShield   
   ,        
 - . 

      ,  -  

    ,  ,       . ,  
  ,     . ,   
         . 
     .   ,  
   ,     . 
       ,   
    . 

        

         ,   
  ,      .   
 TCP/IP?        
?        ? 
        ? 
,    ,      
  . 

          

          ,    
-    ? ,     
,    Sybase,   ,   
   ,    Sybase Open 
Client.       ODBC,     
 ?      
/  ODBC-,        
 . 

    612  IV.    

          

           ,  
  ,       . 
-,   ,    ? -,  
    ? , -,    
,         ? 

          

       ,       
   .     ,   
  ,         
 ,     ,    
  ?    ,     
  ?    Database Desktop,  SQL  
- ? 
       ,      
   . ,      
     . 
               
-.     : ",   
  ". ,       ,  
        .  
  ,    /,  
    .     . 
               
.       ,  
InstallShield    .     
        
 InstallShield. 
                
  SQL.         
,        
  SQL. 

      

        InstallShield,    
  Delphi,    - Delphi  
 InstallShield.        Delphi, 
 ,   - Delphi  . 
  InstallShield,      
ISX.EXE,      \Program Files\InstallShield\IS 
Express Delphi Edition.  . 
       InstallShield  ,     
     .    Create a 
New Setup Project,      . 
         New Project.      
,    ,   ,    
  Custom.     
      .   
    ,    . 
        ,      
 Project Name,     Create,    
  (. . 29.1). 
          InstallShield (. 29.2).  
    ,      
 .       
 . InstallShield  ,     
 ,   .       
 Application Information      Set the 
Visual Design. 

     29.  	613 

    . 29.1.         New Project 

      

                
  -1 ,     
.   ,   !  ( 
  ,     .)    
Appli-J cation Information. 

    . 29.2.    InstallShield 

       

       Info   Set the Visual Design (. 29.3) 
   ,   ,  , 
    ,       
 InstallShield. 

    614  IV.    

         Application Name   , 
    New Project.      
80 . ,   . 
      Application Executable      
.       Program Files  
 Groups and Files.      ,   Groups and 
Files.      ,      
General Icon Settings. ,     ,    
.         ,   
    Application Executable. 
     ,       Version  
Company.  ,        . 
           Visual Design  Main 
Window  Features.          
  .      :  
      ,      . 

     Main Window 

      Main Window   Set the Visual Design (. 
29.4).         
.         
 (logo bitmap)      .    
 Main Title       Info  
.     -  ,    
,  ,   .     
 ,          
   ,  .     
  ,      . 

    . 29.3.        Info. 

    . 29.4.  Main Window  InstallShield 

             
.          Browse. 
         (Background Color) Dithered Blue 
( ).       .    
 -    .    
      . 

     29.   615 

     Features 

       Features (. 29.5).    
  , ,     
 .        
Windows 95,     .   
      ,   
,       Windows  ,  
    InstallShield.  ,   
   ,   InstallShield. 
  ,    ,    
 . 
      ,     Visual Design, 
   . 

    . 29.5.        
 Features 


      InstallShield  Delphi 

          ,  
 ,    Delphi.      
, ,  ,    Borland Database Engine: 
          
Borland SQL Links, , ,  . 

      

     ,   Borland    , 
   General Options.    General Options 
(. 29.6).  ,  SQL Links    Borland 
Database Engine. 

    . 29.6.   Borland    General Options 

    616  IV.    

     BDE 

       ,       
 ,      BDE    . 
  ,   ,  Full     . 

      BDE 

            
BDE,     . ,   
        . 
   New    ,    . 29.7. 
         . 
         ,    
    Borland Database Engine  16- 32-. 
 ,   ,        
 . 
        (. 29.8)    
,      ,    
.        . 
    . 
        (,  Paradox  dBASE)  
    . ,      
   InstallShield. ,   
       <INSTALLDIR>. 
              
.       , ,  
    .      
,      , : 

    ENABLE BCD=TRUE 

          ,    
  .    Finish. 

      SQL Links 

       Finish,      General Options. 
        ,  
 SQL Links,   SQL Links.     SQL 
Links: Sybase SQL Server (   DB-Library,   
CT-Library), Oracle, Interbase, Informix, DB2  Microsoft SQL Server (. 
29.9).        Finish. 

    . 29.7.     InstallShield , 
    Delphi 

    . 29.8.     

    . 29.9.   SQL Links,     

     29.   617 

      

            BDE SQL Links,  
    BDE.    BDE  , 
    . 
        ,    
 BDE,    Advanced.   ,  
  . 

        

     Specify Components and Files     
,    .     
    .    
   ,    
      (Custom).  
        . 

       

         ,      
   .    , 
  BDE, InstallShield    Program Files   
 .    Groups and Files,   
  .   Groups   
Specify Components and Files (. 29.10).    Program 
Files,    .  ,      
        ,   
  . 
        ,     
.      Delphi,   
Borland Database Engine,   .   
        ,    
    (   ),    
,  Delphi (DPL-),     
   (DLL-),   DBCLIENT.DLL,  .. 
 DLL    ActiveX,     
,    ,    
 . 
       Launch Explorer  Windows Explorer (). 
 ,      Program Files,   
   Explorer ()   . 
    ,         
  .   ,    
Add Group,       Add Group    
Destination Directory,   ,     
   .    ,    . 

       

      Destination Directory     
  InstallShield.     
     ,      
 ,    Windows   
,  Program Files  .  . 29.1   
     . 
    i ,          
  -|.  ,    
    . ,   
<ProgramFilesDir>\Borland     Borland  

    C:\Program Files. 

        ,     Components. 

    618  IV.    

 29. 1 

  InstallShield     

                  <INSTALLDIR>              
,      (  ) 
<WINDIR> 
 Windows <WIN SYSDIR>                
 Windows SYSTEM 
(SYSTEM32  Windows NT) <WINSYS1 6DIR>             
16-  SYSTEM 
 Windows NT <WINDISK>                     
 ,    Windows <WINSYSDISK>              
 ,   Windows SYSTEM <ProgramFilesDir>     
 Program  Files <CoramonFilesDir>       
 Common   Files [ ]               
   Destination Directory 


    . 29.10.     Groups 


     

        Components     
 .    ,     
    .      
 ,     .     
,   " ". 

      

          ,   
 Setup Types  .   ,     
   Complete,   .      
,      . 
       ,       . 

        

         ,    Dialog Boxes. 
  ,        . 

     29.  	619 

     Dialog Boxes 

       Dialog Boxes.     
(. 29.11).       ,   
       .  
    . 29.2. 

    . 29.11.   Dialog Boxes  ,    
    

     29.2.  ,      
. 

                             

Welcome Bitmap                            
Welcome Message                         
Software License Agreement            
Readme Information                       
Readme User Information                              
Choose Destination Location             
Setup Type                                       (Custom), 
			 (Compact)  
			 (Typical) 
Custom Setup                                  
Select Program Folder                      
Start Copying Files                         
Progress Indicator                           
Billboards 		      
Online Registration                        
Setup Complete                                 

     ,     .    
   .   ,  
      Settings. 

    620	 IV.    

    Custom Setup 

      Custom Setup    ^   , 
    Setup Types    . 
,          Setup 
Types,    Custom Setup  .  Custom 
Setup       . 

      

     ,   InstallShield Express   
16-  .    ,    
 Welcome Bitmap  Billboards.     ,    
 Welcome Bitmap     . 

        

         Registry ,    
.     -   , 
         . 

        

        ,    
 .     General Settings  
 ,      .  ,  
 ,     Starts Programs (^).  
  General Settings      
 . 
      Advanced Settings     Starts 
Programs (^)  .     
  ,       
     . 
            .   
,     General Settings    
    .   
  .        
      .      
   " ". 

       

     ,     .    
  Run Disk Builder.     -  
(disk images),     .   
 -,     .   
 ,     . 
       Disk Builder.      
  (. 29.12)     ( 
  1,44 ).   -    . 
   -   ,    Build. 
       ,   - ,     
      (    
 -,     ).   
 ,    Close. 

     

        .    ,   
  . -,      
   .       . 
    ,    
    .    
          
   . 
    -,             
,     Borland,    , 
      '.  
  ,        
,        Delphi.  
Delphi   

     29.  	621  29.  	621 

       , Windows  ,    
 ,    .  ,   
        ,   
  Delphi,       
    Delphi  . 

    . 29.12.   Disk Builder    , 
     

       Delphi,      
   Disk Builder,    
-      . ,  
 ,   ,   
    - Delphi. 
    :    ,    
InstallShield,  - ,  ,    
          
 .         
        
(  Windows   ).    
     ,     . 
       Test Run  InstallShield   
 .  ,    ,  
    .     
    WISE,  InstallShield,  
       .  
       , 
    .  InstallShield   
, ,      , 
    .    
     ,    . 

      

           ,  
  -       
.        
  -   .      
   Copy To Floppy      (. 
29.13.)    Copy All Disk Images.  InstallShield 
    -  . 

    622  IV.    

       ,       
  .    ,    
     ,     
    .      
        . 
    . 29.13.  -      
     Copy To Floppy 
        ,  ,   
     . 

      

          .   
 ,    .  
    ,   
 ,   .     
   .   ,  ,  
  .  Custom Setup  
     ,   
,     . 

    ,  

             ,   
   File^Close. ,       
,  <Ctrl+N>. ,       New 
Project (. 29.14).        ,  
    ,      ,   
 ,   ,     
 .       
  ,    . 
      Include a custom setup type,   
.     Project Name  .   
     . (,    
       ,  
\DATA  \ Documents;   \ Documents.)   
 Installs    . (    
:,   My Documents    .)    
,    : \ Documents,   installs   
New Subdirectory.       ,  
    . 
            Create,  
 . 

     29.   623 

    . 29.14.          New Project 

          InstallShield.    
   "	1 ",      
,        . 
      ,   , 
   .    . 
  InstallShield	I   . 29.3.

     29.3.   ,     
       InstallShield 

                              

Set the Visual Design      	 ,    
			   
Select InstallShields Objects for Delphi          Borland, 
				   
Specify Components and Files                         ,   
				     
Select the User Interface Components            ,  
				   
Make Registry Changes                                    
Specify Folders and Icons                                   
				 
Run Disk Builder                                           -   
Test the Installati on                                         
Create Distribution Media                              -     

          InstallShield    
Application Information  Set the Visual Design. 

      

         " ",    
          
  ,      .  
   (   ,     
.)    Application Information. 

       

       Info   ,     
 .     ,   
  ,      InstallShield. 

624	 IV.    

        Application Name   ,   
  New Project.  ,   - ;  
     . ,      
  ,   ,   
,    .      80 
,     . 
      Application Name  -: 
    Q        Welcome Message  Choose 
Destination Location; 
    Q           
 .     : : \Program Files\ 
 \ . 

      
         Application Name  
    Choose Destination Location.  
     . 

              
   ^  :  Uninstall, 
  Paths    ".   ,  
,    : 

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Application Name 

          : DisplayName,   
    Add/Remove Programs (   ), 
      Control Panel ( ) 
 ,  Uninstalistring,     
UNINST.EXE,   InstallShield,    . 
     ,   Paths,   : 
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App 

    Paths\YOUREXE.EXE 

             : 

    HKEY_LOCAL_MACHINE\SOFTWARE\Company\Application  Name\Version 

         ,   , , 
 ,          . 
      Application Executable      
.        
Program Files   Groups and Files (     
,        Groups and Files). 
   General Icon Settings   (  
   ).    Browse    
Application Executable     . 
      Version     .   
,        ,  
  . InstallShield      
  Windows VERSIONINFO ,   ,   
  Version. 
     ,     Delphi   Windows 
  ,    13, " ". 
    ,      Company,  
  ,      InstallShield.  
      ;     , 
     ,    
 . 
      Version  Company     
.  . 29.15    Info    . 

     29.   625 

     Main Window 

       Main Window.       
   ,      
   .   Main Title   
  ,       Info,   
    , ,  -  
      . 
       Main Title  . ,   
 ,      . 
        ,     Logo 
Bitmap     ,   .  
 images \Splash  Delphi     
.      16- . 

    . 29.15.        Info 

    . 29.16.  Main Window  InstallShield 

     ,       .  
      .   ,  
  .     ,       . 
      Main Window   . 29.16. 

     Features 

       Features.    ,  
    , ,    
  .     
        ,    
 Visual Design. 

      InstallShield  Delphi 

         ,    
,    Delphi.      
  Borland Database Engine,      
   .        
  Borland SQL Links,   . 

      

     ,   Borland    , 
   General Options. ,   SQL Links   
 BDE. 

    626  IV.    

      

       BDE.     ,  
     BDE:   .   
    Full     . 
       BDE 
           BDE, 
  .   ,    
   .    New   
  (. 29.17)    . 

         . 

        InstallShield  ,   
     Borland Database Engine  16-  
32-.  32-  16-   . 
,    ,    Next. 
       (. 29.18)     , 
      .    
 ,        . 
           ,   
Paradox  dBASE,          . 
 ,     ,    
  (  ),     . 
,   <!NSTALLDlR>\Data  C:\DATA\RENTMAN\DATA,  
   Path  [Data Files],    ,  
  .     InstallShield   
     . 
              . 
   ,  ,   ,   
, : 

    VSER NAME=SYSDBA 


    . 29.17. InstallShield    BDE,  
   

    . 29.18.      

             BDE 
     .    Finish. 

     SQL Links 

       Finish,      General Options. 
         
     SQL Links,   SQL Links. 
      SQL Links.  
   Sybase SQL Server, Oracle, Interbase, Informix, DB2 
 Microsoft SQL Server.        Finish. 

     29.   627 

        

     Specify Components and Files    , 
   .      
     .   
   ,    
       
.            
,         
      . 

       

        ,      
   ,    . 
        : 
Program Files ( ), Help Files ( )  Sample 
Files ( ),   ,   BDE. 
       Groups and Files.   Groups  
 Specify Components and Files (. 29.19).     
Program Files.  ,        
     . 

    . 29.19     Groups 

      Program Files  ,    
.      Delphi,   Borland 
Database Engine,      BDE,      
.      ;    
     .   ,  
  ,     DLL  , 
  ,    .. , 
, ,    ,  
  ,    .  
    Common Files  Program Files. 
      Windows Explorer ()    Launch 
Explorer.  ,      Program Files  
     Explorer (). 
     ,   Program Files ,    
 Help Files       . 
       
   .          
 .        Explorer 
() Windows. 
       Help Files,   Sample Files,    
     .    
  ,      . 

    628  IV.    

              . 
    . 
    1.       Add Group. 
    2.      Group Name    Database Files,    
Destination Directory      <INSTALLDIR>. 
    3.       . 
    4.           Explorer () 
Windows   Data Files.        
  ,  ,     . 
         ,    . 

     

          ,   
   -" ,    
Groups,   ,       
   .  ,    
  ,    ,   . 
        Groups,    ,    BDE: 
 Application Files,  Help and Tutorial Files   
Sample Files.    Groups  Sample Files  ,  
   ;     
,     . 
         ,    
,           . 
           
 ,         Data 
Files.       Application Files.   
   Help Files   ,    
        . 
         Help and Tutorial Files   
.        
, ,  ,       .  
 ,    Help and Tutorial Files   Help Files. 
     Modify Component     Component 
Name   .      Description  
 , : "   ". 
   ,    . 
    ,    ,       
.            
 Application Components,   -     
 File Groups , ,   Add to Application Component, 
    .      , 
    . 
      InstallShield   Program Files  Help Files  
 .  ,  ,    BDE, 
      ,   
  .   ,     Database 
Files,       .   
 . 
    1.	   Database Files   File Groups. 
    2.	   Application Files   Application Components. 
    3.	   Add to Application Component   Database 
Files   Application Files. 
    4.	      ,    BDE. 

    . 29.20    . 

            . 

      

       Setup Types.     
 Specify Components and Files (. 29.21).     
         
: Compact (), Custom ()  Typical (). 
 InstallShield     .   
   . 

     29.  	629 

          .    
    Application Components,       
 Setup Types , ,    Add to Setup Type. 
             
.     ,   
       . 
          
,  ,  , ,    
  .        
,       , 
    . 
         ,   
   . , ,    
. ,    ,   
  .      . 

    . 29.20.       , 
    

              
,      .   Setup 
Types   Compact    Help Files.   
 ,   ,    . 

    . 29.21.   Setup Types      
  

    630  IV.    

        

      ,      
 .      ,  
   Dialog Boxes.     ,  
    . 

     Dialog Boxes 

        ,     
,    Dialog Boxes.    ,  
        .  
,   Setup Type  Custom Setup  .   
,        . 
          
,  , , .    
     Settings. ,    
Welcome Bitmap       Welcome Bitmap, 
a     Settings.    Settings (. 
29.22)       ,   
      . 

    . 29.22.       
  Settings 

    :     Preview   ,  
     .   -. 
,        ,  
    .     
Welcome Bitmap  Billboards,  ,  InstallShield Express 
  16- . 

     Readme    

       Readme      
      . ,     
   ,      
        
 .     ,    Preview  
-_,        Settings. 

      

        Billboards    ,  
   SETUPI.BMP  SETUP1.WMF. ,    
 ,     Settings. 

      

    InstallShield    ,  
    .    
  ,    Pipeline 
Communications (1-800-WIN95REG  WIN95REG@pcpipeline.com). Pipeline   

     29.   631 

      (login ID)   ,   
   .       
 Settings  Online Registration.    ,  
      . 

        

        ,      
   .      , 
     InstallShield     
 .     ,   
    ,     
     .     
 Windows ,       
  "". 
            Windows. 
       . 
         
   .     ,  
     ,    
    .  -  ,   
,       : 
"  ". 

        

           ,   
.    General Settings ,   
    .  ,   ,    
 Start^Programs (^).   General Settings   
    . 
      Advanced Settings ( )  
   Start^Programs (^)  .  
     ,    
        . 
       General Settings.    ,  
 ,     
.        . 
         - , 
 .         
,    .      
 Modify Icon. 
       ,      InstallShield. 

       

       ,       , 
       Run Disk Builder.   
  -  (disk images),    
    .  -    
   -   .   - 
      . 
       Disk Builder.       
   ,    1,44 .    
    -      
 .      ,   
 Build. 
       - ,   - , 
          ( 
    -,     ). 
   -,    Close. 

    632  IV.    

      

         .     
 .        , 
  .    ,    
  ,      Delphi. 
      ,      
 . 
             
,      .     
   ,    . 

       

           ,  
     -    
  .      
    -   .   
 Copy To Floppy,     Copy All Disk Images,  InstallShield 
 -    . 
        .  ,   
   ,        
 .       ,   
,      .  ,  
 ,   ,      
  . 

        

               
 /   .      
,     /     
.          
      InterBase RENTMAN. GDB,   
 RENTMAN.     ,    
          
.       /  
 ,     . 
            SQL.   
          
   .      ,   
       
,   ,    . 
        /    
  SQL. , ,     
SQL      RENTMAN  Microsoft SQL Server.  
,       ISQL,     
SQL Server, ,  : 

    isql   -Usa  -PSaPassword  -Sserver  -iRentMan.SQL   -oRentMan.out 

              
    .  Sybase,  Microsoft SQL Server  
 ISQL,     . 
     ,    RENTMAN     Oracle,  
  : 

    sqlplus   SYS/SysPassword@Server   @RentMan.SQL   InterBase 

   : 

    isql   \\server\rentman.gdb  -i  RentMan.sql  - RentMan.out  -u  SYSDBA 
-p masterkey 

            
  SQL.       ,  
 ,     ,    
 . 

     29.  	633 

     

           ,    
 .       InstallShield 
      .     , 
         
 .      : 
          ,   
, , ,       . 
      ,     
   . 

    634	 IV.    
