• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GLPI + OCS-NG + FusionInventory
#1
Hello,

I'm evaluating GLPI + OCS-NG + FusionInventory for our large corporate network.

I've installed GLPI 0.78 , OCS-NG 2, and the latest FusionInventory plugin. We have OCS-NG working in GLPI, and we're trying to figure out FusionInventory.

My question is, is FusionInventory a replacement for OCS-NG? Or is it a supplement? If it is a supplementary inventory system, what is the best way to integrate it with GLPI + OCS-NG? I just don't want to waste time if FusionInventory will do everything OCS-NG does.

Thank you /merci !
  Reply
#2
FusionInventory can be a remplacement or a supplement like you want to use.
FusionInventory can make complete inventory of computer, snmp inventory (switch and printers).
You have informations and screenshot here : http://fusioninventory.org/wordpress/201...-released/ Big Grin
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#3
I have a similar question to slinx about the relationship between GLPI, OCS, and FusionInventory. I know that the FusionInventory agent can be linked with the OCS server, but can it also work the other way around (OCS agents with the FusionInventory server)?
  Reply
#4
Agent can work directly with GLPI via plugins fusioninventory. These plugins are optimised with data inventoried by agent.
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#5
But to use the fusioninventory plugin, do we need to push the fusioninventory agent onto every computer in each subnet?
  Reply
#6
Depends hat you want. If you want to make an inventory to each computer, yes you must install it on each computer. if you want to make SNMP inventory (switch and printers) you can install it on principal server or on each subnet, depends of your network configuration
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#7
Thank you. Is there a method of remote installation (like the OCS teledeploy capabilities)?
  Reply
#8
It's in coding... finish at 50 - 60%, it will be available in end of year we think
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#9
We'd be interested in making that happen sooner... how can we help?
  Reply
#10
In code, in documentation... best is to discuss with us : http://fusioninventory.org/wordpress/contact/
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#11
Hello to all,

I am working too in a project with GLPI, OCS Inventory NG, FusionInventory for GLPI and FusionInventory-Agent (as unique agent). I am writting a complete documentación on this project with references about how to create SSL certificates, unattended deployments of FusionInventory-Agent for Windows, backups, etc.

Regarding the deployment unattended deployment I have resolved the problem with some Windows CScripts, PsTools Suite and a public read-only CIFS resource.

This is the list of resources:

.- CScript.exe

Windows CScript is in all Microsoft Windows Clients.

