EXEC after FILE - file not exists
I try to copy file to $INSTDIR and then perform operation on it. Unfortuately execution seems to be started before the file is copied. Tho code:
File "proxytrans.ax"
Exec '"$WINDIR\System32\regsvr32.exe" "$INSTDIR\proxytrans.ax"'
The output message is either "file not exists" or "file is used by another process". How to make it correct?