/build/static/layout/Breadcrumb_cap_w.png

Blog Posts by tecrumors

Ask a question

Silent Deploy Adobe Creative Suite CS 6.0 Premium

How to:

  1. Download the newest release of AAMEE 

Adobe Application Manager, Enterprise Edition 3.1 (Windows)

 2. Start Adobe Application Manager  
 3. Go trough the wizard and made your configurations  
 4. Create an "install.cmd" file
 5. Silent Install Adobe Air :: Adobe Air

"%~dp0Exceptions\AdobeDreamweaverWidgetsBrowser1.0-mul\AdobeAIRInstaller.exe" -silent -eulaAccepted
reg add "HKLM\SOFTWARE\Policies\Adobe\AIR" /v UpdateDisabled /t REG_DWORD /d 1 /f

 6. Silent Install Adobe Helper :: Adobe Helper

"%~dp0Exceptions\AdobeHelp\InstallAdobeHelp.exe" appVersion=4.0.244 appId=chc pubId=4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 installerArg1=-silent installerArg2=-eulaAccepted installerArg3=-programMenu installerArg4=AdobeHelp.air

 7. Silent Install Adobe PDF Settings :: Adobe PDF Settings

msiexec.exe /i "%~dp0Exceptions\AdobePDFSettings11-mul\AdobePDFSettings11-mul.msi" /qn

 8. Silent Install Adobe Media Player :: Adobe Media Player

msiexec.exe /i "%~dp0Exceptions\Adobe Media Player\Adobe Media Player\AdobeMedia.msi" TRANSFORMS="%~dp0prereq\Adobe Media Player\custom.mst" /qn

 9. Silent Install Adobe Creative Suite :: Adobe Creative Suite CS6

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "%~dp0Build\Adobe CS Design Premium 6.0 64bit (DE) - 001.msi" REBOOT=ReallySuppress

 10. Silent Install Adobe Acrobat Reader Pro X :: Adobe Acrobat Reader Pro X

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "%~dp0Exceptions\AcrobatProfessional10.0-EFG\AcroPro.msi" EULA_ACCEPT=YES REGISTRATION_SUPPRESS=YES SUITEMODE=1 INSTALLLEVEL=101 AS_DISABLE_LEGACY_COLOR=1 IGNOREAAM=1 TRANSFORMS="%~dp0Exceptions\AcrobatProfessional10.0-EFG\en_US.mst" REBOOT=ReallySuppress

 

The full install.cmd should look like this:

@echo off
set AppName=Adobe Creative Suite Design Premium 6.0 64bit (EN) - 001

:: Path for logfiles. Change for your company
set Logs=%SystemDrive%\Logs
if exist %SystemDrive%\Wininst set Inst=%SystemDrive%\Wininst
if exist %SystemDrive%\Srv08inst set Inst=%SystemDrive%\Srv08inst
set Logs=%Inst%\Logs
if not exist %Logs% MD %Logs%
set LogFile=%Logs%\%AppName%.log
set LogFinal=%Logs%\finalcheck.log

:: Installation
if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64
if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64
if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86
echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"
goto Error

:x86 (It is just a 64bit package)

goto End

