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
This commit is contained in:
joostverburg 2002-11-06 21:12:53 +00:00
parent 2ae1a883d5
commit 9e16ba98b8

View file

@ -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}"