install a dummy stats.html so the menu link isn't broken until the first run

This commit is contained in:
Glenn Maynard
2004-05-26 04:44:51 +00:00
parent 246518d44f
commit 02ac95c1d8
+12 -1
View File
@@ -248,6 +248,11 @@ File "Program\dbghelp.dll"
File "Program\zlib1.dll"
File "Program\lua.dll"
SetOverwrite off
SetOutPath "$INSTDIR\Data\MachineProfile"
File "Docs\stats.html"
SetOverwrite on
SetOutPath "$INSTDIR"
File "COPYING.txt"
File "README-FIRST.html"
@@ -400,10 +405,16 @@ Delete "$INSTDIR\Program\resample.dll"
Delete "$INSTDIR\Program\dbghelp.dll"
Delete "$INSTDIR\Program\zlib1.dll"
Delete "$INSTDIR\Program\lua.dll"
RMDir "$INSTDIR\Program"
; It's harmless to delete this, as long as we leave Stats.xml alone; it'll be rewritten
; by the program the next time it's run.
Delete "$INSTDIR\Data\MachineProfile\stats.html"
RMDir "$INSTDIR\Data\MachineProfile"
Delete "$INSTDIR\COPYING.txt"
Delete "$INSTDIR\README-FIRST.html"
Delete "$INSTDIR\NEWS"
RMDir "$INSTDIR\Program"
Delete "$INSTDIR\log.txt"
Delete "$INSTDIR\info.txt"
Delete "$INSTDIR\crashinfo.txt"