Minor change to installer

This commit is contained in:
Birunthan Mohanathas 2012-04-29 16:29:18 +03:00
parent 97656ad6bc
commit e968951a1d

View File

@ -650,6 +650,8 @@ Section
${If} $0 == 1 ${If} $0 == 1
; Copy succeeded ; Copy succeeded
Delete "$INSTDIR\Rainmeter.ini" Delete "$INSTDIR\Rainmeter.ini"
${Else}
MessageBox MB_OK|MB_ICONSTOP "$(SETTINGSMOVEERROR)"
${EndIf} ${EndIf}
SkipIniMove: SkipIniMove:
${EndIf} ${EndIf}
@ -751,7 +753,6 @@ Function CopyIniToAppData
CopyFiles /SILENT "$INSTDIR\Rainmeter.ini" "$APPDATA\Rainmeter\Rainmeter.ini" CopyFiles /SILENT "$INSTDIR\Rainmeter.ini" "$APPDATA\Rainmeter\Rainmeter.ini"
${If} ${Errors} ${If} ${Errors}
StrCpy $0 0 StrCpy $0 0
MessageBox MB_OK|MB_ICONSTOP "$(SETTINGSMOVEERROR)"
${EndIf} ${EndIf}
FunctionEnd FunctionEnd