:AMD64
echo %date% %time% Installation of %AppName% >>"%LogFile%"
cd /D %~dp0
:: Adobe Air
"%~dp0Exceptions\AdobeDreamweaverWidgetsBrowser1.0-mul\AdobeAIRInstaller.exe" -silent -eulaAccepted
reg add "HKLM\SOFTWARE\Policies\Adobe\AIR" /v UpdateDisabled /t REG_DWORD /d 1 /f
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Adobe Helper
"%~dp0Exceptions\AdobeHelp\InstallAdobeHelp.exe" appVersion=4.0.244 appId=chc pubId=4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 installerArg1=-silent installerArg2=-eulaAccepted installerArg3=-programMenu installerArg4=AdobeHelp.air
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Adobe PDF Settings
msiexec.exe /i "%~dp0Exceptions\AdobePDFSettings11-mul\AdobePDFSettings11-mul.msi" /qn
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Adobe Media Player
msiexec.exe /i "%~dp0Exceptions\Adobe Media Player\Adobe Media Player\AdobeMedia.msi" TRANSFORMS="%~dp0prereq\Adobe Media Player\custom.mst" /qn
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Adobe Creative Suite CS6
msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "%~dp0Build\Adobe CS Design Premium 6.0 64bit (DE) - 001.msi" REBOOT=ReallySuppress
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Adobe Acrobat Reader Pro X
msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "%~dp0Exceptions\AcrobatProfessional10.0-EFG\AcroPro.msi" EULA_ACCEPT=YES REGISTRATION_SUPPRESS=YES SUITEMODE=1 INSTALLLEVEL=101 AS_DISABLE_LEGACY_COLOR=1 IGNOREAAM=1 TRANSFORMS="%~dp0Exceptions\AcrobatProfessional10.0-EFG\en_US.mst" REBOOT=ReallySuppress
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% EQU 259 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error
regedit /s "%~dp0AddAcrobatX_Machine.reg"
goto cleanup

:: Cleanup --> Change for your company
:Cleanup
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe" rmdir /q /s "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe"
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Acrobat Distiller X.lnk" move /y "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Acrobat Distiller X.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design Standard CS6\Adobe Acrobat Distiller X.lnk"
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Acrobat X Pro.lnk" move /y "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Acrobat X Pro.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design Standard CS6\Adobe Acrobat X Pro.lnk"
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe LiveCycle ES2\Adobe LiveCycle Designer ES2.lnk" copy /y "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe LiveCycle ES2\Adobe LiveCycle Designer ES2.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design Standard CS6\Adobe LiveCycle Designer ES2.lnk"
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe LiveCycle ES2" rmdir /q /s "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe LiveCycle ES2"
if exist "%PUBLIC%\Desktop\Adobe Acrobat X Pro.lnk" del /f /q "%PUBLIC%\Desktop\Adobe Acrobat X Pro.lnk"

:: Errorhandler
goto End
:Error
echo %date% %time% %AppName% >>"%LogFinal%"
if %errorlevel% EQU 1 echo ERROR 1 - [NOT-SUCCESS] - Fatal Error >>"%LogFinal%"
if %errorlevel% EQU 13 echo ERROR 13 - [INVALID_DATA] - The data is invalid >>"%LogFinal%"
if %errorlevel% EQU 87 echo ERROR 87 - [INVALID_PARAMETER] - One of the parameters was invalid. >>"%LogFinal%"
if %errorlevel% EQU 1601 echo ERROR 1601 - [FAILURE] - The Windows Installer service could not be accessed >>"%LogFinal%"
if %errorlevel% EQU 1602 echo ERROR 1602 - [INSTALL_USEREXIT] - User cancel installation >>"%LogFinal%"
if %errorlevel% EQU 1603 echo ERROR 1603 - [INSTALL_FAILURE] - Fatal error during installation >>"%LogFinal%"
if %errorlevel% EQU 1604 echo ERROR 1604 - [INSTALL_SUSPEND] - Installation suspended, incomplete >>"%LogFinal%"
if %errorlevel% EQU 1608 echo ERROR 1608 - [UNKNOWN_PROPERTY] - Unknown property >>"%LogFinal%"
if %errorlevel% EQU 1610 echo ERROR 1610 - [BAD_CONFIGURATION] - The configuration data for this product is corrupt >>"%LogFinal%"
if %errorlevel% EQU 1612 echo ERROR 1612 - [INSTALL_SOURCE_ABSENT] - The installation source for this product is not available >>"%LogFinal%"
if %errorlevel% EQU 1613 echo ERROR 1613 - [INSTALL_PACKAGE_VERSION] - Servicepack required >>"%LogFinal%"
if %errorlevel% EQU 1618 echo ERROR 1618 - [INSTALL_ALREADY_RUNNING] - Another installation is already in progress >>"%LogFinal%"
if %errorlevel% EQU 1619 echo ERROR 1619 - [_INSTALL_PACKAGE_OPEN] - This installation package could not be opened >>"%LogFinal%"
if %errorlevel% EQU 1621 echo ERROR 1621 - [INSTALL_UI_ERROR] -There was an error starting the Windows Installer >>"%LogFinal%"
if %errorlevel% EQU 1624 echo ERROR 1624 - [INSTALL_TRANSFORM_FAILURE] - Error applying transforms >>"%LogFinal%"
if %errorlevel% EQU 1639 echo ERROR 1639 - [INVALID_COMMAND_LINE] - Invalid command line argument >>"%LogFinal%"
if %errorlevel% EQU 3010 echo ERROR 3010 - [SUCCESS_REBOOT_REQUIRED] - A restart is required to complete >>"%LogFinal%"
echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"
echo Error: %ERRORLEVEL%
if exist "%Logs%\finalcheck.log" copy /y "%Inst%\Scripts\BITTE ANSCHAUEN.lnk" "%PUBLIC%\Desktop\BITTE ANSCHAUEN.lnk"
echo.

