Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2004, 19:19   #1
roger_aol
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
roger_aol is offline   Reply With Quote
Old 4th March 2004, 19:28   #2
Joost Verburg
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
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump