![]() |
#1 |
Junior Member
Join Date: May 2020
Posts: 2
|
Errors due to migration from NSIS2 to NSIS3
Hi, I want to make migration to NSIS3, because CPack's NSIS2 support has ended.
I tried to compile project.nsi which was used in NSIS2 with NSIS3. The following error occurred. code: I have a question about this error. Is "RemoveSection" macro specifically defined in NSIS3? --- [Previous Environments] * NSIS 2.51 [New Environments] * NSIS 3.05 |
![]() |
![]() |
![]() |
#2 | |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
/Include/Sections.nsh has that macro but it is 10 years old by now.
You could try this early in your .nsi: Quote:
IntOp $PostCount $PostCount + 1 |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: May 2020
Posts: 2
|
@Anders Thanks, It works correctly!
![]() |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|