:: End of Script
:End
echo %date% %time% End installation of %AppName% >>"%LogFile%"
echo End

Create an "unintall.cmd" file

@echo off
set AppName=Adobe Creative Suite Design Standard 6.0 64bit (DE) - 001

:: Path for logfiles.
set Logs=%SystemDrive%\Logs
if exist %SystemDrive%\Wininst set Logs=%SystemDrive%\Wininst\Logs
if exist %SystemDrive%\Vistainst set Logs=%SystemDrive%\Vistainst\Logs
if exist %SystemDrive%\Srv08inst set Logs=%SystemDrive%\Srv08inst\Logs
if not exist %Logs% MD %Logs%
set LogFile=%Logs%\%AppName%.log

:: Uninstallation
echo %date% %time% Start uninstallation of %AppName% >>"%LogFile%"
:: CS6
MsiExec.exe /X{4B71EED3-2160-4B78-BE5E-76A065BFDC6F}
:: Adobe Air
MsiExec.exe /I{14DC0059-00F1-4F62-BD1A-AB23CD51A95E}
:: Adobe Media Player
MsiExec.exe /X{DE3A9DC5-9A5D-6485-9662-347162C7E4CA}
:: Adobe Acrobat X
MsiExec.exe /X{AC76BA86-1033-F400-7760-000000000005}
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error
rem regedit /s "%~dp0delAddRemoveEintrag.reg"
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Cleanup
rem if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\[Programm].lnk" del /q /f "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\[Programm].lnk"

:: Errorhandler
goto End
:Error
echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"
echo Error: %ERRORLEVEL%
echo.

:: End of Script
:End
echo %date% %time% End uninstallation of %AppName% >>"%LogFile%"
echo End

View comments (1)

Silent deployment Symantec Endpoint Protection 12.1 with automated configuration

What we need:

  1. The MSI from Symantec
  2. The configuration file (setAid.ini)
  3. A XML File for the group assignment of the "Symantec Endpoint Protection Manager"

 Overview of the features and components:

 

Instructions 

Admin -> Install Packages -> Client Install Settings -> right click and [Add…]

 

 

 

 

Basic Settings

 

Restart Settings

 

Create "Client Feature Settings  Set" for server

 

Check the Overview which features we need

 

 

 

 

Create "Client Feature Settings  Set" for clients

 

Check the Overview which features we need

 

 

Export the package (32bit and 64it)

 

 

 

After the export you can find the .ini and .xml file that we need for deployment

 

 

 

Now you can rename the files. Rename the file that you can remember for which clients the config file is.

 

Repeat this steps for every "Client Group" you have.

For every "Client Group" you need an .ini and a .xml file

 

 

Client package:

Create a folder for the 32bit and the 64 bit package. A folder for the config files, an install.cmd and an uninstall.cmd.

Copy all the files that we have exported to the right directory

 

 

 

