mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Installer: Minor tweaks
This commit is contained in:
parent
5f274807c3
commit
3cf2c21c7b
@ -669,15 +669,6 @@ SkipIniMove:
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
; Remove Rainmeter files mistakenly installed to root of Windows drive (old installer bug)
|
||||
${GetRoot} "$WINDIR" $0
|
||||
${If} ${FileExists} "$0\Rainmeter.exe"
|
||||
${AndIfNot} ${FileExists} "$0\Plugins"
|
||||
Delete "$0\Rainmeter.exe"
|
||||
Delete "$0\Rainmeter.dll"
|
||||
Delete "$0\SkinInstaller.exe"
|
||||
${EndIf}
|
||||
|
||||
; Cleanup old stuff
|
||||
Delete "$INSTDIR\Rainmeter.chm"
|
||||
Delete "$INSTDIR\Default.ini"
|
||||
@ -706,12 +697,13 @@ SkipIniMove:
|
||||
${EndIf}
|
||||
|
||||
!ifdef INCLUDEFILES
|
||||
File "..\..\Application\Rainmeter.exe.config"
|
||||
|
||||
${If} $instArc == "x86"
|
||||
!insertmacro InstallFiles "x32"
|
||||
${Else}
|
||||
!insertmacro InstallFiles "x64"
|
||||
${EndIf}
|
||||
File "..\..\Application\Rainmeter.exe.config"
|
||||
|
||||
RMDir /r "$INSTDIR\Languages"
|
||||
SetOutPath "$INSTDIR\Languages"
|
||||
|
Loading…
Reference in New Issue
Block a user