+ Reply to Thread
Results 1 to 5 of 5

Thread: Uninstall Log Not Being Overwritten

  1. #1

    Default Uninstall Log Not Being Overwritten

    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?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Uninstall Log Not Being Overwritten

    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

  3. #3

    Default Re: Uninstall Log Not Being Overwritten

    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?
    Attached Images Attached Images  

  4. #4
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Uninstall Log Not Being Overwritten

    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

  5. #5

    Default Re: Uninstall Log Not Being Overwritten

    That did it - thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •