From 2240ff4a03b351886adc0ffbb1423342740cf013 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 15 Feb 2004 13:03:15 +0000 Subject: [PATCH] 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 --- Docs/src/usefulfunc.but | 2 +- Include/UpgradeDLL.nsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/src/usefulfunc.but b/Docs/src/usefulfunc.but index e2525495..23c73c09 100644 --- a/Docs/src/usefulfunc.but +++ b/Docs/src/usefulfunc.but @@ -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} diff --git a/Include/UpgradeDLL.nsh b/Include/UpgradeDLL.nsh index 233a6fb9..413a7011 100644 --- a/Include/UpgradeDLL.nsh +++ b/Include/UpgradeDLL.nsh @@ -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}