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

Commit

Permalink
Add post-install batch script
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Ely committed Jan 30, 2016
1 parent ff3865e commit 4f122ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions SR-Alternate-Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ Root: "HKCU"; Subkey: "Software\Microsoft\Windows NT\CurrentVersion\AppCompatFla
; From to to bottom: Extract the CAB, run game
; (depending on user's choice on the videos).
Filename: "{app}\i5comp.exe"; Parameters: "x ""{app}\data1.cab"""; Flags: runascurrentuser
Filename: "{app}\post-install.bat"; WorkingDir: "{app}"; Flags: runascurrentuser
Filename: "{app}\{#MyAppExeName}"; Flags: nowait postinstall skipifsilent runascurrentuser; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Components: Full
Filename: "{app}\{#MySecondAppExeName}"; Parameters: "/NOINTROVIDEO"; Flags: nowait postinstall skipifsilent runascurrentuser; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Components: Minimal

Expand Down
6 changes: 6 additions & 0 deletions Tools/post-install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off

echo Deleting unnecessary files...
del /F /Q MOTO.rtb MOTO.usr
del /F /Q dsetup.dll DSETUP16.DLL dsetup32.dll
del /F /Q Web_Page.url

0 comments on commit 4f122ac

Please sign in to comment.