Announcement

Collapse
No announcement yet.

Removing a temp folder

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing a temp folder

    Hello,

    I have my application setup to install into the %AppDir% folder, while another file, the WinZip utilities is installed into the %TempDir% folder.

    If the %InstallType% is Complete, then the WinZip file is executed (this installs the WinZip Command Line Utilities). This is run "After Installation". Then, a FILE operation is used ("On Shutdown") to delete this temp folder, but I keep getting the error "Error removing directory: Access Denied". This folder is:

    C:\Windows\Temp\Julian_Shell

    Why is this happening?

    ------------------

    -Prince Of Thieves

  • #2
    Re: Removing a temp folder

    Hi,
    I tried creating and deleting a folder in my temp directory and everything worked properly. Perhaps in your case the reason for the error is because the Jullian_Shell directory is still in use. Have you tried deleting all the files from the directory before you delete the actual directory?

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Removing a temp folder

      Thanks Mark,

      Deleting the files IN the folder B4 deleting the folder worked!

      Regards.

      ------------------

      -Prince Of Thieves


      [This message has been edited by Thief (edited 01-01-2001).]

      Comment

      Working...
      X