/build/static/layout/Breadcrumb_cap_w.png

Removing Chrome installed in user profile

Uninstalls chrome if the user has installed it on the local profile. The Ping is the 10 sec wait for it to complete.
Work on a Win7 - XP enviroment. (Norwegian XP paths, so be alert)
It will uninstall any version of Google Chrome placed in the User Profile.
-------------------------------------------------start script--------------------------------------------------------
if not exist "%programfiles(x86)%" goto winxp
for /D %%i in ("%userprofile%\appdata\Local\Google\Chrome\Application\*") do (
if exist "%%i\installer\setup.exe" "%%i\installer\setup.exe" --uninstall --multi-install --chrome --verbose-logging --force-uninstall --delete-profile
)
ping 127.0.0.1 -n 10
rd "%userprofile%\appdata\Local\Google\Chrome" /S /Q
exit /b 0
:winxp
for /D %%i in ("%userprofile%\Lokale innstillinger\Programdata\Google\Chrome\Application\*") do (
if exist "%%i\installer\setup.exe" "%%i\installer\setup.exe" --uninstall --multi-install --chrome --verbose-logging --force-uninstall --delete-profile
)
ping 127.0.0.1 -n 10
rd "%userprofile%\Lokale innstillinger\Programdata\Google\Chrome" /S /Q
exit /b 0

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