c# - what's the tricky to delete temp folder in the installer? -


i creating msi installer via vs 2008. try delete temp folder @ end of installation. temp folder created installer hold batch files database creation. show other process access , doesn't allow code delete it. have called close() of access process. have put sleep before code delete it. nothing helpful.

do have idea how can delete @ end of installation?

thanks,

did try filemon see accessing temp folder when delete called on folder? better use system temp folder path

system.environment.getenvironmentvariable("temp") 

you need not worry cleaning up.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -