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

Commit

Permalink
Perform disc install operations first
Browse files Browse the repository at this point in the history
This allows there to be an incrementing progress bar while the CAB is
copied instead of the bar sitting at the end and never moving, thereby
granting the user a sense of progress in the installation.
  • Loading branch information
Caleb Ely committed Jan 30, 2016
1 parent aa254c7 commit 5490eff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions SR-Alternate-Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
Name: "adminrun"; Description: "Run {#MyAppName} with Administrator Rights"; GroupDescription: "{cm:AdditionalIcons}"

[Files]
; Tools needed for a successful installation
Source: "{code:GetSourceDrive}\resource.cfg"; DestDir: "{app}"; Flags: external ignoreversion
Source: "{code:GetSourceDrive}\data1.cab"; DestDir: "{app}"; Flags: external ignoreversion deleteafterinstall

Source: "Tools\CABExtract\i5comp.exe"; DestDir: "{app}"; Flags: deleteafterinstall
Source: "Tools\CABExtract\ZD51145.DLL"; DestDir: "{app}"; Flags: deleteafterinstall
Source: "Tools\post-install.bat"; DestDir: "{app}"; Flags: deleteafterinstall
Expand All @@ -81,9 +83,6 @@ Source: "STUNT_RALLY_MANUAL_UK.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "StuntRally.ico"; DestDir: "{app}"; Flags: ignoreversion
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

[Icons]
; First and last icons are created only if user choose not to use the videos,
; else the normal ones are created.
Expand Down

0 comments on commit 5490eff

Please sign in to comment.