Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11966

Answered: Deploying software with OCS for Windows

$
0
0
you can deploy most of the software with silent installer options

just create a folder

put the exe file into the folder and a script to un/install the software

rudimentary example for vlc

scriptname is installvlc.cmd

CMD /C "%Programfiles%\VideoLAN\VLC\uninstall.exe" /S /NCRC

CMD /C "%PROGRAMFILES(x86)%\VideoLAN\VLC\uninstall.exe" /S /NCRC
CMD /C vlc-2.2.1-win32.exe /L=1033 /S

The first two command's are for uninstallaing any previous version in 32bit or 64 systems

then just zip everything in this folder (NOT the folder itself) an then just upload this file and use the launch action in conjunction with the script name

the advantage to use a script is that you can do nearly everything with a script - for example you can distinguish beetween x86 or x64 operatings systems - check registry entrys - and deploy software depening on language

I install anything with scripts - Java or even office - printerdrivers - just search the internet for

script

silent

program name

I check everything in script - so i have to create only one package and i can deploy this single package to every windows client - from xp - to windows 10 - the check routines in the script make different installation setting depending on th OS.

Kind regards

Viewing all articles
Browse latest Browse all 11966

Trending Articles