(See Post #13 for more information).

.- PsTools Suite

About PsTools
Download PsTools Suite

.- FusionInventory-Agent for Windows

FusionInventory-Agent v2.1.9-3 for Windows
All versions

.- A public, read only, CIFS resource

Put PsTools (unpacket), FusionInventory-Agent for Windows and the following CScripts in this resource.

.- FusionInventory-Agent Unattended Deployment CScript

Quote:'
'
' Sociedad Imaginaria, S.I.
' Copyright © Jul 2011, SI
'
' Node Name: susa.sociedad.imaginaria.es
' Service Name:
' File Name: deployment.vbs
' Symbolic Link:
' OS Name: Microsoft Windows 7
'
' Author(s): Tomas Abad <tabad@sescam.jccm.es>
'
'

'
'
' Purpose:
' FusionInventory-Agent Unattended Deployment.
'
'

On Error Resume Next

'
' Variable definitions...
'
CertificateFile = "sica-cert.pem"
FusionInventoryAgentSetupVersion = "2.1.9-3"
FusionInventoryAgentSetupFile = "fusioninventory-agent_windows-i386_2.1.9-3.exe"
FusionInventoryAgentSetupOptions = "/S /server=https://ecumene.sociedad.imaginaria.es/ocsinventory,https://ecumene.sociedad.imaginaria.es/glpi/plugins/fusioninventory/"

FusionInventoryDeploymentRepository = "\\susa.sociedad.imaginaria.es\ecumene$\deployment\fusioninventory"
CertificateAuthorityDeploymentRepository = "\\susa.sociedad.imaginaria.es\ecumene$\deployment\certs"

'
' DO NOT TOUCH UNDER THIS LINE
'

Set WshShell = Wscript.CreateObject("Wscript.shell")

OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

ProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")

FusionInventoryAgentServiceName="FusionInventory-Agent"
FusionInventoryAgentPath = ProgramFiles & "\FusionInventory-Agent"
FusionInventoryAgentCertificatePath = FusionInventoryAgentPath & "\certs"
FusionInventoryAgentRegistry = "HKLM\SOFTWARE\FusionInventory-Agent\"

' Extract current version from registry
if (OsType = "x86") then
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
else
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
end if

' Install if available version is different from current one
FusionInventoryAgentCurrentVersion = WshShell.RegRead(FusionInventoryAgentUninstallKey)
Wscript.Echo "Current version: " & FusionInventoryAgentCurrentVersion
if FusionInventoryAgentCurrentVersion <> FusionInventoryAgentSetupVersion then
Wscript.Echo "New version available: " & FusionInventoryAgentSetupVersion
' Instalar agente
command = """" & FusionInventoryDeploymentRepository & "\" & FusionInventoryAgentSetupFile & """ " & FusionInventoryAgentSetupOptions
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Parar servicio
command = "NET STOP """ & FusionInventoryAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 5 segundos
WScript.Sleep (5 * 1000)

' Establecer ruta absoluta del certificado
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "ca-cert-file"
WshShell.RegWrite FusionInventoryAgentKey, FusionInventoryAgentCertificatePath & "\" & CertificateFile, "REG_SZ"

' Desactivar depuracion
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "debug"
WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Activar comprobacion del certificado
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "no-ssl-check"
WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Desactivar inventario local por parte del usuario
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "rpc-trust-localhost"
WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Activar analisis de directorio HOME
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "scan-homedirs"
WshShell.RegWrite FusionInventoryAgentKey, 1, "REG_SZ"

' Crear directorio de certificados
command = "MKDIR """ & FusionInventoryAgentCertificatePath & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Copiar certificado
command = "COPY """ & CertificateAuthorityDeploymentRepository & "\" & CertificateFile & """ """ & FusionInventoryAgentCertificatePath & """ /Y"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Iniciar servicio
command = "NET START """ & FusionInventoryAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Forzar inventario
command = """" & FusionInventoryAgentPath & "\perl\bin\perl.exe"" """ & FusionInventoryAgentPath & "\perl\bin\fusioninventory-agent"" --force"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True
else
Wscript.Echo "Current version up to date"
end if

.- FusionInventory-Agent Unattended Withdrawal CScript

Quote:'
'
' Sociedad Imaginaria, S.I.
' Copyright © Jul 2011, SI
'
' Node Name: susa.sociedad.imaginaria.es
' Service Name:
' File Name: withdrawal.vbs
' Symbolic Link:
' OS Name: Microsoft Windows 7
'
' Author(s): Tomas Abad <tabad@sescam.jccm.es>
'
'

'
'
' Purpose:
' FusionInventory-Agent Unattended Withdrawal.
'
'

On Error Resume Next

'
' Variable definitions...
'

'
' DO NOT TOUCH UNDER THIS LINE
'

Set WshShell = Wscript.CreateObject("Wscript.shell")

OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

FusionInventoryAgentServiceName="FusionInventory-Agent"

' Extract current version from registry
if (OsType = "x86") then
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
else
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
end if

' Uninstall if is installed
FusionInventoryAgentUninstall = WshShell.RegRead(FusionInventoryAgentUninstallKey)
FusionInventoryAgentCurrentVersion = WshShell.RegRead(FusionInventoryAgentCurrentVersionKey)
if FusionInventoryAgentUninstall <> "" then
Wscript.Echo "Uninstalling FusionInventory-Agent v" & FusionInventoryAgentCurrentVersion & " ..."
' Parar servicio
command = "NET STOP """ & FusionInventoryAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 5 segundos
WScript.Sleep (5 * 1000)

' Desistalar el agente
command = """" & FusionInventoryAgentUninstall & """ /S"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 30 segundos
WScript.Sleep (30 * 1000)
else
Wscript.Echo "FusionInventory-Agent is not installed in this computer."
end if

.- FusionInventory-Agent Update Configuration Params CScript

Quote:'
'
' Sociedad Imaginaria, S.I.
' Copyright © Jul 2011, SI
'
' Node Name: susa.sociedad.imaginaria.es
' Service Name:
' File Name: update-config.vbs
' Symbolic Link:
' OS Name: Microsoft Windows 7
'
' Author(s): Tomas Abad <tabad@sescam.jccm.es>
'
'

'
'
' Purpose:
' FusionInventory-Agent Update Configuration Params.
'
'

On Error Resume Next

'
' Variable definitions...
'
CertificateFile = "sica-cert.pem"
FusionInventoryAgentServer = "https://ecumene.sociedad.imaginaria.es/o...inventory/"

FusionInventoryDeploymentRepository = "\\susa.sociedad.imaginaria.es\ecumene$\deployment\fusioninventory"
CertificateAuthorityDeploymentRepository = "\\susa.sociedad.imaginaria.es\ecumene$\deployment\certs"

'
' DO NOT TOUCH UNDER THIS LINE
'

Set WshShell = Wscript.CreateObject("Wscript.shell")

OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

ProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")

FusionInventoryAgentServiceName="FusionInventory-Agent"
FusionInventoryAgentPath = ProgramFiles & "\FusionInventory-Agent"
FusionInventoryAgentCertificatePath = FusionInventoryAgentPath & "\certs"
FusionInventoryAgentRegistry = "HKLM\SOFTWARE\FusionInventory-Agent\"

' Extract current version from registry
if (OsType = "x86") then
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
else
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
end if

' Update configuration params if agent is installed
FusionInventoryAgentUninstall = WshShell.RegRead(FusionInventoryAgentUninstallKey)
FusionInventoryAgentCurrentVersion = WshShell.RegRead(FusionInventoryAgentCurrentVersionKey)
if FusionInventoryAgentUninstall <> "" then
Wscript.Echo "FusionInventory-Agent v" & FusionInventoryAgentCurrentVersion & " installed."
Wscript.Echo "Updating configuration params. Please wait..."

' Parar servicio
command = "NET STOP """ & FusionInventoryAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 5 segundos
WScript.Sleep (5 * 1000)

' Establecer servidores
if FusionInventoryAgentServer <> "" then
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "server"
WshShell.RegWrite FusionInventoryAgentKey, FusionInventoryAgentServer, "REG_SZ"
end if

' Establecer ruta absoluta del certificado
if CertificateFile <> "" then
FusionInventoryAgentKey = FusionInventoryAgentRegistry & "ca-cert-file"
WshShell.RegWrite FusionInventoryAgentKey, FusionInventoryAgentCertificatePath & "\" & CertificateFile, "REG_SZ"
end if

' Desactivar depuracion
'FusionInventoryAgentKey = FusionInventoryAgentRegistry & "debug"
'WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Activar comprobacion del certificado
'FusionInventoryAgentKey = FusionInventoryAgentRegistry & "no-ssl-check"
'WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Desactivar inventario local por parte del usuario
'FusionInventoryAgentKey = FusionInventoryAgentRegistry & "rpc-trust-localhost"
'WshShell.RegWrite FusionInventoryAgentKey, 0, "REG_SZ"

' Activar analisis de directorio HOME
'FusionInventoryAgentKey = FusionInventoryAgentRegistry & "scan-homedirs"
'WshShell.RegWrite FusionInventoryAgentKey, 1, "REG_SZ"

' Crear directorio de certificados
'command = "MKDIR """ & FusionInventoryAgentCertificatePath & """"
'Wscript.Echo "Running command: " & command
'WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Copiar certificado
if CertificateFile <> "" then
command = "COPY """ & CertificateAuthorityDeploymentRepository & "\" & CertificateFile & """ """ & FusionInventoryAgentCertificatePath & """ /Y"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True
end if

' Iniciar servicio
command = "NET START """ & FusionInventoryAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True
else
Wscript.Echo "FusionInventory-Agent is not installed in this computer."
end if

.- FusionInventory-Agent Force Inventory CScript

Quote:'
'
' Sociedad Imaginaria, S.I.
' Copyright © Jul 2011, SI
'
' Node Name: susa.sociedad.imaginaria.es
' Service Name:
' File Name: force-inventory.vbs
' Symbolic Link:
' OS Name: Microsoft Windows 7
'
' Author(s): Tomas Abad <tabad@sescam.jccm.es>
'
'

'
'
' Purpose:
' FusionInventory-Agent Force Inventory.
'
'

On Error Resume Next

'
' Variable definitions...
'

'
' DO NOT TOUCH UNDER THIS LINE
'

Set WshShell = Wscript.CreateObject("Wscript.shell")

OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

ProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")

FusionInventoryAgentPath = ProgramFiles & "\FusionInventory-Agent"

' Extract current version from registry
if (OsType = "x86") then
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
else
FusionInventoryAgentUninstallKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
FusionInventoryAgentCurrentVersionKey = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
end if

' Force inventory if agent is installed
FusionInventoryAgentUninstall = WshShell.RegRead(FusionInventoryAgentUninstallKey)
FusionInventoryAgentCurrentVersion = WshShell.RegRead(FusionInventoryAgentCurrentVersionKey)
if FusionInventoryAgentUninstall <> "" then
Wscript.Echo "FusionInventory-Agent v" & FusionInventoryAgentCurrentVersion & " installed."
Wscript.Echo "Forcing inventory. Please wait..."

' Forzar inventario
command = """" & FusionInventoryAgentPath & "\perl\bin\perl.exe"" """ & FusionInventoryAgentPath & "\perl\bin\fusioninventory-agent"" --force"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True
else
Wscript.Echo "FusionInventory-Agent is not installed in this computer."
end if

Usefull if you purge an agent and you want get information about in quickly.

.- OCS Inventory NG Agent Unattended Withdrawal CScript

Quote:'
'
' Sociedad Imaginaria, S.I.
' Copyright © Jul 2011, SI
'
' Node Name: susa.sociedad.imaginaria.es
' Service Name:
' File Name: withdrawal.vbs
' Symbolic Link:
' OS Name: Microsoft Windows 7
'
' Author(s): Tomas Abad <tabad@sescam.jccm.es>
'
'

'
'
' Purpose:
' OCS Inventory NG Agent Unattended Withdrawal.
'
'

On Error Resume Next

'
' Variable definitions...
'

'
' DO NOT TOUCH UNDER THIS LINE
'

Set WshShell = Wscript.CreateObject("Wscript.shell")

OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

ProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")
AllUsersProfile = WshShell.ExpandEnvironmentStrings("%AllUsersProfile%")

OCSInventoryNGAgentPath = ProgramFiles & "\OCS Inventory Agent"
OCSInventoryNGAgentConfigPath = AllUsersProfile & "\Datos de programa\OCS Inventory NG"
OCSInventoryNGAgentServiceName="OCS Inventory Service"

' Extract current version from registry
if (OsType = "x86") then
OCSInventoryNGAgentUninstallReg = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OCS Inventory NG Agent"
OCSInventoryNGAgentUninstallKey = OCSInventoryNGAgentUninstallReg & "\UninstallString"
OCSInventoryNGAgentCurrentVersionKey = OCSInventoryNGAgentUninstallReg & "\DisplayVersion"
else
OCSInventoryNGAgentUninstallReg = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\OCS Inventory NG Agent"
OCSInventoryNGAgentUninstallKey = OCSInventoryNGAgentUninstallReg & "\UninstallString"
OCSInventoryNGAgentCurrentVersionKey = OCSInventoryNGAgentUninstallReg & "\DisplayVersion"
end if

' Uninstall if is installed
OCSInventoryNGAgentUninstall = WshShell.RegRead(OCSInventoryNGAgentUninstallKey)
OCSInventoryNGAgentCurrentVersion = WshShell.RegRead(OCSInventoryNGAgentCurrentVersionKey)
if OCSInventoryNGAgentUninstall <> "" then
Wscript.Echo "Uninstalling OCSInventoryNG-Agent v" & OCSInventoryNGAgentCurrentVersion & " ..."
' Parar servicio
command = "NET STOP """ & OCSInventoryNGAgentServiceName & """"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 5 segundos
WScript.Sleep (5 * 1000)

' Desistalar el agente
command = """" & OCSInventoryNGAgentUninstall & """ /S"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Retardo de seguridad de 30 segundos
WScript.Sleep (30 * 1000)

' Borrar posibles restos de la instalacion
command = "RMDIR """ & OCSInventoryNGAgentPath & """ /S /Q"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Borrar configuracion
command = "RMDIR """ & OCSInventoryNGAgentConfigPath & """ /S /Q"
'Wscript.Echo "Running command: " & command
WshShell.Run "CMD.EXE /C """ & command & """",0,True

' Borrar entrada en el registro
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\DisplayIcon"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\DisplayName"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\DisplayVersion"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\Publisher"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\UninstallString"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg & "\URLInfoAbout"
WshShell.RegDelete OCSInventoryNGAgentUninstallReg
else
Wscript.Echo "OCSInventoryNG-Agent is not installed in this computer."
end if

Usefull if you have OCS Inventory NG Agents and you want uninstall them.

.- Be sure al CScripts are in CR/LF mode

Quote:sed -i -e 's/\(.*$\)/\1^M/' *.vbs

NOTE: Do ^M pressing (CTRL+V)(CTRL+M)

That is all you need. I have deployed about 1.000 agents with these cscripts the last week without any problem.

I hope that will be usefull for you.
Tomás Abad
  Reply
#12
nice, what is exactly cscripts ?
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#13
Hello David,

Microsoft say than CScripts is this

Quote:Cscript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties.

With Cscript.exe, you can run scripts by typing the name of a script file at the command prompt. Like Microsoft Internet Explorer, Windows Script Host serves as a controller of Windows Script compliant scripting engines, but Windows Script Host has very low memory requirements. Windows Script Host is ideal for both interactive and non-interactive scripting needs, such as logon scripting and administrative scripting.

Windows Script Host supports scripts written in VBScript or JScript. When you start a script from your desktop or from the command prompt, the script host reads and passes the specified script file contents to the registered script engine. The script engine uses file extensions (that is, .vbs for VBScript and .js for JScript) to identify the script. As a result, you do not need to know the exact programmatic identifier (that is, the ProgID) of the script engine. The script host maintains a mapping of script extensions to programmatic identifiers, and uses the Windows XP association model to start the appropriate engine for a given script. For more information about Windows Script Host, see Windows Script Host For more information about CScript.exe, see To run scripts using the command-line-based script host (cscript.exe)

Text from "Using the command-based script host (CScript.exe)"


More information about Microsoft Scripting can be found in Microsoft Scripting Products and Tecnologies, Microsoft Windows 2000 Scripting Guide, Microsoft VBScript Language Reference and Reference Windows Script Host (WSH) Reference.

I hope this information will be useful for you. Remember you than I am not a Microsoft Windows Administrator. I work with it some times; with GNU/Linux all days, all time.


PS:

In my previos post #11 I wrote the following

Quote: I am working too in a project with GLPI, OCS Inventory NG, FusionInventory for GLPI and FusionInventory-Agent (as unique agent). I am writting a complete documentación on this project with references about how to create SSL certificates, unattended deployments of FusionInventory-Agent for Windows, backups, etc.

This documentation is written in Spanish under Creative Commons license and is in draft state nowadays but i think it will be interesting for all. Can I send to you a copy? and How can I do?
Tomás Abad
  Reply
#14
Humm, we have a documentation, we write it in english, and after we ask for translate.

So yes it's interessant for us Wink

Have you possibility to translate it too in english?
We can integrate it into our documentation in en and es...

We can speak about that on irc if you want (#fusioninventory in freenode)
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#15
Hello David,

I will try to finish the first complete draft as soon as posible. In relation to the English translation, I will ask help from friends and colleagues, but I can not promises anything. Sorry but my English is not very fluid.

Quote:We can speak about that on irc if you want.

I note this.
Tomás Abad
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)