this is my script:
ClearErrors
CopyFiles "$INSTDIR\\Server\\myLib.dll" "$INSTDIR\\Server\\myLib-w.dll"
IfErrors 0 +2
Abort "Error copying Server Library" And it always fall in the IfErrors clauseAny ideas on what to do?
10 posts
ClearErrors
CopyFiles "$INSTDIR\\Server\\myLib.dll" "$INSTDIR\\Server\\myLib-w.dll"
IfErrors 0 +2
Abort "Error copying Server Library" And it always fall in the IfErrors clause Rename "$INSTDIR\Server\myLib.pdb" "$INSTDIR\Server\myLib-w.pdb"
IfErrors 0 +2
Abort "Error copying DLL's PDB"
ClearErrors
File "files\myLib-wrapper.dll" "$INSTDIR\Server\myLib.dll"
IfErrors 0 +2
Abort "Error installing wrapper" then it runs OK... SetOverwrite try in a previous (not optional) section.