mirror of
https://github.com/voicemxil/TSStories-Starter-Pack.git
synced 2025-01-22 08:11:49 -05:00
v13
This commit is contained in:
parent
2d637477e2
commit
72d1b0e48e
4 changed files with 324 additions and 4 deletions
BIN
bin/Web Installer/TSStoriesStarterPack-WebInstaller.x32.exe
Normal file
BIN
bin/Web Installer/TSStoriesStarterPack-WebInstaller.x32.exe
Normal file
Binary file not shown.
Binary file not shown.
|
@ -206,7 +206,7 @@ Section /o "DXVK" Section7
|
|||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/d3d9.dll" "$INSTDIR\temp\d3d9.dll" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0 # return value = exit code, "OK" means OK
|
||||
DetailPrint "DXVK download status: $0."
|
||||
NScurl::http GET "https://raw.githubusercontent.com/doitsujin/dxvk/v2.1/dxvk.conf" "$INSTDIR\temp\dxvk.conf" /RESUME /INSIST /CANCEL /END
|
||||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/dxvk.conf" "$INSTDIR\temp\dxvk.conf" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0
|
||||
DetailPrint "DXVK.conf download status: $0."
|
||||
${If} ${SectionIsSelected} ${Section1}
|
||||
|
@ -310,9 +310,9 @@ SectionEnd
|
|||
!insertmacro MUI_DESCRIPTION_TEXT ${Section1} "The Sims Life Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section2} "The Sims Pet Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section3} "The Sims Castaway Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section4} "Installs Graphics Rules Maker 2.0.0."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section5} "Installs SimNopke's Sim Shadow Fix to your downloads folder. *Don't Use With DXVK*."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section6} "Installs Lazy Duchess's Bright CAS Fix to your install folder."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section4} "Installs Graphics Rules Maker 2.3.0."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section5} "Installs SimNopke's Sim Shadow Fix to your downloads folder for Windows 8+. *Don't Use With DXVK*."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section6} "Installs Lazy Duchess's Bright CAS Fix to your downloads folder."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section7} "Installs DXVK $DXVKVER. (Not recommended for beginners.)"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section8} "Installs Visual C++ Redist (x86) if not already installed."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section9} "Create a shortuct to launch the game in your Start Menu/Desktop."
|
||||
|
|
320
src/Web_Installer_LS_32.nsi
Normal file
320
src/Web_Installer_LS_32.nsi
Normal file
|
@ -0,0 +1,320 @@
|
|||
Unicode True
|
||||
Target x86-unicode
|
||||
|
||||
;Include header files
|
||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "..\assets\InstallerImage.bmp"
|
||||
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "..\assets\InstallerImage.bmp"
|
||||
!include "ModernXL.nsh"
|
||||
!include "MUI2.nsh"
|
||||
!include "x64.nsh"
|
||||
!include ".\Downloader.nsh"
|
||||
!include ".\Language-r.nsh"
|
||||
!include ".\Touchup-er.nsh"
|
||||
|
||||
########################### Installer SETUP
|
||||
Name "The Sims Stories Starter Pack"
|
||||
OutFile "..\bin\Web Installer\TSStoriesStarterPack-WebInstaller.x32.exe"
|
||||
RequestExecutionLevel admin
|
||||
InstallDir "$PROGRAMFILES32\The Sims Stories Starter Pack"
|
||||
SetCompressor LZMA
|
||||
ManifestDPIAware True
|
||||
VIProductVersion 13.0.0.0
|
||||
VIAddVersionKey "CompanyName" "osab"
|
||||
VIAddVersionKey "FileVersion" "13.0.0"
|
||||
VIAddVersionKey "ProductName" "The Sims Stories Starter Pack"
|
||||
VIAddVersionKey "ProductVersion" "13.0"
|
||||
|
||||
########################### MUI SETUP
|
||||
brandingText "osab Web Installer v13"
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_INSTFILESPAGE_COLORS "FFFFFF 000000"
|
||||
!define MUI_HEADERIMAGE
|
||||
!define MUI_HEADERIMAGE_RIGHT
|
||||
!define MUI_HEADERIMAGE_BITMAP_STRETCH AspectFitHeight
|
||||
!define MUI_HEADERIMAGE_BITMAP "..\assets\header.bmp"
|
||||
!define MUI_ICON "..\assets\NewInstaller.ico"
|
||||
!define MUI_PAGE_HEADER_TEXT "TSS: Starter Pack - Web Installer"
|
||||
!define MUI_PAGE_HEADER_SUBTEXT "The Sims Stories repacked by osab!"
|
||||
!define MUI_WELCOMEPAGE_TITLE "osab's Sims Stories Starter Pack"
|
||||
!define MUI_WELCOMEPAGE_TEXT "Welcome to the Sims Stories Starter Pack Web Installer (v13). Please ensure you have downloaded the latest version from the GitHub! Helpful log messages will be shown in the 'More Details' box."
|
||||
!define MUI_UNCONFIRMPAGE_TEXT_TOP "WARNING: Before uninstalling, make sure the game folder you chose contains ONLY the uninstaller and game files. The game files MUST be in their own separate folder with no other essential data! I am not responsible for any data loss!"
|
||||
!define MUI_LICENSEPAGE_TEXT_TOP "License Information:"
|
||||
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
||||
!define MUI_FINISHPAGE_LINK "TS2 Community Discord Server!"
|
||||
!define MUI_FINISHPAGE_LINK_LOCATION "https://discord.gg/invite/ts2-community-912700195249197086"
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
!insertmacro MUI_PAGE_LICENSE "..\LICENSE.txt"
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
!insertmacro MUI_UNPAGE_WELCOME
|
||||
!insertmacro MUI_UNPAGE_DIRECTORY
|
||||
!insertmacro MUI_UNPAGE_COMPONENTS
|
||||
!insertmacro MUI_UNPAGE_CONFIRM
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
!insertmacro MUI_UNPAGE_FINISH
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
################################ Begin Installation
|
||||
|
||||
Var DXVKVER
|
||||
!macro installDXVK folderName
|
||||
DetailPrint "Placing x32 d3d9.dll in TSBin..."
|
||||
SetOutPath "$INSTDIR\temp"
|
||||
CopyFiles "$INSTDIR\temp\d3d9.dll" "$INSTDIR\${folderName}\TSBin\d3d9.dll"
|
||||
Pop $0
|
||||
DetailPrint "File copy result: $0"
|
||||
DetailPrint "Placing dxvk.conf in TSBin..."
|
||||
CopyFiles "dxvk.conf" "$INSTDIR\${folderName}\TSBin\dxvk.conf"
|
||||
Pop $0
|
||||
DetailPrint "File copy result: $0"
|
||||
!macroend
|
||||
|
||||
Function .OnInit
|
||||
Dialer::AttemptConnect
|
||||
StrCpy $DXVKVER "2.1"
|
||||
FunctionEnd
|
||||
|
||||
Section
|
||||
CreateDirectory "$INSTDIR\temp"
|
||||
SectionEnd
|
||||
|
||||
SectionGroup /e "The Sims Stories Starter Pack"
|
||||
Section "The Sims Life Stories" Section1
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite on
|
||||
InitPluginsDir
|
||||
AddSize 2500000
|
||||
|
||||
!insertmacro downloadPack "The Sims Life Stories" "https://www.github.com/mintalien/The-Puppets-2-Definitive-Edition/releases/download/v11/SFX_LifeStories.v11.exe" "$INSTDIR\temp\SFX_LifeStories.exe" "77263efcea8d73d38c4284815ea88f971c534f5d3569cd5a4cdce3fe534b4696"
|
||||
|
||||
# Touchup
|
||||
!insertmacro touchup "The Sims Life Stories" "Electronic Arts\The Sims Life Stories" "{DA932D71-E52A-43D5-009E-395A1AEC1474}" "SimsLS.exe"
|
||||
|
||||
!insertmacro setLanguage "Electronic Arts\The Sims Life Stories"
|
||||
|
||||
DetailPrint "Creating Downloads folder..."
|
||||
CreateDirectory "$Documents\Electronic Arts\The Sims Life Stories\Downloads"
|
||||
SectionEnd
|
||||
|
||||
Section "The Sims Pet Stories" Section2
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite on
|
||||
InitPluginsDir
|
||||
AddSize 2800000
|
||||
|
||||
!insertmacro downloadPack "The Sims Pet Stories" "https://www.github.com/mintalien/The-Puppets-2-Definitive-Edition/releases/download/v11/SFX_PetStories.v11.exe" "$INSTDIR\temp\SFX_PetStories.exe" "8b42b1c985b5fe04d94de2c32e30615397bc5214c4c68f7c34ab6cf7df6bd9d5"
|
||||
|
||||
# Touchup
|
||||
DetailPrint "Touching Up PS..."
|
||||
!insertmacro touchup "The Sims Pet Stories" "Electronic Arts\The Sims Pet Stories" "{DA932D71-E52A-43D5-009E-395A1AEC1474}" "SimsPS.exe"
|
||||
|
||||
!insertmacro setLanguage "Electronic Arts\The Sims Pet Stories"
|
||||
|
||||
DetailPrint "Creating Downloads folder..."
|
||||
CreateDirectory "$Documents\Electronic Arts\The Sims Pet Stories\Downloads"
|
||||
SectionEnd
|
||||
|
||||
Section "The Sims Castaway Stories" Section3
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite on
|
||||
InitPluginsDir
|
||||
AddSize 3000000
|
||||
|
||||
!insertmacro downloadPack "The Sims Castaway Stories" "https://www.github.com/mintalien/The-Puppets-2-Definitive-Edition/releases/download/v11/SFX_CastawayStories.v11.exe" "$INSTDIR\temp\SFX_CastawayStories.exe" "2E519CF30E252710CBB93CA8F2EA4BE1FCD5CA0365BF999D40D434A6B657E8DA"
|
||||
|
||||
# Touchup
|
||||
DetailPrint "Touching Up CS..."
|
||||
!insertmacro touchup "The Sims Castaway Stories" "Electronic Arts\The Sims Castaway Stories" "{DA932D71-E52A-43D5-009E-395A1AEC1474}" "SimsCS.exe"
|
||||
|
||||
!insertmacro setLanguage "Electronic Arts\The Sims Castaway Stories"
|
||||
|
||||
DetailPrint "Creating Downloads folder..."
|
||||
CreateDirectory "$Documents\Electronic Arts\The Sims Castaway Stories\Downloads"
|
||||
SectionEnd
|
||||
|
||||
Section
|
||||
WriteUninstaller "$INSTDIR\Uninstall The Sims Stories Starter Pack.exe"
|
||||
SectionEnd
|
||||
SectionGroupEnd
|
||||
|
||||
SectionGroup "Graphics Fixes/Tweaks"
|
||||
Section "Graphics Rules Maker" Section4
|
||||
|
||||
SetOutPath "$INSTDIR\temp"
|
||||
${If} ${RunningX64}
|
||||
DetailPrint "Downloading Graphics Rules Maker..."
|
||||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/GraphicsRulesMaker-2.3.0-win64.exe" "$INSTDIR\temp\grm_install.exe" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0 # return value = exit code, "OK" means OK
|
||||
DetailPrint "GRM download status: $0. Executing installer..."
|
||||
${Else}
|
||||
DetailPrint "Downloading Graphics Rules Maker.."
|
||||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/GraphicsRulesMaker-2.3.0-win32.exe" "$INSTDIR\temp\grm_install.exe" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0 # return value = exit code, "OK" means OK
|
||||
DetailPrint "GRM download status: $0. Executing installer..."
|
||||
${EndIf}
|
||||
Execwait $INSTDIR\temp\grm_install.exe
|
||||
Delete $INSTDIR\temp\grm_install.exe
|
||||
SectionEnd
|
||||
|
||||
Section "Sim Shadow Fix" Section5
|
||||
SetOutPath "$INSTDIR\temp"
|
||||
NScurl::http GET "https://github.com/voicemxil/TSStories-Starter-Pack/raw/v13/components/simNopke-simShadowFix0.3reallyNotMisty.package" "simNopke-simShadowFix0.3reallyNotMisty.package" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0
|
||||
DetailPrint "Shadow Fix download status: $0"
|
||||
${If} ${SectionIsSelected} ${Section1}
|
||||
CopyFiles "simNopke-simShadowFix0.3reallyNotMisty.package" "$Documents\Electronic Arts\The Sims Life Stories\Downloads\simNopke-simShadowFix0.3reallyNotMisty.package"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section2}
|
||||
CopyFiles "simNopke-simShadowFix0.3reallyNotMisty.package" "$Documents\Electronic Arts\The Sims Pet Stories\Downloads\simNopke-simShadowFix0.3reallyNotMisty.package"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section3}
|
||||
CopyFiles "simNopke-simShadowFix0.3reallyNotMisty.package" "$Documents\Electronic Arts\The Sims Castaway Stories\Downloads\simNopke-simShadowFix0.3reallyNotMisty.package"
|
||||
${EndIf}
|
||||
Delete "simNopke-simShadowFix0.3reallyNotMisty.package"
|
||||
SetOutPath $INSTDIR
|
||||
RMDir "$INSTDIR\temp"
|
||||
SectionEnd
|
||||
|
||||
Section "LD Bright CAS Fix" Section6
|
||||
DetailPrint "Donwloading Bright CAS Fix..."
|
||||
SetOutPath "$INSTDIR\temp"
|
||||
NScurl::http GET "https://github.com/voicemxil/TS2-Starter-Pack/raw/v13/components/ld_BrightCASFix.package" "$INSTDIR\temp\ld_BrightCASFix.package" /BACKGROUND /END
|
||||
${If} ${SectionIsSelected} ${Section1}
|
||||
CopyFiles "ld_BrightCASFix.package" "$Documents\Electronic Arts\The Sims Life Stories\Downloads\ld_BrightCASFix.package"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section2}
|
||||
CopyFiles "ld_BrightCASFix.package" "$Documents\Electronic Arts\The Sims Pet Stories\Downloads\ld_BrightCASFix.package"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section3}
|
||||
CopyFiles "ld_BrightCASFix.package" "$Documents\Electronic Arts\The Sims Castaway Stories\Downloads\ld_BrightCASFix.package"
|
||||
${EndIf}
|
||||
SectionEnd
|
||||
|
||||
Section /o "DXVK" Section7
|
||||
CreateDirectory "$INSTDIR\temp"
|
||||
SetOutPath $INSTDIR\temp
|
||||
NScurl::http GET "https://github.com/skeeto/vulkan-test/releases/download/1.0.2/vulkan_test.exe" "vulkan_test.exe" /RESUME /INSIST /CANCEL /END
|
||||
ExecWait "$INSTDIR\temp\vulkan_test.exe"
|
||||
Delete "$INSTDIR\temp\vulkan_test.exe"
|
||||
MessageBox MB_YESNO "DXVK requires Vulkan support. If the message box said it successfully created a Vulkan instance, click Yes. Otherwise, click NO." IDYES true IDNO false
|
||||
true:
|
||||
DetailPrint "Downloading DXVK $DXVKVER ..."
|
||||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/d3d9.dll" "$INSTDIR\temp\d3d9.dll" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0 # return value = exit code, "OK" means OK
|
||||
DetailPrint "DXVK download status: $0."
|
||||
NScurl::http GET "https://raw.githubusercontent.com/voicemxil/TSStories-Starter-Pack/v13/components/dxvk.conf" "$INSTDIR\temp\dxvk.conf" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0
|
||||
DetailPrint "DXVK.conf download status: $0."
|
||||
${If} ${SectionIsSelected} ${Section1}
|
||||
!insertmacro installDXVK "The Sims Life Stories"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section2}
|
||||
!insertmacro installDXVK "The Sims Pet Stories"
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section3}
|
||||
!insertmacro installDXVK "The Sims Castaway Stories"
|
||||
${EndIf}
|
||||
Delete "$INSTDIR\temp\d3d9.dll"
|
||||
SetOutPath $INSTDIR
|
||||
RMDir /r "$INSTDIR\temp"
|
||||
Pop $0
|
||||
DetailPrint "Cleanup result: $0"
|
||||
false:
|
||||
DetailPrint "Vulkan is unsupported, DXVK will be skipped."
|
||||
next:
|
||||
DetailPrint "DXVK section complete."
|
||||
RMDir /r "$INSTDIR\temp"
|
||||
SectionEnd
|
||||
SectionGroupEnd
|
||||
|
||||
Section "Visual C++ Redist" Section8
|
||||
CreateDirectory "$INSTDIR\temp"
|
||||
NScurl::http GET "https://aka.ms/vs/17/release/vc_redist.x86.exe" "$INSTDIR\temp\vc_redist.x86.exe" /RESUME /INSIST /CANCEL /END
|
||||
Pop $0
|
||||
DetailPrint "VC Redist download status: $0"
|
||||
ExecWait "$INSTDIR\temp\vc_redist.x86.exe /q /norestart"
|
||||
Delete "$INSTDIR\temp\vc_redist.x86.exe"
|
||||
RMDir /r "$INSTDIR\temp"
|
||||
Pop $0
|
||||
DetailPrint "Cleanup result: $0"
|
||||
SectionEnd
|
||||
|
||||
Section "Start Menu/Desktop Shortcuts" Section9
|
||||
SetShellVarContext all
|
||||
${If} ${SectionIsSelected} ${Section1}
|
||||
CreateDirectory '$SMPROGRAMS\The Sims Stories Starter Pack\'
|
||||
CreateShortCut '$SMPROGRAMS\The Sims Stories Starter Pack\The Sims Life Stories.lnk' '$INSTDIR\The Sims Life Stories\TSBin\SimsLS.exe' "" '$INSTDIR\The Sims Life Stories\TSBin\SimsLS.exe' 0
|
||||
CreateShortCut '$Desktop\The Sims Life Stories.lnk' '$INSTDIR\The Sims Life Stories\TSBin\SimsLS.exe' "" '$INSTDIR\The Sims Life Stories\TSBin\SimsLS.exe' 0
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section2}
|
||||
CreateDirectory '$SMPROGRAMS\The Sims Stories Starter Pack\'
|
||||
CreateShortCut '$SMPROGRAMS\The Sims Stories Starter Pack\The Sims Pet Stories.lnk' '$INSTDIR\The Sims Pet Stories\TSBin\SimsPS.exe' "" '$INSTDIR\The Sims Pet Stories\TSBin\SimsPS.exe' 0
|
||||
CreateShortCut '$Desktop\The Sims Pet Stories.lnk' '$INSTDIR\The Sims Pet Stories\TSBin\SimsPS.exe' "" '$INSTDIR\The Sims Pet Stories\TSBin\SimsPS.exe' 0
|
||||
${EndIf}
|
||||
${If} ${SectionIsSelected} ${Section3}
|
||||
CreateDirectory '$SMPROGRAMS\The Sims Stories Starter Pack\'
|
||||
CreateShortCut '$SMPROGRAMS\The Sims Stories Starter Pack\The Sims Castaway Stories.lnk' '$INSTDIR\The Sims Castaway Stories\TSBin\SimsCS.exe' "" '$INSTDIR\The Sims Castaway Stories\TSBin\SimsCS.exe' 0
|
||||
CreateShortCut '$Desktop\The Sims Castaway Stories.lnk' '$INSTDIR\The Sims Castaway Stories\TSBin\SimsCS.exe' "" '$INSTDIR\The Sims Castaway Stories\TSBin\SimsCS.exe' 0
|
||||
${EndIf}
|
||||
SectionEnd
|
||||
|
||||
Section
|
||||
WriteUninstaller "$INSTDIR\Uninstall The Sims Stories Starter Pack.exe"
|
||||
SectionEnd
|
||||
|
||||
Section "un.Uninstall The Sims Life Stories" un.LS
|
||||
ReadRegStr $R4 HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Life Stories" "FolderName"
|
||||
${If} $R4 = "$INSTDIR\The Sims Life Stories"
|
||||
RMDir /r $R4
|
||||
${EndIf}
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Life Stories"
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Electronic Arts\The Sims Life Stories"
|
||||
DeleteRegKey HKLM32 "Software\Microsoft\Windows\CurrentVersion\App Paths\SimsLS.exe"
|
||||
Delete "$Desktop\The Sims Life Stories.lnk"
|
||||
SectionEnd
|
||||
|
||||
Section "un.Uninstall The Sims Pet Stories" un.PS
|
||||
ReadRegStr $R4 HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Pet Stories" "FolderName"
|
||||
${If} $R4 = "$INSTDIR\The Sims Pet Stories"
|
||||
RMDir /r $R4
|
||||
${EndIf}
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Pet Stories"
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Electronic Arts\The Sims Pet Stories"
|
||||
DeleteRegKey HKLM32 "Software\Microsoft\Windows\CurrentVersion\App Paths\SimsPS.exe"
|
||||
Delete "$Desktop\The Sims Pet Stories.lnk"
|
||||
SectionEnd
|
||||
|
||||
Section "un.Uninstall The Sims Castaway Stories" un.CS
|
||||
ReadRegStr $R4 HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Castaway Stories" "FolderName"
|
||||
${If} $R4 = "$INSTDIR\The Sims Castaway Stories"
|
||||
RMDir /r $R4
|
||||
${EndIf}
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\The Sims Castaway Stories"
|
||||
DeleteRegKey HKLM32 "SOFTWARE\Electronic Arts\The Sims Castaway Stories"
|
||||
DeleteRegKey HKLM32 "Software\Microsoft\Windows\CurrentVersion\App Paths\SimsCS.exe"
|
||||
Delete "$Desktop\The Sims Castaway Stories.lnk"
|
||||
SectionEnd
|
||||
|
||||
Section "un." uninstall
|
||||
SetRegView 32
|
||||
Delete "Uninstall The Sims Stories Starter Pack.exe"
|
||||
RMDIR /r "$SMPrograms\The Sims Stories Starter Pack"
|
||||
RMDIR $INSTDIR
|
||||
SectionEnd
|
||||
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section1} "The Sims Life Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section2} "The Sims Pet Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section3} "The Sims Castaway Stories"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section4} "Installs Graphics Rules Maker 2.3.0."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section5} "Installs SimNopke's Sim Shadow Fix to your downloads folder for Windows 8+. *Don't Use With DXVK*."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section6} "Installs Lazy Duchess's Bright CAS Fix to your downloads folder."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section7} "Installs DXVK $DXVKVER. (Not recommended for beginners.)"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section8} "Installs Visual C++ Redist (x86) if not already installed."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${Section9} "Create a shortuct to launch the game in your Start Menu/Desktop."
|
||||
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
Loading…
Reference in a new issue