I have the following problem
registering a control (cwui.ocx) from commandline works
via NSIS only If I remoe the "RequestExecutionLevel admin" entry
codeexample:
This one failes!include Library.nsh
Name "test_ocx_install"
OutFile "test_ocx_install.exe"
InstallDir $DESKTOP\Example1
; Request application privileges for Windows Vista
RequestExecutionLevel admin
; Pages
ShowInstDetails show
Page directory
Page instfiles
Section ""
SetOutPath $TEMP
!insertmacro InstallLib REGDLL 0 REBOOT_PROTECTED "..\common\binaries\system32
cwui.ocx" $SYSDIR\cwui.ocx $SYSDIR
${If} ${Errors}
DetailPrint "Instlib failed"
ClearErrors
${endIf}
SectionEnd
if I remove the RequestExecutionLevel admin or replace it with RequestExecutionLevel none, the register task works well?!?!?
Some hints what I'm doing wrong?😕