cancel
Showing results for 
Search instead for 
Did you mean: 

Error while compiling NSI script Agentry installer

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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