Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

batch to deploy software help.

$
0
0

hi all,

I need to deploy one software and I choose to use batch.  after testing, it does not check prerequisetes and I have to install Microsoft Visual C++ 2008 Redistributable Package first:  question whether there is way to check whether Microsoft Visual C++ 2008 Redistributable Package install or not in the script below;

if exist "%programfiles%\Rightfax\client" goto :EOF
if exist "%programfiles(x86)%\rightfax\client" goto :EOF

::check for the OS version
IF %PROCESSOR_ARCHITECTURE% == AMD64 goto WINDOWSX64
IF %PROCESSOR_ARCHITECTURE% == x86 goto WINDOWSX86

:WINDOWSX86

vs2008_vcredist_x86.exe /qn

msiexec.exe /i "RightFax Product Suite - Client.msi" /qn REBOOT=ReallySuppress
RUNBYRIGHTFAXSETUP=2 CONFIGUREFAXCTRL=1 CONFIGUREFAXUTIL=1 CONFIGUREOUTLOOKCLIENT=1
ADDLOCAL="FaxUtil,FaxCtrl,OutlookAdvancedAddIn" INSTALLDIR="C:\Program Files\RightFax"
RFSERVERNAME=server

:WINDOWSX64

vs2008_vcredist_x64.exe /qn

msiexec.exe /i "RightFax Product Suite - Client.msi" /qn REBOOT=ReallySuppress
RUNBYRIGHTFAXSETUP=2 CONFIGUREFAXCTRL=1 CONFIGUREFAXUTIL=1 CONFIGUREOUTLOOKCLIENT=1
ADDLOCAL="FaxUtil,FaxCtrl,OutlookAdvancedAddIn" INSTALLDIR="C:\Program Files(x86)\RightFax"
RFSERVERNAME=server
-------------------------------------------

thank you for your help.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>