Install.cmd " Short Version for descripton:

@echo off

set AppName=Symantec Endpoint Protection 12.1.3001.165 Hybrid (EN) - 001

 

::PreInstallation

::Read Computertype through %COMPUTERNAME% variable

set ReadCompType4=%COMPUTERNAME:~0,4%

set ReadCompType3=%COMPUTERNAME:~0,3%

 

::Copy installation files for Servers

if %ReadCompType4%==SRV- copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp032\sylink.xml"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\setAid_SRV_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp064\sylink.xml"

 

::Copy installation files for Desktops

if %ReadCompType3%==D80 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D80 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType3%==D81 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D81 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

 

::If the Computertype hasn't been dedected in the above routine, the setAid.ini & sylink.xml for Notebooks is used!

 

:: Installation -> Query for 32bit or 64bit processor architecture

if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86

echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"

goto Error

 

:x86 -> 32bit installation

echo %date% %time% Installation (32 bit) of %AppName% >>"%LogFile%"

cd /D %~dp032

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "sep.msi"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

"%~dp0Config\SylinkDrop.exe" -silent "%~dp032\sylink.xml"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" md "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools"

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" copy /Y "%~dp0Config\32 Symantec Endpoint Protection.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"

regedit /s "%~dp0AddRemoveEintrag.reg"

goto cleanup

 

:AMD64 -> 64bit Installation

echo %date% %time% Installation (64 bit) of %AppName% >>"%LogFile%"

cd /D %~dp064

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "sep.msi"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

"%~dp0Config\SylinkDrop.exe" -silent "%~dp064\sylink.xml"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" md "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools"

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" copy /Y "%~dp0Config\64 Symantec Endpoint Protection.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"

regedit /s "%~dp0AddRemoveEintrag.reg"

 

:: End of Script

:End

echo %date% %time% End installation of %AppName% >>"%LogFile%"

echo End

 

Install.cmd " Long Version (change the computertypes for your deployment)

@echo off

set AppName=Symantec Endpoint Protection 12.1.3001.165 Hybrid (EN) - 001

 

:: Path for logfiles.

set Logs=%SystemDrive%\Logs

if exist %SystemDrive%\Wininst set Logs=%SystemDrive%\Wininst\Logs

if exist %SystemDrive%\Vistainst set Logs=%SystemDrive%\Vistainst\Logs

if exist %SystemDrive%\Srv08inst set Logs=%SystemDrive%\Srv08inst\Logs

if not exist %Logs% MD %Logs%

set LogFile=%Logs%\%AppName%.log

 

::PreInstallation

::Read Computertype through %COMPUTERNAME% variable

set ReadCompType2=%COMPUTERNAME:~0,2%

set ReadCompType3=%COMPUTERNAME:~0,3%

set ReadCompType4=%COMPUTERNAME:~0,4%

set ReadCompType5=%COMPUTERNAME:~0,5%

set ReadCompType6=%COMPUTERNAME:~0,6%

 

::Copy installation files for Servers

if %ReadCompType4%==SRV- copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp032\sylink.xml"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\setAid_SRV_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType4%==SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp064\sylink.xml"

if %ReadCompType4%==BSRV- copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType4%==BSRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp032\sylink.xml"

if %ReadCompType4%==BSRV- copy /y "%~dp0Config\setAid_SRV_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType4%==BSRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp064\sylink.xml"

if %ReadCompType4%==SEC- copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType4%==SEC- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp032\sylink.xml"

if %ReadCompType4%==SEC- copy /y "%~dp0Config\setAid_SRV_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType4%==SEC- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp064\sylink.xml"

 

:Copy installation files for Citrix Servers

if %ReadCompType6%==SRV-XA copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType6%==SRV-XA copy /y "%~dp0Config\sylink_ServersCitrix.xml" "%~dp032\sylink.xml"

