|
![]() |
#1 |
Junior Member
Join Date: Apr 2016
Posts: 2
|
![]()
Sample script:
code: Nsis error: Error: resolving install function "DeleteLinkOrFolder_" in function "Clean" Note: uninstall functions must begin with "un.", and install functions must not How can i do fix the this? In this code: code: if i modify the script like this and if i don't need the macro "CreateSymbolicLinkFolder", nsis give me a warning: install function "CreateSymbolicLinkFolder_" not referenced - zeroing code |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,334
|
I assume this is the same question as you posted on SO? It is a bit hopeless when the errors are in "DeleteLinkOrFolder_" or "Clean" and you don't even show us what those functions look like!
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Apr 2016
Posts: 2
|
Sorry, the correct source code:
Sample nsis script: code: Nsis error: Error: resolving install function "CreateSymbolicLinkFolderFunc" in function "Clean" Note: uninstall functions must begin with "un.", and install functions must not How can i define CreateSymbolicLinkFolder_ correctly in macro CreateSymbolicLinkFolder? The "!ifdef CreateSymbolicLinkFolder_" code is to avoid nsis warning, when i don't need to call the macro CreateSymbolicLinkFolder: install function "CreateSymbolicLinkFolder_" not referenced - zeroing code Last edited by cx08; 27th April 2016 at 01:58. Reason: simplify matters |
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,334
|
CreateSymbolicLinkFolder_ is not defined at the top before the !ifdef so the function is never created. Define it before the !include or check my answer on SO for a better way to do this...
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
function, macro |
Thread Tools | Search this Thread |
Display Modes | |
|
|