|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Sep 2014
Posts: 3
|
First of all, thanks a lot Afrow UK
I'm using the same code which I got from web, But its throwing an error every time I run the makensis.exe #CODE Section #MessageBox mb_iconstop '$INSTDIR' StrCpy $R0 "$INSTDIR" StrCpy $R1 "$INSTDIR_BKP" StrCpy $R2 0 StrCpy $R3 0 ${locate::Open} "$INSTDIR" "/L=FD" "Example5" IfErrors 0 +2 MessageBox MB_OK 'error' IDOK +4 StrCmp $R3 0 0 +2 MessageBox MB_OK '$R2 files were moved' IDOK +2 MessageBox MB_OK '$R2 files were moved$\n$R3 files were NOT moved' SectionEnd Function Example5 StrCmp $R8 $R1 +6 IfFileExists '$R1\$R7' +4 Rename $R9 '$R1\$R7' IntOp $R2 $R2 + 1 goto +2 IntOp $R3 $R3 + 1 Push $0 FunctionEnd #ERROR [nsis] Error in macro locate::Open on macroline 2 [nsis] Error in script "<PATH>\FullInstall.nsi" on line 50 -- aborting creation process Line no 50 is the one with ${locate::Open} call |
|
|
|
![]() |
|
|||||||
| Tags |
| locate plugin, moving files and folders |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|