Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Problem launching application after teledeploy

Hi, 

We are facing a problem using OCS.

We have servers that run our application with a specific admin account. Each time we deploy a new version, we use OCS to teledeploy the new package using a batch file.

Here are the step in the batch file:

  • Copy locally the new in a temp folder.
  • Stop the application.
  • Rename old software version folder with a xxx_{previousversion}
  • Rename  temp folder as application folder.
  • Restart computer.

We need to restart the computer to launch our application in the correct user profil because if we use a "start ..." command in our batch, the application is run under LocalAdmin profil. We have setup launch bat at startup to launch automatically our application.

Restarting the computer is something we want to avoid. 

Does anyone know how to relaunch our application without restarting the computer?

in OCS Inventory NG agent for Windows by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...