db2995 Posted July 30, 2016 Posted July 30, 2016 Hello, I'm wondering if anyone could help with the following. I'm trying to run this script below to complete a silent uninstall and then restart the workstation only once the uninstall has been completed. But what is happening is when the script has been run, the uninstaller doesn't run and the workstation proceeds to shut down subsequently not completing the uninstall before doing so despite adding the && as suggested from various sources on the web. if exist "C:\Windows\SysWOW64\Adobe\Shockwave 12\SwHelper_1224194.exe" (Start /wait "C:\Windows\SysWOW64\Adobe\Shockwave 12\uninstaller.exe" /S) && "C:\Windows\System32\shutdown.exe" /r /t 00 Cheers Davey
Arthur Posted July 30, 2016 Posted July 30, 2016 Try this... if exist "C:\Windows\SysWOW64\Adobe\Shockwave 12\SwHelper_1224194.exe" ( start /wait "C:\Windows\SysWOW64\Adobe\Shockwave 12\uninstaller.exe" /S && "C:\Windows\System32\shutdown.exe" /r /t 00 )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now