mirror of
https://github.com/voicemxil/TS2-Starter-Pack.git
synced 2025-01-22 17:12:15 -05:00
Update Installer.nsi
This commit is contained in:
parent
19cf3b3d2e
commit
a336a6c7fc
1 changed files with 1 additions and 7 deletions
|
@ -2,13 +2,10 @@
|
||||||
Name "The Sims 2 Starter Pack (Web installer by osab)"
|
Name "The Sims 2 Starter Pack (Web installer by osab)"
|
||||||
OutFile "TS2 Starter Pack WebInstall (osab).exe"
|
OutFile "TS2 Starter Pack WebInstall (osab).exe"
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
|
|
||||||
Section "Install"
|
|
||||||
definstdir "$PROGRAMFILES32/The Sims 2 Starter Pack/"
|
|
||||||
PageEx Directory
|
PageEx Directory
|
||||||
|
$INSTDIR "$PROGRAMFILES32/The Sims 2 Starter Pack/"
|
||||||
DirVar $INSTDIR
|
DirVar $INSTDIR
|
||||||
PageExEnd
|
PageExEnd
|
||||||
SectionEnd
|
|
||||||
PageEx InstFiles
|
PageEx InstFiles
|
||||||
Section "Download"
|
Section "Download"
|
||||||
AddSize 25000000
|
AddSize 25000000
|
||||||
|
@ -17,18 +14,15 @@ Section "Download"
|
||||||
SetOverwrite ifnewer
|
SetOverwrite ifnewer
|
||||||
NSISdl::download "https://download2347.mediafire.com/86cbr7or049g/ejbhtnu8itob4t0/osab_Sims+2+Starter+Pack.7z" "osab_Sims 2 Starter Pack.7z";
|
NSISdl::download "https://download2347.mediafire.com/86cbr7or049g/ejbhtnu8itob4t0/osab_Sims+2+Starter+Pack.7z" "osab_Sims 2 Starter Pack.7z";
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Extract"
|
Section "Extract"
|
||||||
SetOutPath -
|
SetOutPath -
|
||||||
ReserveFile $PLUGINSDIR/osab_Sims 2 Starter Pack.7z
|
ReserveFile $PLUGINSDIR/osab_Sims 2 Starter Pack.7z
|
||||||
Nsis7z::ExtractWithDetails "osab_Sims 2 Starter Pack.7z" "Extracting game archive %s..."
|
Nsis7z::ExtractWithDetails "osab_Sims 2 Starter Pack.7z" "Extracting game archive %s..."
|
||||||
Delete "$PLUGINSDIR\osab_Sims 2 Starter Pack.7z"
|
Delete "$PLUGINSDIR\osab_Sims 2 Starter Pack.7z"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Touchup"
|
Section "Touchup"
|
||||||
SetOutPath $INSTDIR/__Installer/
|
SetOutPath $INSTDIR/__Installer/
|
||||||
ReserveFile Touchup.exe
|
ReserveFile Touchup.exe
|
||||||
Exec '"Touchup.exe" install -locale en_US -installPath $INSTDIR -autologging'
|
Exec '"Touchup.exe" install -locale en_US -installPath $INSTDIR -autologging'
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
PageExEnd
|
PageExEnd
|
||||||
|
|
Loading…
Reference in a new issue