mirror of
https://github.com/voicemxil/TSStories-Starter-Pack.git
synced 2025-01-22 08:11:49 -05:00
v11
This commit is contained in:
parent
baf3cf1c7f
commit
5f4d14c6fc
3 changed files with 13 additions and 3 deletions
Binary file not shown.
|
@ -6,10 +6,10 @@
|
|||
WriteRegStr HKLM32 "Software\${gameKey}" "DisplayName" "${gameTitle}"
|
||||
Pop $3
|
||||
DetailPrint "DisplayName Registry: $3"
|
||||
WriteRegStr HKLM32 "Software\${gameKey}" "Folder" "$INSTDIR\${gameTitle} Starter Pack"
|
||||
WriteRegStr HKLM32 "Software\${gameKey}" "Folder" "$INSTDIR\${gameTitle}"
|
||||
Pop $3
|
||||
DetailPrint "Folder Registry: $3"
|
||||
WriteRegStr HKLM32 "Software\${gameKey}" "Install Dir" "$INSTDIR\${gameTitle} Starter Pack"
|
||||
WriteRegStr HKLM32 "Software\${gameKey}" "Install Dir" "$INSTDIR\${gameTitle}"
|
||||
Pop $3
|
||||
DetailPrint "Install Dir Registry: $3"
|
||||
WriteRegDWORD HKLM32 "Software\${gameKey}\1.0" "Language" "1"
|
||||
|
@ -32,7 +32,7 @@
|
|||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\App Paths\${gameEXE}" "Path" "$INSTDIR\${gameTitle}"
|
||||
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "DisplayName" "${gameTitle}"
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "FolderName" "$INSTDIR"
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "FolderName" "$INSTDIR\${gameTitle}"
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "UninstallString" "$\"$INSTDIR\Uninstall ${gameTitle} Starter Pack.exe$\""
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "DisplayIcon" "$\"$INSTDIR\${gameTitle}\TSBin\${gameEXE}$\""
|
||||
WriteRegStr HKLM32 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${gameTitle}" "Publisher" "osab / EA"
|
||||
|
|
|
@ -237,9 +237,15 @@ Section "Start Menu/Desktop Shortcuts" Section8
|
|||
${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"
|
||||
|
@ -248,7 +254,9 @@ 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"
|
||||
|
@ -257,7 +265,9 @@ 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"
|
||||
|
|
Loading…
Reference in a new issue