if %ReadCompType6%==SRV-XA copy /y "%~dp0Config\setAid_SRV_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType6%==SRV-XA copy /y "%~dp0Config\sylink_ServersCitrix.xml" "%~dp064\sylink.xml"

 

::Copy installation files for StudentPCs

if %ReadCompType5%==SZ4-9 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType5%==SZ4-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp032\sylink.xml"

if %ReadCompType5%==SZ4-9 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType5%==SZ4-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp064\sylink.xml"

if %ReadCompType5%==SZ71-9 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType5%==SZ71-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp032\sylink.xml"

if %ReadCompType5%==SZ71-9 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType5%==SZ71-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp064\sylink.xml"

if %ReadCompType5%==SR26-9 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType5%==SR26-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp032\sylink.xml"

if %ReadCompType5%==SR26-9 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType5%==SR26-9 copy /y "%~dp0Config\sylink_EventPCs.xml" "%~dp064\sylink.xml"

 

::Copy installation files for Desktops

if %ReadCompType3%==D51 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D51 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D51 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D51 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType3%==D53 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D53 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D53 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D53 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType3%==D80 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D80 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType3%==D81 copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType3%==D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType3%==D81 copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType3%==D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType2%==XW copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType2%==XW copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType2%==XW copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType2%==XW copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

if %ReadCompType2%==DC copy /y "%~dp0Config\setAid_WKS_x32.ini" "%~dp032\setAid.ini"

if %ReadCompType2%==DC copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml"

if %ReadCompType2%==DC copy /y "%~dp0Config\setAid_WKS_x64.ini" "%~dp064\setAid.ini"

if %ReadCompType2%==DC copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml"

 

::If the Computertype hasn't been dedected in the above routine, the setAid.ini & sylink.xml for Notebooks is used!

 

:: Installation

if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86

echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"

goto Error

 

:x86

echo %date% %time% Installation (32 bit) of %AppName% >>"%LogFile%"

cd /D %~dp032

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "sep.msi"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

"%~dp0Config\SylinkDrop.exe" -silent "%~dp032\sylink.xml"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" md "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools"

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" copy /Y "%~dp0Config\32 Symantec Endpoint Protection.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"

regedit /s "%~dp0AddRemoveEintrag.reg"

goto cleanup

 

:AMD64

echo %date% %time% Installation (64 bit) of %AppName% >>"%LogFile%"

cd /D %~dp064

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "sep.msi"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

"%~dp0Config\SylinkDrop.exe" -silent "%~dp064\sylink.xml"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" md "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools"

if not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" copy /Y "%~dp0Config\64 Symantec Endpoint Protection.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"

regedit /s "%~dp0AddRemoveEintrag.reg"

 

:: Cleanup

: Cleanup

if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Symantec Endpoint Protection\" rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Symantec Endpoint Protection\"

smc -stop

goto End

:Error

echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"

echo Error: %ERRORLEVEL%

echo.

 

:: End of Script

:End

echo %date% %time% End installation of %AppName% >>"%LogFile%"

echo End


Uninstall.cmd

@echo off
set AppName=Symantec Endpoint Protection 12.1.3001.165 Hybrid (EN) - 001

:: Path for logfiles.
set Logs=%SystemDrive%\Logs
if exist %SystemDrive%\Wininst set Logs=%SystemDrive%\Wininst\Logs
if exist %SystemDrive%\Vistainst set Logs=%SystemDrive%\Vistainst\Logs
if exist %SystemDrive%\Srv08inst set Logs=%SystemDrive%\Srv08inst\Logs
if not exist %Logs% MD %Logs%
set LogFile=%Logs%\%AppName%.log

