InstallShield 1
InstallShield InstallShield InstallShield Windows Installer ISWI ISWI InstallShield InstallShield5 2000 InstallShield2000 2002 Windows Installer WI InstallShield Professional Version 6 ISPro6 InstallShield for Windows Installer ISWI 2
1...4 1.1...4 1.2 InstallShield...5 1.3...5 2 Installshield...11 2.1...11 2.2 ISPro6...12 2.3 ISWI...16 3...22 3.1...22 3.2...23 3.3...24 3.4...25 3.5...26 3.6...27 3.7...28 3.8...29 3.9...31 3.10...32 3.11...33 3.12...34 3.13...35 4...36 4.1...36 4.2...41 5...49 5.1...49 5.2 BDE Oralce...51 5.3 ODBC Access...56 3
1 DOS Windows Internet DOS Windows Internet DOS Windows Xcopy Windows ODBC Internet Web Browser/Web Server 1.1 ODBC Windows 2000 Windows Installer Windows Windows 2000 Windows 98 me Windows Installer Windows Windows 2000 Application Specification for Microsoft Windows 2000 For Desktop Applications \Program Files Windows Installer COM key file 4
CD-ROM CD-ROM Windows HKEY_CLASSES_ROOT Windows system Windows 1.2 InstallShield InstallShield Viresh Bhatia Rick Harold 1987 Windows InstallShield Windows InstallShield Windows InstallShield 2000 Windows Installer Windows InstallShield WPS InstallShield Visual Basic Power Builder InstallShield InstallShield InstallShield Delphi InstallShield Express For Broland Delphi VC InstallShield Express For VC++ 1.3 1.3.1 InstallShield InstallShield DLL 5
6 Office Word Excel Powerpoint InstallShield / / InstallShield 1-1
1-1 1-1 A B 1.3.2 Windows Installer Windows Installer 1 COM MFC DAO Installer 7
ID ID GUID ID Windows Installer 2 3 Windows Installer Installer Installer Installer Installer Installer Installer Installer Installer 1-2 8
1-2 Workspace Setup Design 1-3 ISWI InstallShield2000 InstallShield for Windows Installer ISWI 9
1-3 Windows Installer COM/COM+ ODBC NT 1-4 ISWI 1-4 10
2 Installshield InstallShield InstallShield DemoShield InstallShield 2.1 InstallShield InstallShield InstallScript InstallScript C InstallShield InstallScript ODBC BDE Access RDO DirectX InstallShield InstallShield5.x InstallShield6.x InstallShield InstallShield Windows2000 Windows Installer WI API Windows Installer Windows 1999 9 InstallShield InstallShield2000 ISPro2K InstallShield Professional Windows Installer InstallShield for Windows Installer ISPro2K InstallShield Professional Version 6 ISPro6 InstallShield for Windows Installer ISWI InstallShield 5.x Microsoft Windows Installer WI Windows2000 TCO ISPro6 InstallShield Professional 5.x InstallScript ISPro6 ISPro6 Windows 95/98 NT4 InstallScript InstallShield Professional setup.exe InstallShield ISPro6 InstallShield for Windows Installer Windows Installer Windows Installer Windows 2000 11
NT4 Windows 95/98 Windows Installer Windows Installer API Windows Installer API Client Install Install Service Windows NT Windows Installer Windows Installer Windows Installer TCO Windows Installer Windows ISWI Windows Installer Windows Installer ISWI SKU Windows Installer ISWI TCO Windows Installer Windows 2000 Application Specification ISPro6 ISWI 2.2 ISPro6 ISPro6 ISPro6 InstallShield Windows ISPro6 ISPro6 Windows ISPro6 2.2.1 2-1 12
2-1 2.2.2 InstallShield 2-2 InstallShield ODBC Visual Basic SQL server InstallShield InstallShield InstallShield 13
ODBC SQL server SQL server ODBC 2-2 ISPro6 ODBC OLE DAO VB MFC DCOM MDAC RDO Access 97 VB Runtime DirectX 6 Configure NT Services InstallShield InstallShield InstallShield ISPro2K 2.2.3 2-3 2-3 ISPro6 Visual Basic VB InstallShield Professional VB ISPro6 14
2.2.4 Active Dependency Manager 2-4 Active Dependency Manager 2-4 Active Dependency Manager ADM DLL ADM DLL DLL ADM ADM ADM DLL ADM DLL 2.2.5 Windows ISPro6 REGEDIT REG 2.2.6 Build Media 15
2.2.7 ISPro6 ISPro6 ISPro6 300 Function Wizard ISPro6 Visual C++ InstallScript ISPro6 Project Wizard Media Build Wizard ISPro6 CD-ROM 4 GB InstallFromTheWeb (IFTW) PackageForTheWeb (PFTW) InstallShield Professional 6 InstallShield IFTW ISPro6 InstallShield InstallShield Log File Viewer InstallShield Cabinet uninstall log CAB 2.3 ISWI ISPro6 ISWI ISWI ISPro6 Windows Installer Windows2000 TCO Windows Installer Windows2000 Windows Installer Windows95/98/NT4 Windows2000 Windows Installer Windows Installer ISPro6 InstallShield Windows Installer Windows 16
Windows Installer ISWI Windows Installer ISWI Windows Installer ISWI Windows Installer ISWI 2.3.1 2-5 VB Dialog Editor Dialog Editor 2-5 VB ISWI 25 2.3.2 InstallShield Professional ISWI 20 InstallShield ISWI ISWI 17
Windows 2.3.3 SKU SKU user-defined flags SKU 2.3.4 2-6 2-6 InstallShield Professional ISWI 18
2.3.5 Windows Installer MSI MSM 2.3.6 2-7 Windows Installer 2-7 ISWI COM ODBC Windows2000 InstallShield Windows Installer 19
2.3.7 2-8 2-8 2.3.8 Best Practice Wizard 2.3.9 2-9 (CD DVD ) SKU 20
Windows Installer Windows Installer ISWI NT 95/98 Windows Installer 2-9 21
3 InstallShield InstallShield for Windows Installer ISWI InstallShield ISWI <InstallShield for Windows Installer >\Samples\Othello\Data Files\ Othello game ISWI Othello.ism <InstallShield for Windows Installer >\Samples \Othello \Project Files 3.1 3-1 Welcome Project Wizard 3-1 Next Setup Best Practice Ignore Best Practices violations 22
Windows Installer Setup Best Practices DLL InstallShield Ignore Best Practices violations InstallShield Application Files Details InstallShield Tools Options 3.2 3-2 Wizard Project 3-2 Create a New Project Othello Create a New Project Next InstallShield Your Project Name-n n : \/: *?"<> Open a Recent Project Open an Existing Project Browse InstallShield.ism 23
3.3 3-3 Application Information Windows 2000 Add/Remove Programs 3-3 Next Application Name (.msi ) : \/: *?"<>. Windows HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\< > Add/Remove Programs InstallShield Application Version Windows support information link Add/Remove Programs Company Name 24
support information link Add/Remove Programs Default Destination Folder INSTALLDIR INSTALLDIR Destination Folder, Windows Installer folder property Windows \Program Files, <ProgramFilesFolder> Help Telephone Number support information link Add/Remove Programs URL for Company or Product Information product (Updates) (Help) support information link (Information) URL Add/Remove Programs 3.4 3-4 Setup Languages 3-4 Install Shield InstallShield Setup Languages Project (Default language) build your first release Next Setup Languages 25
Install Shield Install Shield Setup Languages InstallShield InstallShield Web site InstallShield InstallShield InstallShield 3.5 3-5 Application Features 3-5 Default Program Delete Next Add Add New Feature n n New Feature Delete Add Delete 26
Delete Rename Rename F2 Rename (.) (_), Setup Design-Global Setup Design-Features string ID 3.6 3-6 Application Components Program_Executables Game_Pieces 3-6 Delete Game Pieces Add Program_Executables default self-registration and destination folder Next Dialogs Setup Design Application Files Create Shortcuts Registry Data Files are self-registering EXE, 27
DLL, OCX Component Destination/Standard Destination Folders Destination Folder Windows Installer Folder Component Destination Add Add New Component n n Delete New Component Delete Delete Delete Rename Rename F2 Rename 3.7 3-7 Setup Design 3-7, Application Components Default_Program Setup Design Default_Program Add Next 28
Add Setup Design Components Shift Ctrl Additional components Add Components Remove Setup Design Remove 3.8 3-8 Application Files 3-8 Application Components Add Files Othello <InstallShield for Windows Installer >\Samples\Othello\Data Files Program_Executables Program_Executables Add Files Data Files Othello.exe Open Othello.exe Program_Executable Othello.exe key file Othello.exe Set Key File Game_Pieces.gif Data Files 29
Application Files Next Othello.exe Visual Basic Oleaut32.dll, Msvbvm50.dll, Comcat.dll, Olepro32.dll, AsycFilt.dll, Ctl3d32.dll, Stdole2.tlb Components Back Application Components Files Add Windows Windows Explorer Add Files Setup Best Practices Details Link To *** File Not Found ***, Add Files Add Files Resulting Shift Ctrl Application Components Add Add Files Delete Files Delete Files Delete Delete Files Properties Properties Set Key File Set Key File Clear Key File Clear Key File Details Best Practices notification Details 30
3.9 3-9 Create Shortcuts 3-9 Start Programs Othello.exe 1 Program_Executables 2 Programs Menu 3 New Shortcut Othello 4 Othello.exe 5 Next Components Back Application Components Target/Standard Destination Folders Target Target standard destination folders <Windows Installer Folder> Target Target Target Shortcuts Explorer Icon Windows Installer Service.ico Windows Installer InstallShield 31
Shortcuts Icon Browse Icon Index 0 1 2 3 index 12 12 Shortcuts InstallShield Shortcut New Shortcut Shortcut New Shortcut New Component n n Rename Shortcut Windows Shortcut New Shortcut New Folder Shortcut New Folder New Folder n n Rename Windows Shortcut New Folder Delete Shortcut Delete Shortcut Delete 3.10 3-10 Registry Data REG 3-10 Application Components 32
Registry Data Next Components REG REG Back Application Components REG File REG REG InstallShield REG 3.11 3-11 Dialogs Sequences User Interface Next Welcome Panel Welcome Panel 33
License Agreement License Agreement (EULA) InstallShield EULA File Name Customer Information Customer Information Windows 2000 Setup Type/Custom Setup Setup Type/Custom Setup Custom Setup Complete Setup Custom Setup Custom Setup Ready to Install Ready to Install 3.12 Wizard Summary 3-12 Wizard Summary 3-12.ism Finish Othello.ism < >\MySetups\Othello Save project settings and build a release Finish Output Project Release My Release-1 MSI < >\MySetups \Othello\Build Label 1\My Release-1\DiskImages\Disk1 34
Save project settings and build a release Finish InstallShield.ism,.msi Output Project Run Setup Just save project settings Finish InstallShield.ism Project 3.13 InstallShield for Windows Installer InstallShield 35
4 4.1 InstallShield InstallShield InstallShield 30-40% InstallShield InstallShield for Windows Installer InstallShield Professional 2000 4-1 4-2 36
4-1 InstallShield Professional 2000 4-2 InstallShield Professional 2000 37
InstallShield2000 InstallShield2000 installshield http://www.installshield.com/intliswi/lang/ InstallShield2000 Language Independent InstallShield Installshield Installshield ID InstallShield 1. String Tables Export 2. Open Tab 38
1. String Tables Import 2. Open InstallShield Workspace User Interface 4-3 Workspace User Interface 4-3 1 2 39
3 1. Setup Design 2. Languages 3. Release Filtering Condition SystemLanguageID Condition SystemLanguageID=1041 Windows 5 Windows Windows NT 4.0 1 Windows NT 4.0 2 LanguagePack 3 Install Windows 2000 1 40
2 Language settings for the system 3 OK 4 Windows 2000 4.2 Installshield Othello 1 2 3 Othello.ism Othello.ism Installshield <InstallShield for Windows Installer >\Samples\Othello\Program Files Windows Explorer 4-4 Project Project Properties Setup Languages property InstallShield http://www.installshield.com/intliswi/lang/ Chinese PRC appropriate language 4-4 Project Chinese PRC English United States, Install Shield for Windows Installer 41
1 Project String Tables Chinese PRC Table 2 <InstallShield for Windows Installer >\Languages Import String CHS2052.txt 3 Yes All 1 Setup Design-Global Default Program Display Name {NEW_STRING1} String Table 4-5 {NEW STRING1} String Table 4-5 2 Program_Executables Othello.exe Shortcuts Shortcuts Othello 4-6 42
Display Name Othello Othello Display Name {NEW_STRING2} 4-6 Shortcut Description 1 Shortcut Description String Table 2 NEW_STRING3. 3 Value 4 Select String Shortcut Description 4-7 4-7 4-8 43
Read me 1 Setup Design-Global 2 Default_Program New Component 3 English_Readme 4 Chinese_Readme Japanese _Readme Readme <InstallShield for Windows Installer >\Samples\Othello\Data Files\Readme. English_Readme 1 English_Readme 2 Files shortcut 3 Add 4 English.txt 4-8 Japanese Chinese Japanese.txt Chinese.txt condition Condition Builder Add a property SystemLanguageID 4-9 Chinese_Readme Condition Condition Builder 4-9 1 Add a property SystemLanguageID Add 44
2 Add an operator = Add SystemLanguageID = 2052 2052 Japanese_Readme 1041 2052 English_Readme English_Readme Condition Condition Builder SystemLanguageID<>2052 AND SystemLanguageID<>1041 English_Readme 4-10 Installshield Project String Tables Chinese RPC 4-10 Identifier Value 45
NEW_STRING1 NEW_STRING2 NEW_STRING3 Installshield 4-11 Setup Languages Setup Languages Project properties 4-11 Display the Language Selection dialog Next Build.msi 4-12 46
, 4-12, Windows Installer Language Selection Dialog editor Custom Setup, 4-13 4-13 Readme Othello 4-14 Windows 2000 Othello <Program Files Folder>\Shakespeare Inc\Othello readme Chinese_readme.txt 47
4-14 Install Shield Language Selection Setup.exe Release wizard InstallShield InstallShield 48
5 InstallShield ODBC ODBC Oracle SQL Server ISPro2K 5.1 5.1.1 ODBC ODBC ODBC ODBC Visual Basic VisData ODBC ODBC / ODBC Access dbase FoxPro Paradox ODBC ODBC Visual Basic ODBC API SQL API ODBC Microsoft Jet 49
ODBC OracleDemo Oracle ODBC ODBC API SQL ODBC.INI ODBC ODBC.INI ODBCINST.INI ODBC Delphi Borland BDE BDE TDataSource ODBC BDE COM Server NT Services 5.1.2 Installshield ODBC Installshield Installshield5.x Installshield ODBC ODBC 3.0 ISPro6.x Installshield ODBC ODBC ODBC 3.51 Windows 95/98/200 Windows NT 4.0 SP4 ODBC OLE DB DCOM OLE DB ODBC 3.51 50
ODBC 3.51 Odbccp32.dll SQL API ISWI ODBC Component Wizard DSN BDE ODBC 5.2 BDE Oralce BDE Oralce ISPro6 Delphi C/S BDE Oracle Oracle DBE 5.2.1 DBE BDE 5.1 Borland Borland SQL BDE 5.1 Windows 95/98/2000 WindowsNT4.0 20M 5-1 Component Insert Installshield Object 5-2 Installshield BDE BDE BDE 5-1 Installshield 51
5-2 Installshield BDE 5.2.2 BDE Oracle 5-3 BDE step1 BDE ZBGL Oracle BDE Step1 5-3 ZBGL Next 5-4 BDE Step2 ORACLE Optional Parameters BDE 52
5-4 BDE step2 BDE Components 5-5 New BDE 5.1 1 Program Files 5-5 Components New BDE 5.1 1 Resources Installshield Objects New BDE 5.1 1 5-6 53
5-6 Resources New BDE 5.1 1 BDE BDE 5.2.3 BDE RDBMS inisql.exe BDE Oracle 5-7 OnMoved LaunchAppAndWait( SUPPORTDIR^"inisql.exe","",WAIT); 54
5-7 OnMoved inisql.exe SUPPORTDIR inisql.exe SetupFiles Advanced Files\Disk1 5-8 5-8 SetupFiles inisql.exe 5-9 BDE Oracle 5-9 inisql.exe 55
5.3 ODBC Access ISPro6 ISWI ISWI Access ODBC 5-10 5-11 5-10 5-11 Setup Design Component Wizard 5-12 Component Wizard Select a type and define the component myself 56
5-13 ODBC Resources ODBC 5-12 Component Wizard 5-13 ODBC ODBC 5-14 MS Access ODBC 5-15 mydb infodb.mdb Setup Design ODBC 5-16 ODBC mydb ODBC 57
ISPro6 ISWI 5-14 ODBC 5-15 ODBC 58
5-16 ODBC 59