|
|
#1 |
|
Junior Member
Join Date: Mar 2004
Location: VA, USA
Posts: 2
|
How to force overwrite a file
Hi,
I have a question of the "File" command and "SetOverwrite" attribution. There is NO "force overwrite". Is there a way I can do a "force overwrite"? Which means if a file is not be able to be written to(for example, it is still in use), the "File" command automatically set the reboot flag, and the file can be replaced after reboot. Just like "Delete" command may not be able to delete a file right now, it set the reboot flag and the file can be deleted after reboot. Thanks, Roger |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
That's because a temporary file has to be created. Someone just modified one of my macros for this situation:
http://forums.winamp.com/showthread....hreadid=172023 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|