I've had a bit of a look but i'm a bit confused.
In ${SourcePath}\Components\ I have *.dll/*.ocx/*.exe that I want to copy to my current $OUTDIR and register. Currently for the DLL/OCX I am using:
!insertmacro InstallLib REGDLL 0 REBOOT_NOTPROTECTED "${SourcePath}\Components\ADOListView.ocx" "$OUTDIR\ADOListView.ocx" $0
And for the exes:However I've got so many files I don't want to hardcode each one, plus it's hassle adding/removing new/old ones, so how can I just do it with a wildcard?
File "${SourcePath}\PopupMessage.exe"
ExecWait '"$OUTDIR\PopupMessage.exe" /regserver'
For my .Net files I have:
File "${SourcePath}\ComponentsDOTNET\*.dll"
${Locate} "$OUTDIR\" "/M=Interop* /L=F /G=0" "Regasm"
And that works fine, the Regasm function simply executes regasm.exe with the filepath to registerI could do the same sort of thing and just call regsvr32 I guess.... Or will that cause problems for me?