View Full Version : Uninstall Log Not Being Overwritten
Darrel Witham
07-31-2008, 02:27 PM
V6.9.2309
I have the following function in my script:
"Create Installation Log "[UNINSTALL LOG]" [Overwrite Existing Uninstall Application]"
I run the script 2 times and both installs are in the uninstall log file.
What am I doing wrong?
linder
07-31-2008, 11:37 PM
Darrel,
It does what it say <g> It overwrites an existing uninstall APPLICATION, not the LOG ;-) To remove an existing uninstall .log, use the Delete File(s) script function.
Does this help?
Friedrich
Darrel Witham
08-01-2008, 09:09 AM
I do issue a delete statement (line 157 in attached png) but the uninstall log file is NOT deleted. Should I move the delete statements?
linder
08-01-2008, 09:21 AM
Darrel,
If you try to delete the uninstall .log in Line 157 then it fails because the uninstall .log is still open and Windows does not allow to remove it (DeleteFile API fails).
Remove the .log in, say, Line 143.
Does this help?
Friedrich
Darrel Witham
08-01-2008, 10:40 AM
That did it - thanks.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.