Uninstaller prompts to run in vbscript - runs silent as cmd
Hi,
I am trying to use the Adobe Flash Player Uninstaller to remove older versions of Flash Player. When I run a batch file, the uninstaller runs silently without any prompting. When I run the uninstaller in vbscript, Windows 7 prompts for permission to run the uninstaller.
This uninstaller is supposed to run silently by using the following (this does work using a batch file): uninstall_flash_player.exe -uninstall
I am using this line of code below in my vbscript:
objShell.Run strDataPath & "uninstall_flash_player.exe" & " -uninstall",0,True
This code will run the uninstaller but Windows prompts you to allow it to run and will not continue until you respond. I need this to run without requiring any interaction because it will be pushed out using SCCM.
Any ideas?
Thanks,
Rob