:: Uninstallation
echo %date% %time% Start uninstallation of %AppName% >>"%LogFile%"
:: x86
echo %date% %time% Uninstall (32 bit) of %AppName% >>"%LogFile%"
MsiExec.exe /X{8693E64C-16F3-4388-ACC0-9E8D586BEC17} /qn REBOOT=ReallySuppress >>"%LogFile%"
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: x64
echo %date% %time% Uninstall (64 bit) of %AppName% >>"%LogFile%"
MsiExec.exe /X{C02FF081-3B1D-47BA-AA68-37D0EA4B75C5} /qn REBOOT=ReallySuppress >>"%LogFile%"
IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0
IF %ERRORLEVEL% NEQ 0 goto Error

:: Cleanup
if exist "%ALLUSERSPROFILE%\Application Data\Symantec\Symantec Endpoint Protection\" rmdir /S /Q "%ALLUSERSPROFILE%\Application Data\Symantec\Symantec Endpoint Protection\"
if exist "%ALLUSERSPROFILE%\Start Menu\Programs\Symantec Endpoint Protection\" rmdir /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\Symantec Endpoint Protection\"
if exist "%ALLUSERSPROFILE%\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" del /f /q "%ALLUSERSPROFILE%\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"

:: Errorhandler
goto End
:Error
echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"
echo Error: %ERRORLEVEL%
echo.

:: End of Script
:End
echo %date% %time% End uninstallation of %AppName% >>"%LogFile%"
echo End


Now we are ready to deploy the package. 
 
If you have any questions feel free to ask.
View comments (2)

Java 7 Update 25 Best way to deploy with customized settings

INSTRUCTIONS

 How to deploy Java 7 Update 25 with customized settings:

1. 

Download the latest offline installer: 

http://www.java.com/de/download/manual.jsp

 

2.

Install Java manualy on a test machine (32bit/64bit)

After the installation you can find a .MSI setup in the following folder:

“%USERPROFILE%\AppData\LocalLow\Sun\Java”

 

3.

Now you can create a .MST with Orca or InstEd and under the "Property table" add following PROPERTIES: 

AUTOUPDATECHECK=0

IEEXPLORER=1

JAVAUPDATE=0

JU=0

MOZILLA=1

RebootYesNo=No

 

 4.

Switch to the "Registry Table" and add this reg key: 

 
 

Registry = NotifyDownload

Root = 2

Key = Software\JavaSoft\Java Update\Policy

Name = NotifyDownload

Value = 0

Component_ = jz

 

 

 

5.

Create a new “Deployment.config” and copy in the folling information:

 

deployment.system.config.mandatory=true

 

6.

Copy the “Deployment.properties” file from „%USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment“ and add following settings

deployment.security.mixcode=HIDE_RUN

deployment.security.level=MEDIUM

deployment.javaws.autodownload=NEVER

 

 

7.

Installation:

msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "jre1.7.0_21.msi" TRANSFORMS="custom.mst" REBOOT=ReallySuppress

Copy job for the settings:

copy /y “%~dp0deployment.config” “C:\WINDOWS\sun\java\deployment\deployment.config” >>"%LogFile%"

copy /y “%~dp0deployment.properties” “C:\WINDOWS\sun\java\deployment\deployment.properties” >>"%LogFile%"

That’s it.

 

 

8.

If you know how, for sure you can integrate the property files in to the .MST file:

But I think for the most people it is more easy with a normal copy job. 

More settings can be found on:

http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment-guide/properties.html

View comments (9)

Silent deploy Mozilla Firefox 22.0 on W7 32bit/64bit (Hybrid)

1. Download the newest offline installer: http://www.mozilla.org/en-US/firefox/all.html

2. Create a new text file called 'override.ini' and copy in the following information:

[XRE]

EnableProfileMigrator=false

 

 

 3. Create a new text file called 'local-settings.js' and copy in the folling information:

pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

 

 

 

 

 4. Create a new text file called 'mozilla.cfg' and copy in the following information:

//Firefox Default Settings

// set Firefox Default homepage

pref("browser.startup.homepage",https://yourcompany.com);

// disable default browser check

pref("browser.shell.checkDefaultBrowser", false);

pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates

pref("app.update.enabled", false)

// disables the 'know your rights' button from displaying on first run

pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying

pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true);

// browser settings

