diff --git a/Docs/src/usefulfunc.but b/Docs/src/usefulfunc.but index f5023781..7c8115e5 100644 --- a/Docs/src/usefulfunc.but +++ b/Docs/src/usefulfunc.but @@ -409,7 +409,7 @@ \c ;Register the DLL on reboot \c \c !ifndef UPGRADEDLL_NOREGISTER -\c WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" "Register ${DESTFILE}" '"$SYSDIR\regsvr32.exe" /s "${DESTFILE}"' +\c WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" "Register ${DESTFILE}" '"$SYSDIR\rundll32.exe" "${DESTFILE},DllRegisterServer"' \c !endif \c \c Goto "done_${LOCALFILE}"