Talk:Reference/SetOutPath: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with " While SetOutPath is set, the folder is locked: SetOutPath "$InstDir\Somedir" Thus trying to rename it: Rename "$InstDir\Somedir" ""$InstDir\Somedir_Backup" Will lead to: Re...")
 
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\Somedir"
SetOutPath "$InstDir\Somedir"
Thus trying to rename it:
Thus trying to rename it:
Rename "$InstDir\Somedir" ""$InstDir\Somedir_Backup"
Rename "$InstDir\Somedir" ""$InstDir\Somedir_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 11:58, 7 September 2022

While SetOutPath is set, the folder is locked:

SetOutPath "$InstDir\Somedir"

Thus trying to rename it:

Rename "$InstDir\Somedir" ""$InstDir\Somedir_Backup"

Will lead to:

Rename failed: C:\temp\myDir->C:\temp\myDir_Backup