|
|
#1 |
|
Junior Member
Join Date: Apr 2007
Posts: 4
|
While trying to register an OCX file, I encountered a bug in Library.nsh. It only manifested when I used the InstalLib macro with REBOOT_*, and not with NOREBOOT_*. The code which causes the problem is in the macro __InstallLib_Helper_InitSession, around line 51:
code: Normally, this works, but my installer file is named 3D+PRO.NSI, and labels cannot start with numbers. A fix is to change the above line to: code: The difference is the "LBL_" prefix. With this change, the code works with installers starting with a number (or any other character disallowed as an initial character in a label). |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed. Please submit a bug report in the future.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|