do you know the program inno setup 2.0.19?

The place to discuss creating, porting and modifying Celestia's source code.
Guest

do you know the program inno setup 2.0.19?

Post #1by Guest » 22.02.2002, 11:55

here is the link to that program http://www.innosetup.com
I use that program to make a celestia program installer.
Here is the script , you could try it.

Size of inno setup to download 1.07 Mo (a nice software)

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=Celestia
AppVerName=Celestia-win32-1.2.1
AppPublisher=Chris Laurel
AppPublisherURL=http://www.celestiaproject.net/celestia
AppSupportURL=http://www.celestiaproject.net/celestia
AppUpdatesURL=http://www.celestiaproject.net/celestia
DefaultDirName={pf}\Shatters Software\Celestia
DefaultGroupName=Celestia
AlwaysCreateUninstallIcon=yes
; uncomment the following line if you want your installation to run on NT 3.51 too.
; MinVersion=4,3.51

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4

[Files]
Source: "C:\Program Files\Shatters Software\Celestia\celestia.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\zlib.dll"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\celestia.cfg"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\ChangeLog"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\controls.txt"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\Copying"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\demo.cel"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\guide.cel"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\libpng1.dll"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\Readme"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\start.cel"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\Todo"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\Authors"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\data\*.*"; DestDir: "{app}\data"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\fonts\*.*"; DestDir: "{app}\fonts"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\models\*.*"; DestDir: "{app}\models"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\shaders\*.*"; DestDir: "{app}\shaders"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\shaders\CVS\*.*"; DestDir: "{app}\shaders\CVS"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Shatters Software\Celestia\textures\*.*"; DestDir: "{app}\textures"; CopyMode: alwaysoverwrite

[INI]
Filename: "{app}\celestia.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.celestiaproject.net/celestia"

[Icons]
Name: "{group}\celestia"; Filename: "{app}\celestia.exe"
Name: "{group}\celestia on the Web"; Filename: "{app}\celestia.url"
Name: "{userdesktop}\celestia"; Filename: "{app}\celestia.exe"; MinVersion: 4,4; Tasks: desktopicon ;WorkingDir: "{app}"


[Run]
Filename: "{app}\celestia.exe"; Description: "Launch celestia"; Flags: nowait postinstall skipifsilent ;WorkingDir: "{app}"

[UninstallDelete]
Type: files; Name: "{app}\celestia.url"

Guest

Post #2by Guest » 22.02.2002, 11:58

Sorry its me again !
You have to install first the installshield of celestia in order the script above
should works

(sorry again for my english. I french)


Return to “Development”