I'm trying to make the following function to clean up the code and labels. It seems to be taking the $0 as a literal filename. Any suggestions?
Function DLLInstall
CompareDLLVersions /STOREFROM $0 "$OUTDIR\$0" TimeDLL SkipDLL
TimeDLL:
CompareFileTimes /STOREFROM $0 "$OUTDIR\$0" CopyDLL SkipDLL
CopyDLL:
File $0
RegDLL "$OUTDIR\$0"
SkipDLL:
FunctionEnd