Old 16th October 2015, 02:16   #1
tomkraft11
Junior Member
 
Join Date: Oct 2015
Posts: 1
Question Compile Error NSIS

install function ".MoveFolder_Locate_movefile" not referenced - zeroing code (10-42) out
install function ".MoveFolder_Locate_deleteDir" not referenced - zeroing code (42-47) out
I am not sure why I am getting this warning.
My Code in installer:
Section 0.01
!include 'FileFunc.nsh'
!insertmacro Locate
Var /GLOBAL "switch_overwrite"
StrCpy $switch_overwrite 1
; Move File or Folders
!insertmacro MoveFile "$INSTDIR\[path\]filename.xxx" "$INSTDIR\[path\]filename.xxx"
!insertmacro MoveFile "$INSTDIR\[path\]file2.xxx" "$INSTDIR\[path\]file2.xxx"
SectionEnd
Am I missing syntax or have I not referenced a nsh file..
The help section is where I got the code. Help
tomkraft11 is offline   Reply With Quote
Old 16th October 2015, 08:18   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
You have not defined the macros you're calling
Yathosho is offline   Reply With Quote
Old 16th October 2015, 14:37   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,445
Your example code is incomplete, I assume you are using 3rd-party helper macros/functions that you forgot to tell us about.

When asking for help you should also specify the NSIS and Windows versions you are using...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
compile error, compile warning, move existing files, move files error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump