From 3d763643639bed0ee0d026184b7ce24f3c385e51 Mon Sep 17 00:00:00 2001 From: Chris Laurel Date: Tue, 27 Jan 2004 17:13:14 +0000 Subject: [PATCH] - Added some missing quotes to registry keys - Fixed uninstall process - Included some additional texture and mesh files - Bumped version number to 1.3.2 --- celestia.iss | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/celestia.iss b/celestia.iss index 90492e26..1b2e9236 100644 --- a/celestia.iss +++ b/celestia.iss @@ -1,9 +1,11 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! +; This script was tested with Inno Setup version 4.0.10 + [Setup] AppName=Celestia -AppVerName=Celestia 1.3.1 +AppVerName=Celestia 1.3.2 AppPublisher=Shatters Software AppPublisherURL=http://www.shatters.net/celestia/ AppSupportURL=http://www.shatters.net/celestia/ @@ -11,6 +13,12 @@ AppUpdatesURL=http://www.shatters.net/celestia/ DefaultDirName={pf}\Celestia DefaultGroupName=Celestia LicenseFile=C:\celestia\celestia\COPYING + +; Tell Explorer to refresh its file associations information at the +; end of the installation, and Uninstall will do the same at the end +; of uninstallation. (Added by Don G. Jan 9, 2004) +ChangesAssociations=yes + ; uncomment the following line if you want your installation to run on NT 3.51 too. ; MinVersion=4,3.51 @@ -273,19 +281,27 @@ Name: "{group}\Celestia on the Web"; Filename: "{app}\celestia.url" Name: "{userdesktop}\Celestia"; Filename: "{app}\celestia.exe"; MinVersion: 4,4; Tasks: desktopicon; WorkingDir: "{app}" [Registry] -Root: HKCR; Subkey: "cel"; ValueType: string; ValueData: "URL:cel Protocol"; Tasks: urlassoc -Root: HKCR; Subkey: "cel"; ValueName: "URL Protocol"; ValueType: string; Tasks: urlassoc -Root: HKCR; Subkey: "cel\Shell"; ValueType: string; Tasks: urlassoc -Root: HKCR; Subkey: "cel\Shell\open"; ValueType: string; Tasks: urlassoc -Root: HKCR; Subkey: "cel\Shell\open\Command"; ValueType: string; ValueData: "{app}\celestia.exe --once --dir ""{app}"" -u ""%1"""; Tasks: urlassoc +; The Software\Shatters.net key is created by the Celestia program, so it needs +; to be deleted during an uninstall. (Added by Don G. Jan 9, 2004) +Root: HKCU; Subkey: "Software\Shatters.net"; Flags: uninsdeletekey -Root: HKCR; Subkey: ".cel"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc -Root: HKCR; Subkey: ".clx"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc -Root: HKCR; Subkey: ".celx"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc -Root: HKCR; Subkey: "celestia_script"; ValueName: "URL Protocol"; ValueType: string; Tasks: fileassoc -Root: HKCR; Subkey: "celestia_script\Shell"; ValueType: string; Tasks: fileassoc -Root: HKCR; Subkey: "celestia_script\Shell\open"; ValueType: string; Tasks: fileassoc -Root: HKCR; Subkey: "celestia_script\Shell\open\Command"; ValueType: string; ValueData: "{app}\celestia.exe --once --dir ""{app}"" -u ""%1"""; Tasks: fileassoc +; (All "Flags: " added by Don G. Jan 9, 2004) +Root: HKCR; Subkey: "cel"; Flags: uninsdeletekeyifempty +Root: HKCR; Subkey: "cel"; ValueType: string; ValueData: "URL:cel Protocol"; Tasks: urlassoc; Flags: uninsdeletevalue +Root: HKCR; Subkey: "cel"; ValueName: "URL Protocol"; ValueType: string; Tasks: urlassoc; Flags: uninsdeletevalue + +Root: HKCR; Subkey: "cel\Shell"; ValueType: string; Tasks: urlassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: "cel\Shell\open"; ValueType: string; Tasks: urlassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: "cel\Shell\open\Command"; ValueType: string; ValueData: """{app}\celestia.exe"" --once --dir ""{app}"" -u ""%1"""; Tasks: urlassoc; Flags: uninsdeletevalue uninsdeletekeyifempty + +Root: HKCR; Subkey: ".cel"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: ".clx"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: ".celx"; ValueType: string; ValueData: "celestia_script"; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty + +Root: HKCR; Subkey: "celestia_script"; ValueName: "URL Protocol"; ValueType: string; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: "celestia_script\Shell"; ValueType: string; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: "celestia_script\Shell\open"; ValueType: string; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty +Root: HKCR; Subkey: "celestia_script\Shell\open\Command"; ValueType: string; ValueData: """{app}\celestia.exe"" --once --dir ""{app}"" -u ""%1"""; Tasks: fileassoc; Flags: uninsdeletevalue uninsdeletekeyifempty [Run]