UpgradeDLL: rundll32l not always in $SYSDIR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3491 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
870351dffd
commit
2240ff4a03
2 changed files with 2 additions and 2 deletions
|
@ -532,7 +532,7 @@ There is also a copy of this macro in the Include folder, so you only have to in
|
||||||
\c
|
\c
|
||||||
\c !ifndef UPGRADEDLL_NOREGISTER
|
\c !ifndef UPGRADEDLL_NOREGISTER
|
||||||
\c WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" \
|
\c WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" \
|
||||||
\c "Register $R4" '"$SYSDIR\rundll32.exe" "$R4",DllRegisterServer'
|
\c "Register $R4" 'rundll32.exe "$R4",DllRegisterServer'
|
||||||
\c !endif
|
\c !endif
|
||||||
\c
|
\c
|
||||||
\c Goto upgradedll.done_${UPGRADEDLL_UNIQUE}
|
\c Goto upgradedll.done_${UPGRADEDLL_UNIQUE}
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
|
|
||||||
!ifndef UPGRADEDLL_NOREGISTER
|
!ifndef UPGRADEDLL_NOREGISTER
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" \
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" \
|
||||||
"Register $R4" '"$SYSDIR\rundll32.exe" "$R4",DllRegisterServer'
|
"Register $R4" 'rundll32.exe "$R4",DllRegisterServer'
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
Goto upgradedll.done_${UPGRADEDLL_UNIQUE}
|
Goto upgradedll.done_${UPGRADEDLL_UNIQUE}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue