GithubHelp home page GithubHelp logo

ocsinventory-ng / packager-for-windows Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 7.0 67.93 MB

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.

License: Other

NSIS 100.00%

packager-for-windows's People

Contributors

charleneauger avatar dliroulet avatar gillesdubois avatar oozevsoo avatar remicollet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packager-for-windows's Issues

Instalator elevation

Packages created using OCS Packager have no "run as administrator" flag set - so if I try simply running them, nothing happens. I have to right click on OCS package and select "run as administrator" to install such package.
Please set the created packages to have "run as administrator" by default.

"Certificate file" field not working

I think it is expected that if you select your cacert.pem file in the "Certificate File" field of the Packager, it should be copied to the corresponding path (C:\ProgramData\OCS Inventory NG\Agent\cacert.pem), but I've tried a lot of ways to do that, and simply the file is not copied.

Package with upgrade function

How to create a package with upgrade function (like a /DEPLOY key for ocslogon.exe)?
I need install the agent only in next cases:

  • there're not an agent on a PC;
  • current version of the agent on a PC is less than in the package.

But I get the installation of the agent in all cases, even if current version of the agent on a PC is equal the package version.

There's a problem if the package starts with Active Directory GPO.

Packager 2.3 create package with default options

Hi.

I have created a package for Windows with OCSNG-Windows-Agent-2.4.0.0 and OCSNG-Windows-Packager-2.3.

I have launched packger, setup variuos option and then create the package.

But when I install the package on my PC the installed packages has default options (I have looked in AppData and ocsinventory.ini does not contain the custom voices that I have inseted during installation).

Can you help me?

Thank you

Provide uninstall Agent then plugins install last setup Agent

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Operating system : Window 10

OCS Inventory informations

Windows agent version : 2.3.0.0

Problem's description

Describe your problem here

Doing upgrade from 2.1.1.1 to 2.3.0.0 (WINDOWS agent) in silent mode, via remote. Do not provide uninstallation.

Is better to provide clear up old files from 2.1.1.1 agent when doing an upgrade to 2.3.0.0. There an /upgrade option but only valid for 1.x Agent which is long time ago. Hope there an /upgrade=previous_agent_folder_path ( to run uninst.exe) this will provide a clean uninstallation then transfer plugins files and last the new agent setup process (NSIS_agent_setup) . So unnecessary old files is clear (fig2)

Fig 1
image
Fig 2
image

Thanks.

Newbie with OCS Inventory

How-to use OCS Inventory in Windows?

error 404
http://ask.ocsinventory-ng.org/
http://wiki.ocsinventory-ng.org/index.php/Main_Page

No info :'(

any step-by-step guide, or Getting Started – Quick Start that can be completed in 15-20 minutes?

I get you a good step-by-step guide sample like https://berniecook.wordpress.com/2013/01/13/getting-started-with-git-and-visual-studio-step-by-step-guide/ 4

… I wanted to quickly cover off several assumptions before we get started: install (requisites, tools required), configure, an running quickly. Target will be an “go and ready” sample. Maybe better an real application sample

Mindly notes:

Any good getting started with ElasticSearch? step by step in 10 minutes?

IMHO, better samples for minimize learning curve are real applications with full source code and good patterns and practices

Full source code sample REAL application? not Demo, only real applications?
Like for small to medium applications development, but open source, if you can sharing or maybe another real project or production-ready application using.

main influences, are full of innovative ideas that can free our minds to explore new techniques, patterns and paradigms.

You want to use technologies that allow for rapid development, constant iteration, maximal efficiency, speed, robustness and more. You want to be lean and you want to be agile. You want to use technologies that will help you succeed in the short and long term. And those technologies are not always easy to pick out.

Thanks a lot for your big efforts.

Typo: Inventort => Inventory

StrCpy $logBuffer '${PRODUCT_NAME} : Creating OCS Inventort NG Agent install directory <$R0>...$\r$\n'

    StrCpy $logBuffer '${PRODUCT_NAME} : Creating OCS Inventort NG Agent install directory <$R0>...$\r$\n'
    StrCpy $logBuffer '${PRODUCT_NAME} : Creating OCS Inventort NG Agent ${AGENT_PLUGINS_DIR} directory     
    StrCpy $logBuffer '${PRODUCT_NAME} : Creating OCS Inventort NG Agent data directory <$R1>...$\r$\n'
    StrCpy $logBuffer '${PRODUCT_NAME} : Installing OCS Inventort NG Agent data files to <$R1>...$\r$\n'
    StrCpy $logBuffer '${PRODUCT_NAME} : Installing OCS Inventort NG Agent plugin files to

Cant load more plugins

Hi!
I have an issue with the packager. When I've try to load lot of plugins, the packager just load the first 11 and the others are omitted, so when the result OCS package is installed in a client, just create plugins with this first 11. If I open again the "View/modify Plugins..." button, the 12th path is "cutted", so I understand that for this cause, the agent omitted others plugins.
imagen

