Help with silent software install
Hi All,
Hoping someone could give me some advice on the best way to deploy software we have (Bighand).
The vendor has given me a bat file but we would like to be able to roll it out via Kace, silently without user input.
I played with scripting and can get it to copy the files over to the Kace dependency folder but the install fails with error 193.
Think if I did it using managed installs I would need to create one for each of the installs (it installs the client and then 4 driver packs).
The following is the bat file code, if anyone could offer any advice I would be very grateful.
@ECHO OFF
CLS
TITLE BIGHAND 4.4 CLIENT INSTALL
REM - INSTALLING PREQUISITES
ECHO INSTALLING WINDOWS INSTALLER 4.5
"%~dp0Prerequisites\Windows Installer 4.5 (XP)\WindowsXP-KB942288-v3-x86.exe" /q /norestart
:CLIENT
REM - *** INSTALLING 4.4 ***
ECHO INSTALLING BIGHAND 4.4 CLIENT
MsiExec.exe /i "%~dp0BigHand for Healthcare\BigHand for Healthcare.msi" TRANSFORMS="%~dp0BigHand for Healthcare\ntwclient.mst" /qb /PASSIVE /NORESTART
REM - Device Drivers:
ECHO INSTALLING GRUNDIG DRIVERS
MsiExec.exe /I "%~dp0Device Drivers\BigHand Grundig Drivers.msi" TRANSFORMS="%~dp0Device Drivers\Grundig.mst" /qb /PASSIVE /NORESTART ALLUSERS=2
ECHO INSTALLING PHILIPS DRIVERS
MsiExec.exe /I "%~dp0Device Drivers\BigHand Philips Drivers.msi" TRANSFORMS="%~dp0Device Drivers\Philips.mst" /qb /PASSIVE /NORESTART ALLUSERS=2
ECHO INSTALLING OLYMPUS DRIVERS
MsiExec.exe /I "%~dp0Device Drivers\BigHand Olympus Drivers.msi" TRANSFORMS="%~dp0Device Drivers\Olympus.mst" /qb /PASSIVE /NORESTART ALLUSERS=2
ECHO INSTALLING VEC DRIVERS
MsiExec.exe /I "%~dp0Device Drivers\BigHand VEC Drivers.msi" TRANSFORMS="%~dp0Device Drivers\VEC.mst" /qb /PASSIVE /NORESTART ALLUSERS=2
ECHO BIGHAND INSTALL COMPLETE
Answers (3)
Hello,
first of all I suggest you to use a Managed Installation instead of a script.
You can include all the MSI needed plus the batch in a ZIP file, associate it to the right software and then create a Managed Installation that launches the batch file.
Another problem that I can see is that some of the installers are going to install device drivers and on Windows Vista/7/8 the user may be prompted to accept to install the driver of that specific publisher.
The only way round I know, if this is the case, is to install by hand the device drivers on a test & vanilla machine and every time you get prompted trust the publisher of the drivers and accept to install them.
Then you need to expract the publisher certificates and integrate the deplopyment of them in your script: the procedure (for a diffrent software) is all explained here:
http://www.itninja.com/software/sonicwall/netextender/7-2457
Hope it helps.
Kind regards,
Marco - StockTrader