DPInstallShield

Transcrição

DPInstallShield
Criando Disco de Instalação
• Programa :
• Gerenciar a Instalação do Sistema
• Configuração do Aplicativo e Ambiente
• Atualização de Versões
• Execute o InstallShield Express for Delphi4
• Iniciar, Programas,
• IS Express for Delphi4
• InstallShield Express for Delphi4
• Para download : www.installshield.com
Delphi
Criando Disco de
Instalaç
Instalação
InstallShield
Jocélio Passos
[email protected]
2/2/2007
InstallShield
2
InstallShield
• Em New Project configure :
• Project Name
Unidade
• Project Path
Diretório do Projeto
• Create
• Escolha em Set Visual Design
• Primeiro : Gere o Executável do seu projeto
• Crie um novo projeto de Setup (Instalação)
• Application Information
•
•
•
•
•
2/2/2007
3
InstallShield
• Main Window
• General Options
BDE (Borland Database Engine)
Full BDE Instalation
New
Alias Name ALUNIDADE
• Save . CFG file for both 16 and 32-bit aplications
• Path
2/2/2007
• Type
<ProgramFilesDir>\Testes Sistemas\
Sistema de Unidade\Dados
PARADOX
Sistema de Unidade
Unidade.EXE Browse...
1.0
Testes Sistemas
2/2/2007
4
InstallShield
• Encontre o seu Logo Bitmap e OK
• Escolha em Select Objects for Delphi
•
•
•
•
Application Name
Application Executable
Version
Company
OK
5
• Escolha em Specify Components and Files
• Group and Files
• Escolha Program Files
• O Executável já está na lista
• Clique em Insert Files e adicione :
• HLP, ICO
• Escolha New Group..
• Group Name Dados
• Never Overwrite files
and OK
• Clique em Insert Files e adicione :
• *.db; *.px; *.?g?; *.mb; *.val; *.tv; *.wav; *.avi
2/2/2007
6
1
InstallShield
InstallShield
• Escolha em User Interface Components
• Dialog Boxes
Settings
•
•
•
•
•
Welcome Bitmap
Welcome Message
Software License Agreement
Readme Information
User Information
SPLASH.BMP
LICENSE.TXT
README.TXT
• Name and Company
• Name, Company and Serial Number
• Setup Type
• Custom Setup
2/2/2007
7
Settings
Select Program Folder
Default
Start Copying Files
Progress Indicator
Billboards
Redist
Setup Complete
• Always show reboot computer dialogs
• Run Command [Program Files]\UNIDADE.exe
• Readme File :
• OK
•
•
•
•
•
•
2/2/2007
InstallShield
8
InstallShield
Make Registry Changes Registro do Windows
Escolha em Specify Folders and Icons
Gereral Settings
General
• Run Command [Program Files]\UNIDADE.exe
• Description
Sistema de Unidade
• Window
• Show Maximized
• Advanced
• Start in
[Program Files]
• Default Folder
•
•
•
•
2/2/2007
9
• Salve o Projeto (CTRL S)
• Escolha em Run Disk Builder
• Disk Builder
• Disk Size
• CD-ROM
• 1.44 Mb
• Build
• Teste Run
• Copy to Floppy
2/2/2007
10
Exercícios Propostos
1) Como é criada a desinstalação automática
(unInstallShield) ?
2) Como fazer para Registry - Keys ?
3) Estude o Help do InstallShield.
2/2/2007
11
2