Old 13th May 2009, 13:58   #1
midilogic
Junior Member
 
Join Date: May 2009
Posts: 3
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
midilogic is offline   Reply With Quote
Old 13th May 2009, 14:21   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
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)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 15th May 2009, 13:06   #3
midilogic
Junior Member
 
Join Date: May 2009
Posts: 3
Quote:
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.
midilogic is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump