Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
Section sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Ely committed Jan 30, 2016
1 parent fe6f631 commit 7c4829c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions SR-Alternate-Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ Name: "Minimal"; Description: "Minimal Installation (Without Movies)"
Name: "Full"; Description: "Full Installation (With Movies)"; Types: Full
Name: "Minimal"; Description: "Minimal Installation (Without Movies)"; Types: Minimal

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "Admin"; Description: "Run {#MyAppName} with Administrator Rights"; GroupDescription: "{cm:AdditionalIcons}"

[Files]
; Tools needed for a successful installation
Source: "Tools\CABExtract\i5comp.exe"; DestDir: "{app}"; Flags: deleteafterinstall
Expand All @@ -91,6 +95,11 @@ Source: "Tools\d3drm.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{code:GetSourceDrive}\resource.cfg"; DestDir: "{app}"; Flags: external ignoreversion
Source: "{code:GetSourceDrive}\data1.cab"; DestDir: "{app}"; Flags: external ignoreversion deleteafterinstall

[Dirs]
; Create to ensure the save games are not removed
; (which should never ever happen)
Name: "{app}\SavedTracks"; Flags: uninsneveruninstall

[Icons]
; First and last icons are created only if user choose not to use the videos,
; else the normal ones are created.
Expand All @@ -100,10 +109,6 @@ Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFil
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MySecondAppExeName}"; IconFilename: "{app}\StuntRally.ico"; Parameters: "/NOINTROVIDEO"; Comment: "Run {#MyAppName} without Intro videos"; Components: Minimal; Tasks: desktopicon
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; IconFilename: "{app}\Stunt-Rally.ico"; Comment: "Run {#MyAppName}";

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "Admin"; Description: "Run {#MyAppName} with Administrator Rights"; GroupDescription: "{cm:AdditionalIcons}"

[Registry]
Root: "HKLM"; Subkey: "SOFTWARE\LEGO Media\LEGO Stunt Rally"; ValueType: none; Flags: uninsdeletekey; Components: Full Minimal
Root: "HKLM"; Subkey: "SOFTWARE\LEGO Media\LEGO Stunt Rally"; ValueType: string; ValueName: "AutoSave_Track_Name"; Flags: uninsdeletekey; Components: Full Minimal
Expand Down Expand Up @@ -146,11 +151,6 @@ Type: filesandordirs; Name: "{app}\CampaignTracks"
Type: filesandordirs; Name: "{app}\GameTracks"
Type: filesandordirs; Name: "{app}\res"

[Dirs]
; Create to ensure the save games are not removed
; (which should never ever happen)
Name: "{app}\SavedTracks"; Flags: uninsneveruninstall

[Code]
// Pascal script from Bgbennyboy to detect a CD, cleaned up
// and modified to support ANSI and Unicode Inno Setup
Expand Down

0 comments on commit 7c4829c

Please sign in to comment.