Skip to content
⌘ NSIS Forum Archive

Rebootok does not work for network paths

2 posts

winman2004#

Rebootok does not work for network paths

If REBOOTOK is used then in case if file rename is pending then it will be done after system restart according to registry PendingFileRenameOperations. But if the path of the file is network path then does it work? In my case i install update(created in NSIS ) from network path which updates s/w installed in another PC. in that case rebootok does not work and no registry is written in PendingFileRenameOperations(As per my testing). IS that designed like that only? Or is there any solution?
Anders#
NSIS just calls MoveFileEx and the docs for that says the file has to be local.

If the file is on a share where you don't need any authentication it is still not going to work because the remote computer has of course not rebooted so the file can still be in use...