(imported comment written by SystemAdmin)
We are currently deploying desktop manager using the following:
relevance:
not exist (file (value of variable “Programfiles” of environment & “\Research In Motion\BlackBerry Desktop\Rim.Desktop.exe”)) whose (version of it <= “6.1.0.35”)
Action:
Install command:
waithidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\BlackBerry Desktop Software.msi”}” /qn /norestart
We were also needed to incorporate some of the prereqs within the task prior to installation, they were done as follows:
//.NET Framework 3.5 Installation
if {name of operating system = “WinXP” and not exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5” of registry and not exists value whose (name of it starts with “.NET CLR 3.5”) of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Post Platform” of registry}
download http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe
continue if {(size of it = 206692864 and sha1 of it = “0a271bb44531aadef902829f98dfad66e4a57586”) of file “dotnetfx35.exe” of folder “__download”}
wait __download\dotnetfx35.exe /q /norestart
run “{pathname of client folder of site “BESSupport” & “\RunQuiet.exe”}” “{pathname of client folder of site “BESSupport” & “\qchain.exe”}”
action may require restart “0a271bb44531aadef902829f98dfad66e4a57586”
endif
//Visual C++ 2008 Redistributable Package x86 9.0.21022
if {not exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}}” of native registry}
prefetch vcredist_x86exe.tmp sha1:c912a0ff9dbdf1d1923caf8f7a0f74a47597afc8 size:1797520 http://BESSERVER:52311/Uploads/c912a0ff9dbdf1d1923caf8f7a0f74a47597afc8/vcredist_x86exe.tmp
extract vcredist_x86exe.tmp
waithidden __Download\vcredist_x86.exe /q:a /r:n
endif