From 9e16ba98b8f78974fc83d28d79cbb08c56b60c5f Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 6 Nov 2002 21:12:53 +0000 Subject: [PATCH] upgradedll: better dll registration on reboot git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1608 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/usefulfunc.but | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"