fix for bug #368661: on running the installer, remove the updates directory, updates.xml and active-update.xml files. otherwise, we could have a pave over install that then applies a pending update. additonally, after a pave over install the update history needs to be reset.

r=mscott, rstrong
This commit is contained in:
sspitzer%mozilla.org 2007-02-05 15:52:43 +00:00
Родитель 78211623bd
Коммит 422835a6fd
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -286,6 +286,10 @@ Section "-Application" Section1
${DeleteFile} "$INSTDIR\install_wizard.log" ${DeleteFile} "$INSTDIR\install_wizard.log"
${DeleteFile} "$INSTDIR\install_status.log" ${DeleteFile} "$INSTDIR\install_status.log"
RmDir /r "$INSTDIR\updates"
${DeleteFile} "$INSTDIR\updates.xml"
${DeleteFile} "$INSTDIR\active-update.xml"
SetDetailsPrint textonly SetDetailsPrint textonly
DetailPrint $(STATUS_INSTALL_APP) DetailPrint $(STATUS_INSTALL_APP)
SetDetailsPrint none SetDetailsPrint none