Archive: Invalid command: UAC::ExecCodeSegment


Invalid command: UAC::ExecCodeSegment
Hello,

I have been compiling my NSIS script in XP with no problem. I just moved all my dev to Windows Vista and I am getting NSIS compile error when compiling my script. I am getting "Invalid command: UAC::ExecCodeSegment". Below is the line where I am getting the error:

....
;save the full license file to APPDATA
GetFunctionAddress $0 SaveFullLicense
UAC::ExecCodeSegment $0 <=== error in this line

I don't know what to do now. Can't go back to XP. Appreciate for all the help.

Thanks


Has nothing to do with Vista vs XP. Are you sure UAC.dll is in your plugins directory or a path added with !addpluginsdir ? (And that the version of UAC.dll is not too old)


Originally posted by Anders
Has nothing to do with Vista vs XP. Are you sure UAC.dll is in your plugins directory or a path added with !addpluginsdir ? (And that the version of UAC.dll is not too old)
You are right. I forgot to copy UAC.dll to my new computer. Thanks.