Talk:Reference/SetOutPath: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
While SetOutPath is set, the folder is locked: | While SetOutPath is set, the folder is locked: | ||
SetOutPath "$InstDir\ | SetOutPath "$InstDir\MyDir" | ||
Thus trying to rename it: | Thus trying to rename it: | ||
Rename "$InstDir\ | Rename "$InstDir\MyDir" ""$InstDir\MyDir_Backup" | ||
Will lead to: | Will lead to: | ||
Rename failed: C:\temp\myDir->C:\temp\myDir_Backup | Rename failed: C:\temp\myDir->C:\temp\myDir_Backup |
Revision as of 12:00, 7 September 2022
While SetOutPath is set, the folder is locked:
SetOutPath "$InstDir\MyDir"
Thus trying to rename it:
Rename "$InstDir\MyDir" ""$InstDir\MyDir_Backup"
Will lead to:
Rename failed: C:\temp\myDir->C:\temp\myDir_Backup