pref("browser.migration.version", 1);

pref("browser.places.importBookmarksHTML", false);

pref("browser.places.smartBookmarksVersion", 1);

pref("browser.preferences.advanced.selectedTabIndex", 1);

pref("browser.rights.3.shown", true); pref("browser.shell.checkDefaultBrowser", false);

pref("browser.startup.homepage", "https://yourcompany.com");

pref("browser.startup.homepage_override.mstone", "rv:1.9.2");

pref("intl.charsetmenu.browser.cache", "UTF-8");

// network settings

pref("network.automatic-ntlm-auth.trusted-uris", "fifa.org");

pref("network.cookie.prefsMigrated", true);

pref("network.proxy.autoconfig_url", "http://proxy.pac");

pref("network.proxy.type", 2);

pref("privacy.sanitize.migrateFx3Prefs", true);

// autoupdate disable

pref("app.update.auto", false);

pref("app.update.enabled", false);

pref("browser.search.update", false);

pref("extensions.update.enabled", false);

You can find all settings if you open Firefox and type about:config in the browse bar

5. Create a new text file called 'install.cmd' and copy in the following information:

@echo off

set AppName=Mozilla Firefox 22.0.0 32bit (EN) - 001

 

:: Path for logfiles.

set Logs=%SystemDrive%\Logs

if not exist %Logs% MD %Logs%

set LogFile=%Logs%\%AppName%.log

set LogFinal=%Logs%\finalcheck%AppName%.log

 

:: Installation

if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86

echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"

goto Error

 

:x86

echo %date% %time% Installation (32 bit) of %AppName% >>"%LogFile%"

cd /D %~dp0

"%~dp0Firefox Setup 22.0.exe" -ms

if exist "%programfiles%\Mozilla Firefox\" copy /Y "%~dp0override.ini" "%programfiles%\Mozilla Firefox\"

if exist "%programfiles%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" "%programfiles%\Mozilla Firefox\"

if exist "%programfiles%\Mozilla Firefox\" copy /Y "%~dp0local-settings.js" "%programfiles%\Mozilla Firefox\defaults\pref"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

goto cleanup

 

:AMD64

echo %date% %time% Installation (64 bit) of %AppName% >>"%LogFile%"

cd /D %~dp0

"%~dp0Firefox Setup 22.0.exe" -ms

if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0override.ini" "%ProgramFiles(x86)%\Mozilla Firefox\"

if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" "%ProgramFiles(x86)%\Mozilla Firefox\"

if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0local-settings.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0.

IF %ERRORLEVEL% NEQ 0 goto Error

goto cleanup

 

:: Cleanup

:Cleanup

if exist "%ALLUSERSPROFILE%\Start Menu\Programs\Mozilla Firefox.lnk" del /f /q "%ALLUSERSPROFILE%\Start Menu\Programs\Mozilla Firefox.lnk"

if exist "%public%\Desktop\Mozilla Firefox.lnk" del "%public%\Desktop\Mozilla Firefox.lnk"

goto End

:: Errorhandler

:Error

echo %date% %time% %AppName% >>"%LogFinal%"

if %errorlevel% EQU 1 echo ERROR 1 - [NOT-SUCCESS] - Fatal Error >>"%LogFinal%"

if %errorlevel% EQU 13 echo ERROR 13 - [INVALID_DATA] - The data is invalid >>"%LogFinal%"

if %errorlevel% EQU 87 echo ERROR 87 - [INVALID_PARAMETER] - One of the parameters was invalid. >>"%LogFinal%"

if %errorlevel% EQU 1601 echo ERROR 1601 - [FAILURE] - The Windows Installer service could not be accessed >>"%LogFinal%"

if %errorlevel% EQU 1602 echo ERROR 1602 - [INSTALL_USEREXIT] - User cancel installation >>"%LogFinal%"

if %errorlevel% EQU 1603 echo ERROR 1603 - [INSTALL_FAILURE] - Fatal error during installation >>"%LogFinal%"

