Menu ▾ ▴

#384 RegTool.bin path wrong in UpgradeDLL.nsh

2.0 Series
closed-fixed
5
2005-06-30
2005-06-30
Anonymous
No

Version: NSIS 2.0.7

Description: either Regtool.bin in wrong place or
path wrong in Include\UpgradeDLL.nsh in line 62

Message:
SetOutPath: "$INSTDIR\bin"
!define: "UPGRADEDLL_NOREGISTER"=""
!insertmacro: UPGRADEDLL
Push: $R0
Push: $R1
Push: $R2
Push: $R3
Push: $R4
Push: $R5
!define: "UPGRADEDLL_UNIQUE"="271.9"
SetOverwrite: try
StrCpy $R4 "$INSTDIR\bin\borlndmm.dll" () ()
StrCpy $R5 "$INSTDIR\bin" () ()
IfFileExists: "$R4" ? 0 : upgradedll.copy_271.9
ClearErrors
GetDLLVersionLocal:
C:/Projects/dev/ProjectA/\NeededDll\borlndmm.dll
(393216,655517)->($R0,$R1)
GetDLLVersion: $R4->$R2,$R3
IfErrors ?upgradedll.upgrade_271.9:
IntCmpU $R0:$R2 equal=0, < upgradedll.done_271.9, >
upgradedll.upgrade_271.9
IntCmpU $R1:$R3 equal=upgradedll.done_271.9, <
upgradedll.done_271.9, > upgradedll.upgrade_271.9
ClearErrors
StrCpy $R0 "$R4" () ()
Call ":upgradedll.file_271.9"
IfErrors ?0:upgradedll.noreboot_271.9
GetTempFileName -> $R0
Call ":upgradedll.file_271.9"
Rename: /REBOOTOK $R0->$R4
GetTempFileName -> $R0
File: "c:\program
files\nsis\Contrib\Library\RegTool\RegTool.bin" -> no
files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]]
filespec [...] |
/oname=outfile one_file_only)
Error in macro UPGRADEDLL on macroline 62
Error in script "Installer.nsi" on line 271 -- aborting
creation process

Possible fix: change path from contrib\library\regtool
to bin

Email: pekka.mauno@tietoenator.com

Discussion

  • Amir Szekely

    Amir Szekely - 2005-06-30

    Logged In: YES
    user_id=584402

    Thanks, fixed.

    It should be included in today's nightly build. However, it
    uses a new version of RegTool, so please test carefully. The
    nightly build is available on the front page.

     
  • Amir Szekely

    Amir Szekely - 2005-06-30
    • status: open --> closed-fixed
     

Log in to post a comment.