I tried the code below to get the MAC address in Inno Setup, but getting the error like
Internal error: ExtractTemporaryFile: File "ISID.dll" not found.
I copied ISID.dll to the application folder, still getting the above error.
Please let me know if I am missing something ....:
function GetMacAddress(output:string): Integer; external 'GetMACAddress@files:ISID.dll stdcall'; function GetMacAdd(Output: string): string; var ClassName: String; Ret: Integer; begin SetLength(ClassName, 256); Ret := GetMacAddress(PChar(ClassName)); Result := Copy(ClassName, 1, Ret); end;
inno-setup
Ashish Jan 10 '15 at 7:22 2015-01-10 07:22
source share