if %errorlevel% EQU 1604 echo ERROR 1604 - [INSTALL_SUSPEND] - Installation suspended, incomplete >>"%LogFinal%"

if %errorlevel% EQU 1608 echo ERROR 1608 - [UNKNOWN_PROPERTY] - Unknown property >>"%LogFinal%"

if %errorlevel% EQU 1610 echo ERROR 1610 - [BAD_CONFIGURATION] - The configuration data for this product is corrupt >>"%LogFinal%"

if %errorlevel% EQU 1612 echo ERROR 1612 - [INSTALL_SOURCE_ABSENT] - The installation source for this product is not available >>"%LogFinal%"

if %errorlevel% EQU 1613 echo ERROR 1613 - [INSTALL_PACKAGE_VERSION] - Servicepack required >>"%LogFinal%"

if %errorlevel% EQU 1618 echo ERROR 1618 - [INSTALL_ALREADY_RUNNING] - Another installation is already in progress >>"%LogFinal%"

if %errorlevel% EQU 1619 echo ERROR 1619 - [_INSTALL_PACKAGE_OPEN] - This installation package could not be opened >>"%LogFinal%"

if %errorlevel% EQU 1621 echo ERROR 1621 - [INSTALL_UI_ERROR] -There was an error starting the Windows Installer >>"%LogFinal%"

if %errorlevel% EQU 1624 echo ERROR 1624 - [INSTALL_TRANSFORM_FAILURE] - Error applying transforms >>"%LogFinal%"

if %errorlevel% EQU 1639 echo ERROR 1639 - [INVALID_COMMAND_LINE] - Invalid command line argument >>"%LogFinal%"

if %errorlevel% EQU 3010 echo ERROR 3010 - [SUCCESS_REBOOT_REQUIRED] - A restart is required to complete >>"%LogFinal%"

echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"

echo Error: %ERRORLEVEL%

echo.

 

:: End of Script

:End

echo %date% %time% End installation of %AppName% >>"%LogFile%"

echo End

 

 

 6. Create a new uninstall.cmd file and copy in the folling information:

@echo off

set AppName=Mozilla Firefox 22.0.0 32bit (EN) - 001

:: Path for logfiles.

set Logs=%SystemDrive%\Logs

if not exist %Logs% MD %Logs%

set LogFile=%Logs%\%AppName%.log

 

:: Uninstallation

if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86

echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"

goto Error

 

:x86

echo %date% %time% Start uninstallation of %AppName% >>"%LogFile%"

"%ProgramFiles(X86)%\Mozilla Maintenance Service\Uninstall.exe" /S

regedit /s "%~dp0delAddRemoveEintrag.reg"

IF %ERRORLEVEL% NEQ 0 goto Error

goto Cleanup

 

:AMD64

echo %date% %time% Start uninstallation of %AppName% >>"%LogFile%"

"%ProgramFiles(x86)%\Mozilla Maintenance Service\Uninstall.exe" /S

regedit /s "%~dp0delAddRemoveEintrag.reg"

IF %ERRORLEVEL% NEQ 0 goto Error

goto Cleanup

 

:: Cleanup

:Cleanup

if exist "%ALLUSERSPROFILE%\Start Menu\Programs\Communications\Mozilla Firefox.lnk" del /f /q "%ALLUSERSPROFILE%\Start Menu\Programs\Communications\Mozilla Firefox.lnk"

if exist "%PROGRAMFILES(x86)%\Mozilla Firefox\" rmdir /s /q "%PROGRAMFILES(x86)%\Mozilla Firefox\"

:: Errorhandler

goto End

:Error

echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"

echo Error: %ERRORLEVEL%

echo.

 

:: End of Script

:End

echo %date% %time% End uninstallation of %AppName% >>"%LogFile%"

echo End

 

That's it, now you can deploy the new Firefox with every deployment software.

If you have any questions, feel free to ask.

View comments (1)
Showing 1 - 4 of 4 results

Top Contributors

Talk About Microsoft Windows