|
|
#1 |
|
Junior Member
Join Date: Jun 2001
Posts: 1
|
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 |
|
|
|
|
|
#2 |
|
Member
Join Date: Apr 2001
Posts: 89
|
Unfortunately, you cannot use variables for local file names. /STOREFROM expects a path to a DLL on the development system, but variables like $0 are only expanded at install-time.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|