Hello,
I have the following commands in a batch file to uninstall Visio 2010 Premium, but Visio is not being removed. I am I using the wrong command line? Does it make a difference if Visio 2010 Premium was installed directly from the Visio DVD and not a network share? I do not have Visio installation files saved on a network drive.
***Batch file*****
:VISIO2010
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.VISIO > nul 2>&1
IF %errorlevel%==0 (GOTO REMOVEVISIO) else (exit)
:REMOVEVISIO
"\\my-server\Microsoft Office 2010\OFFICE14\x64\setup.exe" /uninstall Visio /config "\\my-server\Microsoft Office 2010\OFFICE14\x64\SilentUninstallConfig.xml"
****SilentUninstallConfig.xml***
<Configuration Product="Visio">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>