View Single Post
Old 11th February 2011, 15:25   #12
akatik
Junior Member
 
Join Date: May 2010
Posts: 19
Yes, path is correct. The code is:

CreateShortcut "$SMPROGRAMS\wtc\${wtcTxt}-Administrator.lnk" "$INSTDIR\Bin\win32.exe"
push "$SMPROGRAMS\wtc\${wtcTxt}-Administrator.lnk"
call ShellLinkSetRunAs
pop $0

As far as I understood this function returned not 0:
System::Call "$2->5(w '$9',i 0)i.r0" ;Load
akatik is offline   Reply With Quote