|
|
|
|
#1 |
|
Junior Member
Join Date: Feb 2008
Location: Austin, TX
Posts: 11
|
I have written an installer that copies directories from a cd to the machines file system, and calls another utility of ours that does some sql operations.
Running the installer from the root of the cd causes it to hang during a RMDIR command, and the installer takes about twice as long to complete than if I copy it to the target machine and run it from there. At the end of the install, the installer does a RMDIR /r on a temporary directory, and I can see it delete the files in the detail window, but when it tries to remove the folder, it takes forever, somewhere upwards of 10 minutes. I have watched the installer in task manager and during this time it uses almost no processor. Has anyone else had this issue, or know why this might be the case? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
If it's not already the case:
Before RMDIR, try to SetOutPath to a directory different than the one you're trying to delete. This might explain why the installer has a hard time deleting the folder itself. My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|