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:
parent
2ae1a883d5
commit
9e16ba98b8
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue