UnInstallLib is usually used in uninstallers, so use un.GetParent instead of GetParent
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4881 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
35ae3cca66
commit
1750a886af
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
!include LogicLib.nsh
|
||||
!include FileFunc.nsh
|
||||
|
||||
!insertmacro GetParent
|
||||
!insertmacro un.GetParent
|
||||
|
||||
### Initialize session id (GUID)
|
||||
!macro __InstallLib_Helper_InitSession
|
||||
|
@ -693,7 +693,7 @@
|
|||
Delete $R0
|
||||
|
||||
# Try moving to directory containing the file.
|
||||
${GetParent} $R1 $R0
|
||||
${un.GetParent} $R1 $R0
|
||||
GetTempFileName $R0 $R0
|
||||
Delete $R0
|
||||
Rename $R1 $R0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue