OCSInventory-NG / Packager-for-Windows

The packager helps installing OCS Inventory NG Agent for Windows (or any windows application). It create an executable package including multiple files to install, and is able to run the installation process under the specified account having Administrative privileges.
Other
12 stars 7 forks source link

Error while compiling #1

Closed fgent closed 6 years ago

fgent commented 7 years ago

ListBox and instOCS are fine but I get an error when compiling OcsPackager.nsi

!include: could not find: "TextReplace.nsh" Error in script "...OcsPackager.nsi" on line 16 -- aborting creation process

When commenting this line, I get many further errors, even worse. Any idea ?

fbomj commented 7 years ago

Hi,

You have to install TextReplace.nsh plugin for NSI. http://nsis.sourceforge.net/TextReplace_plugin

Regards

Frank

fgent commented 7 years ago

Thanks Frank, Now after plugin install, I get a new similar message : Plugin not found, cannot call textreplace::_ReplaceInFile Error in macro textreplace::ReplaceInFile on macroline 1 Error in script "...OcsPackager.nsi" on line 256 -- aborting creation process

tkroals commented 7 years ago

Hi fgent,

check where is your plugin directory after running OcsPackager.nsi (5th line), put there TextReplace.dll and run it again.

It should look like this:

MakeNSIS v3.01 - Copyright 1999-2016 Contributors See the file COPYING for license details. Credits can be found in the Users Manual.

Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh Processing default plugins: "C:\Program Files (x86)\NSIS\Plugins\x86-ansi*.dll"