Skip to Content
0

Error while compiling NSI script Agentry installer

Dec 06, 2016 at 12:00 PM

53

avatar image

Hi,

I extract the installer source from the Agentry Client 7.0. Also installed the NSIS software.

Even without actually branding the installer or the Agentry client, I try to compile the NSI script to create a new installer. Unfortunately this fails.

Any a clue? This is an unaltered installation source which I would expect to compile directly.

Kind regards,

Mike

capture.png (14.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Bill Froelich
Dec 06, 2016 at 02:17 PM
0

The correct command line would be

C:\Sandbox\sp14>makensis /DgVerInstaller=70.14.0.0 /DBranding=AgentryClientDotNET_Branding.nsi AgentryClientDotNET.nsi

I would also recommend upgrading to the latest WPF client (SP14). There were a few versions where the branding files were not correctly written out when extracted.

--Bill

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Bill,

Thank you for your reply. When I use your command line, it ends up with the same error. I will try the SP14 client.

Kind regards,

Mike

0

Hi Bill,

I downloaded the SP14 client, extracted the installer source and used your command line. I still get the same error, only the line is different, but it is pointing to exactly the same script code:

Source: MSredistr_x86.nsh, line 23

!ifmacrodef Branding_${__SECTION__}

!insertmacro Branding_${__SECTION__}

!endif

What version of NSIS is required? I'm using version 3.0. Or is there another culprit ?

Kind regards,

Mike

0

Hi,

After uninstalling NSIS 3.0 and installing 2.51, the compilation went well. So the instructions should not be '

Click the [Download] link under 'Latest NSIS release.'

Kind regards,

Mike

0