/build/static/layout/Breadcrumb_cap_w.png

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


0 Comments   [ + ] Show comments

Answers (3)

Posted by: glennvelsol 10 years ago
Senior Yellow Belt
0

I think you should be able to ZIP all the files up, setup a Managed Installation and upload the zip file and call the BAT file to start the install.

Posted by: pjgeutjens 10 years ago
Red Belt
0

what command are you running to launch the installation?

error 193 means "%1 is not a valid Win32 application."

maybe add logging to your script so you can check if

1) your script launches at all

2) if it does, how far it gets before erroring out

Posted by: StockTrader 10 years ago
Red Belt
0

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

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