Uninstall multiple versions of Blackberry Desktop Manager
Hi to anyone that can help;
I have a couple of questions regarding using a WiseScript on both XP and Vista machines. My organization has about 68 different versions of Blackberry Desktop Manager. Version control is something, unfortunatly, that will allways be a problem here. I need to uninstall all of these versions due to security vulnerbilities. I am very familiar with Wise Package Studio, and have used WiseScript on occassion. Instead of creating seperate uninstall packages to pull these versions off, I would like to use a wisescript to do this. Its going to be time consuming enough just gettting all the uninstall strings from the registry. Can someone advice me on how this can be done?
Also I am using SCCM to deploy applications and patches to 6000 nodes, and since upgrading to VISTA on about 50% of these, I have noticed that when I push any application that user wisescript I get prompted to click RUN even though its a silent install. ACU is turned off by default.
Thanks
I have a couple of questions regarding using a WiseScript on both XP and Vista machines. My organization has about 68 different versions of Blackberry Desktop Manager. Version control is something, unfortunatly, that will allways be a problem here. I need to uninstall all of these versions due to security vulnerbilities. I am very familiar with Wise Package Studio, and have used WiseScript on occassion. Instead of creating seperate uninstall packages to pull these versions off, I would like to use a wisescript to do this. Its going to be time consuming enough just gettting all the uninstall strings from the registry. Can someone advice me on how this can be done?
Also I am using SCCM to deploy applications and patches to 6000 nodes, and since upgrading to VISTA on about 50% of these, I have noticed that when I push any application that user wisescript I get prompted to click RUN even though its a silent install. ACU is turned off by default.
Thanks
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
I wouldn't bother with WiseScript but then, I've always had an aversion to its user-hostility.
I'd build a VBScript or PowerShell script, have an array/array list of ProductCodes and call a function to call 'MSIExec /X {ProductCode} /QN', passing in each element from the array. Easy to debug and, ultimately - done properly - easily maintainable when you're gone/absent.
I'd build a VBScript or PowerShell script, have an array/array list of ProductCodes and call a function to call 'MSIExec /X {ProductCode} /QN', passing in each element from the array. Easy to debug and, ultimately - done properly - easily maintainable when you're gone/absent.
Posted by:
bstadmin
14 years ago
You could do this quickly with a batch file...
Set PRODUCT_CODE={5FB7E3F6-F079-46F4-871F-C6ATB6AE7CE8}
Set REG_KEY="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PRODUCT_CODE%"
reg query %REG_KEY% /v DisplayName > nul 2>&1
If %ERRORLEVEL% == 0 (
%windir%\system32\msiexec.exe /x %PRODUCT_CODE% /qb
Echo Uninstall called for app with product code: %PRODUCT_CODE%
) ELSE (
Echo App with Product code %PRODUCT_CODE% is NOT INSTALLED
)
Set PRODUCT_CODE={5FB7E3F6-F079-46F4-871F-C6ATB6AE7CE8}
Set REG_KEY="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PRODUCT_CODE%"
reg query %REG_KEY% /v DisplayName > nul 2>&1
If %ERRORLEVEL% == 0 (
%windir%\system32\msiexec.exe /x %PRODUCT_CODE% /qb
Echo Uninstall called for app with product code: %PRODUCT_CODE%
) ELSE (
Echo App with Product code %PRODUCT_CODE% is NOT INSTALLED
)
Posted by:
anonymous_9363
14 years ago
Posted by:
pjgeutjens
14 years ago
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.