And when I load a cacert.pem file in OCS Packager, doesn't copy any file, and the agent config file uses the folder of OCS package Certificate file. I assume that packager sould do the same with ther certificate like with plugins, copy the file to default folder and then point it in config file. But in this moment doesn't
imagen
imagen

Wrong path on upgrade from 32bit to 64bit

It says it installs on upgrade to C:\Program Files\OCS Inventory Agent but the binaries are in C:\Program Files (x86)\OCS Inventory Agent.
The plugins are in C:\Program Files\OCS Inventory Agent\Plugins

OCS Inventory NG Packager (Privilegied Installer) : Creating OCS Inventort NG Agent install directory <C:\Program Files\OCS Inventory Agent>...
OCS Inventory NG Packager (Privilegied Installer) : Creating OCS Inventort NG Agent Plugins directory <C:\Program Files\OCS Inventory Agent\Plugins>...
OCS Inventory NG Packager (Privilegied Installer) : Creating OCS Inventort NG Agent data directory <C:\ProgramData\OCS Inventory NG\Agent>...
OCS Inventory NG Packager (Privilegied Installer) : Installing OCS Inventort NG Agent data files to <C:\ProgramData\OCS Inventory NG\Agent>...
OCS Inventory NG Packager (Privilegied Installer) : Installing OCS Inventort NG Agent plugin files to <C:\Program Files\OCS Inventory Agent\Plugins>...
C:\>dir /S/B/A "C:\Program Files\OCS Inventory Agent"
C:\Program Files\OCS Inventory Agent\Plugins
C:\Program Files\OCS Inventory Agent\Plugins\DO_NOT_REMOVE.txt
C:\Program Files\OCS Inventory Agent\Plugins\msofficekey.vbs
C:\Program Files\OCS Inventory Agent\Plugins\osinstall.vbs

C:\>dir /S/B/A "C:\Program Files (x86)\OCS Inventory Agent"
C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll
C:\Program Files (x86)\OCS Inventory Agent\Download.exe
C:\Program Files (x86)\OCS Inventory Agent\libcurl.dll
C:\Program Files (x86)\OCS Inventory Agent\libeay32.dll
C:\Program Files (x86)\OCS Inventory Agent\mfc120.dll
C:\Program Files (x86)\OCS Inventory Agent\mfc120u.dll
C:\Program Files (x86)\OCS Inventory Agent\mfc140.dll
C:\Program Files (x86)\OCS Inventory Agent\mfc140u.dll
C:\Program Files (x86)\OCS Inventory Agent\mfcm120.dll
C:\Program Files (x86)\OCS Inventory Agent\mfcm120u.dll
C:\Program Files (x86)\OCS Inventory Agent\mfcm140.dll
C:\Program Files (x86)\OCS Inventory Agent\mfcm140u.dll
C:\Program Files (x86)\OCS Inventory Agent\msvcp120.dll
C:\Program Files (x86)\OCS Inventory Agent\msvcp140.dll
C:\Program Files (x86)\OCS Inventory Agent\msvcr120.dll
C:\Program Files (x86)\OCS Inventory Agent\OCS-transform.xsl
C:\Program Files (x86)\OCS Inventory Agent\OCSInventory Front.dll
C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe
C:\Program Files (x86)\OCS Inventory Agent\OcsNotifyUser.exe
C:\Program Files (x86)\OCS Inventory Agent\OcsService.exe
C:\Program Files (x86)\OCS Inventory Agent\OcsSnmp.exe
C:\Program Files (x86)\OCS Inventory Agent\OcsSystray.exe
C:\Program Files (x86)\OCS Inventory Agent\OcsWmi.dll
C:\Program Files (x86)\OCS Inventory Agent\Plugins
C:\Program Files (x86)\OCS Inventory Agent\ssleay32.dll
C:\Program Files (x86)\OCS Inventory Agent\SysInfo.dll
C:\Program Files (x86)\OCS Inventory Agent\ucrtbase.dll
C:\Program Files (x86)\OCS Inventory Agent\uninst.exe
C:\Program Files (x86)\OCS Inventory Agent\vcamp120.dll
C:\Program Files (x86)\OCS Inventory Agent\vcamp140.dll
C:\Program Files (x86)\OCS Inventory Agent\vcomp120.dll
C:\Program Files (x86)\OCS Inventory Agent\vcomp140.dll
C:\Program Files (x86)\OCS Inventory Agent\vcruntime140.dll
C:\Program Files (x86)\OCS Inventory Agent\vcruntime140_1.dll
C:\Program Files (x86)\OCS Inventory Agent\ZipArchive.dll
C:\Program Files (x86)\OCS Inventory Agent\zlib1.dll
C:\Program Files (x86)\OCS Inventory Agent\Plugins\DO_NOT_REMOVE.txt
C:\Program Files (x86)\OCS Inventory Agent\Plugins\Saas.ps1

Error while compiling

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 ?

Plugins add limit

I'm trying to insert 6 plugins on the package, I can insert 5 plugins with no trouble, but when I insert the 6th plugin, the inserting window gets empty.
There is a limit? size of sum or number of files?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.