From 1845d6a828dac1e9682298a576d934cbf804125d Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 3 Aug 2003 21:06:56 +0000 Subject: [PATCH] new UpgradeDLL syntax git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2781 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/usefulinfos.but | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but index a843a839..a80229ad 100644 --- a/Docs/src/usefulinfos.but +++ b/Docs/src/usefulinfos.but @@ -100,13 +100,13 @@ During the uninstallation, use \R{unremovesharedll}{un.RemoveSharedDLL} to decre \c #!define VBFILESDIR C:\Path\to\where\vbrun60sp5.exe\extracted \c \c Section "Install VB DLLs" -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Asycfilt.dll $SYSDIR\Asycfilt.dll -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Comcat.dll $SYSDIR\Comcat.dll -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Msvbvm60.dll $SYSDIR\Msvbvm60.dll -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Oleaut32.dll $SYSDIR\Oleaut32.dll -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Olepro32.dll $SYSDIR\Olepro32.dll +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Asycfilt.dll $SYSDIR\Asycfilt.dll $SYSDIR +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Comcat.dll $SYSDIR\Comcat.dll $SYSDIR +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Msvbvm60.dll $SYSDIR\Msvbvm60.dll $SYSDIR +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Oleaut32.dll $SYSDIR\Oleaut32.dll $SYSDIR +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Olepro32.dll $SYSDIR\Olepro32.dll $SYSDIR \c !define UPGRADEDLL_NOREGISTER -\c !insertmacro UpgradeDLL ${VBFILESDIR}\Stdole2.tlb $SYSDIR\Stdole2.tlb +\c !insertmacro UpgradeDLL ${VBFILESDIR}\Stdole2.tlb $SYSDIR\Stdole2.tlb $SYSDIR \c !undef UPGRADEDLL_NOREGISTER \c # skip shared count increasing if already done once for this application \c IfFileExists $INSTDIR\myprog.exe skipAddShared