Deploying Creo View and Customizing the Installation > Performing a Silent Uninstallation
  
Performing a Silent Uninstallation
MSI installers automatically uninstall a matching product as part of an upgrade. Therefore, for upgrades it is unnecessary to perform a silent uninstallation. However, if you do want to manually and silently uninstall one or more of the Creo View applications, you must first obtain the ProductCode for each version of the application to uninstall. New ProductCodes are generated for each release and patch build of Creo View. This section contains instructions for finding the ProductCodes and for using them to perform the silent uninstallation.
Obtaining ProductCodes
To query the MSI inventory and retrieve the ProductCodes, you can use any of these methods:
Visual Basic script
Powershell script
Free tool such as msiinv.exe
For example, execute the msiinv.exe with these arguments:
msiinv.exe -p > %TEMP%\msiinv_output.txt
You now have a list of all MSI packages and their ProductCodes in your %TEMP% directory, in the file msiinv_output.txt. You can uninstall the applications. Continue below.
Uninstalling the Applications
Use the msiexec.exe tool to uninstall one or more Creo View applications. For each application to uninstall, you must run msiexec.exe with the corresponding ProductCode. Instructions follow.
1. Note the ProductCode you retrieved in the previous procedure.
2. Open a command window, and type the following command:
msiexec.exe /x {<ProductCode>}
3. Press ENTER. The command is executed.
You have now manually and silently uninstalled the application. Repeat the procedure above for each application to uninstall.