Her er min script file i InnoSetup
; This script was first created by ISTool
;
http://www.lerstad.com/istool/[Registry]
Root: HKLM; Subkey: Software\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: InterBaseGuardian; ValueData: {app}\bin\ibguard.exe; Flags: uninsdeletekey
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: DefaultMode; ValueData: -r
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: GuardianOptions; ValueData: 1
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: ServerDirectory; ValueData: {app}\bin
[Files]
Source: c:\Program Files\Borland\Interbase\ibconfig; DestDir: {app}
Source: c:\Program Files\Borland\Interbase\bin\ibserver.exe; DestDir: {app}\bin
Source: c:\Program Files\Borland\Interbase\interbase.msg; DestDir: {app}
Source: c:\Program Files\Borland\Interbase\isc4.gdb; DestDir: {app}
Source: c:\Program Files\Borland\Interbase\isc4.gbk; DestDir: {app}
Source: c:\winnt\System32\gds32.dll; DestDir: {sys}
Source: c:\winnt\System32\msvcrt.dll; DestDir: {sys}
Source: c:\Program Files\Borland\Interbase\bin\instreg.exe; DestDir: {app}\bin
Source: c:\Program Files\Borland\Interbase\bin\ibguard.exe; DestDir: {app}\bin
Source: C:\AdminTolk\SomScan.exe; DestDir: {app}
Source: C:\AdminTolk\SOMSCAN.GDB; DestDir: {app}
Source: ..\..\..\..\..\MiniReg.exe; DestDir: {tmp}
Source: ..\..\..\..\..\Program Files\Common Files\Borland Shared\BDE\bdeinst\BdeInst.dll; DestDir: {tmp}
Source: ..\..\..\..\Program Files\Borland\InterBase\bin\ib_util.dll; DestDir: {app}
Source: ..\..\..\..\Program Files\Borland\InterBase\bin\gdsintl.dll; DestDir: {app}
Source: ..\..\..\..\WINNT\system32\ibmgr.cpl; DestDir: {app}
Source: ..\..\..\..\Program Files\Common Files\Borland Shared\BDE\bdeadmin.exe; DestDir: {app}
[Dirs]
Name: {app}\bin
[Run]
Filename: {app}\bin\instreg.exe; Parameters: "install ""{app}"""; Flags: nowait runminimized
Filename: {app}\bin\ibguard.exe; Flags: nowait
Filename: {tmp}\MiniReg.exe; Parameters: """{tmp}\BdeInst.dll"""
[Setup]
AppCopyright=Horyaal Software
AppName=AdminTolk
AppVerName=AdminTolk version 1.0
DefaultGroupName=AdminTolk
DefaultDirName={pf}\Borland\InterBase\Haji
DisableProgramGroupPage=false
AllowNoIcons=true
[UninstallRun]
Filename: {app}\bin\instreg.exe; Parameters: remove; Flags: runminimized