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:
joostverburg 2004-02-15 13:03:15 +00:00
parent 870351dffd
commit 2240ff4a03
2 changed files with 2 additions and 2 deletions

View file

@ -532,7 +532,7 @@ There is also a copy of this macro in the Include folder, so you only have to in
\c
\c !ifndef UPGRADEDLL_NOREGISTER
\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
\c Goto upgradedll.done_${UPGRADEDLL_UNIQUE}

View file

@ -89,7 +89,7 @@
!ifndef UPGRADEDLL_NOREGISTER
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" \
"Register $R4" '"$SYSDIR\rundll32.exe" "$R4",DllRegisterServer'
"Register $R4" 'rundll32.exe "$R4",DllRegisterServer'
!endif
Goto upgradedll.done_${UPGRADEDLL_UNIQUE}