gracias por contestar...
el asunto es que termine mi aplicacion de java + postgres
hice el instalador con inno setup... y ps instala de maravilla pero cuando hago uso de los botones los cuales hacen consultas en la bd de postgres no funciona... lo que necesito es el script que genera inno setup
algo asi este codigo fuente no es mio!!!
[Setup]
AppName=MeuSistema
AppVerName=MeuSistemaversão xx.xx
DefaultDirName={sd}\sistemas\sistema
DefaultGroupName=sistemas\sistema
;UninstallDisplayIcon={app}\MyProg.exe
;OutputDir=userdocs:Inno Setup Examples Output
[Types]
Name: full; Description: Instalação Completa
;Name: "compact"; Description: "Instalação Típica"
Name: custom; Description: Instalação Personalisada; Flags: iscustom
[Components]
;Name: "program"; Description: "Program Files"; Types: full compact custom; Flags: fixed
Name: program; Description: Uniponto; Types: full custom; Flags: fixed
Name: postgresql; Description: Banco de Dados PostgreSQL; Types: full custom
Name: odbc; Description: ODBC PostgreSQL; Types: full custom
Name: pgadmin; Description: PGAdmin; Types: full custom
Name: unigl; Description: UniGL - Gerenciador de Lincenças; Types: full custom
Name: banco; Description: Criar Banco de Dados Inicial; Types: full custom
Name: manual; Description: Manual de Instruções; Types: full custom
[Files]
Source: MyProg.exe; DestDir: {app}; Components: program
;Source: postgresql-8.1-int.msi; DestDir: {app}; Components: postgresql
;Source: postgre.bat; DestDir: {app}
Source: postgresql-8.1-int.msi; DestDir: {tmp}; Components: postgresql
Source: postgre.bat; DestDir: {tmp}
Source: psqlodbc.msi; DestDir: {tmp}; Components: odbc
Source: odbc.bat; DestDir: {tmp}
Source: pgadmin3.msi; DestDir: {tmp}; Components: pgadmin
Source: pgadmin.bat; DestDir: {tmp}
Source: sql.sql; DestDir: {tmp}; Components: banco
Source: criaBanco.bat; DestDir: {tmp}
[Icons]
Name: {group}\My Program; Filename: {app}\MyProg.exe
[Run]
Filename: {tmp}\postgre.bat; Flags: runhidden; Components: postgresql
Filename: {tmp}\pgadmin3.msi; Components: pgadmin; Parameters: /i /qr
;Filename: {tmp}\odbc.bat Flags: nowait
;Filename: {tmp}\pgadmin.bat; Components: pgadmin
;Filename: {tmp}\criaBanco.bat+
http://forum.imasters.com.br/topic/370689-resolvidoinno-setup-avanado/