2017/11/30

How to Clean up a previous version of Volvo VIDA or SQL

Cleaning up a previous version of VIDA or SQL (failed or not) Guide.

WHAT IS THIS?
A pre-install guide to Volvo VIDA 2014D, on a system where VIDA has previously failed to install or a previous version of VIDA has been installed and then uninstalled. On a system such as that, the cleaning part step 1 through 8 is the most important part. Usual errors on such systems are:
- An X is presented in Internet Explorer were the DICE Communication tool selector should be.
- You cannot enter anything in the Username login dialogue.
- "VIDA cannot start as port 80 is already in use".
- "VIDA NOT OK".
Check the troubleshooting section at the end of this guide for solutions.
************************************************** **************************************************
REVISION HISTORY:
Rev 1. 2016-08-20
- Moved this Cleaning section to a separate post, the original guide was getting out of space (limit of characters was reached per post).
- Changed and added some stuff to step 2.
- Added step 5b.
************************************************** **************************************************
GUIDE:
If you have a clean install of Windows and have not previously installed any version of VIDA or SQL (failed or not): Skip this pre-install Cleaning-up guide and go to http://vidadice.blogspot.com/2017/11/install-volvo-vida-dice-2014d-on-windows-10.html
People that only have problems with DiCE-connections should try out step 3, and step 3 only, before trying anything else out. This guide is now tested on both old Windows 10 Pro installations that have been upgraded from previously installed Windows versions and on clean installs of Windows 10 Pro.
************************************************** **************************************************
STEP 1 THROUGH 8, CLEANING SECTION:
1. Disconnect your DiCE-device from your computer and do not connect it again until this guide says so.

2. Make sure you have uninstalled everything related to VIDA:
Uninstall in this order: (if you do not have some or any of these, uninstall the ones you have)
- VIDA
Adobe Reader XI (11.0.06) (also remove any other version of Adobe Reader)
- Dice Usb Driver x64
- DiCE x64
- IsoView
- ITEDO IsoView ActiveX Control 4.0
- Every instance that is named or begins with:
"Microsoft SQL Server ...", e.g.
"... Native Client",
"... Setup (language)",
"... Setup Support Files",
"... Server Browser",
"...VSS Writer",
"... 64-bit)",
"... Transact-SQL",
"... Transact-SQL ScriptDom",
"... System CLR Types",
"... Management Objects", etc. REMOVE ALL VERSIONS OF Microsoft SQL Server.
- Microsoft ODBC Driver ... for SQL Server
- SQL Server Browser for SQL Server ...
- Microsoft Visual Studio ...
- Visual Studio ...
- Microsoft .NET Framework 4 Multi-Targeting Pack
- Windows Driver Package - SETEK AB (DiceUsb) DiCE Hardware (01/31/2011 6.1.7600.16385)
Also remove any other SQL Server for that matter, and any versions of Java that you might have installed.
- If you get an error that you cannot uninstall Microsoft SQL ... because "Microsoft SQL Server 2008 R2 RsFx Driver" is using it:
Open a Command Prompt: Click Start and enter "CMD", then right click on "Command Prompt" and select "Run as Administrator". A new CMD-prompt will appear. Copy the following line depending on your architecture and then paste it by right clicking in the CMD-window and select "Paste", then hit enter:
Code:
MsiExec.exe /x {8FB7A1C3-87C4-4933-BE1D-6372CAF6A72E} /quiet
3. To resolve problems with non-detected or problematic DiCE-devices/USB ports follow this optional procedure:
3a. Disconnect your Volvo DiCE-device from your computer if you have not already done so.
3b. Open Control Panel, open System, click Advanced System Settings, click Environment Variables on the Advanced tab, and define a new variable under System variables: Click "New...", Variable name: DevMgr_Show_NonPresent_Devices and set the Variable value to 1 and then click OK.
3c. Open Device Manager and select View/Show hidden devices, remove the shadowed devices that are problematic, e.g.:
- DiCE-206751@000000000000
- Unknown USB Device (Device Descriptor Request Failed)

See this link for more information:
https://msdn.microsoft.com/en-us/lib...or=-2147217396

4. To resolve issues with .NET Framework, follow this optional procedure:
4a. Download the ".NET Framework Cleanup Tool" here:
http://go.microsoft.com/fwlink/?LinkID=121918
4b. Run the Cleanup Tool and select .NET Framework - All Versions (Windows ...)
4c. Select "Cleanup Now" and wait for it to complete (reboot and then skip to step 5 if asked to reboot).

4d. Reboot

5. Delete folders: (if you do not have some or any of these, delete the ones you have)
"C:\Program Files\Microsoft SQL Server"
"C:\Program Files\DiCE"
"C:\Program Files (x86)\Adobe\Reader 11.0"
"C:\Program Files (x86)\Common Files\Adobe\Reader"
"C:\Program Files (x86)\DiCE"
"C:\Program Files (x86)\ITEDO Software"
"C:\Program Files (x86)\Microsoft Visual Studio ... "
"C:\Program Files (x86)\Microsoft SQL Server"
"C:\Program Files (x86)\Volvo"
"C:\Program Files (x86)\Volvo Cars"
"C:\Users\[USERNAME]\AppData\Local\VIDA"
"C:\Users\[USERNAME]\AppData\Roaming\ITEDO"
"C:\VIDA"
"C:\VIDASave"

5b. Open a Command Prompt: Click Start and enter "CMD", then right click on "Command Prompt" and select "Run as Administrator". A new CMD-prompt will appear. Copy the following line and then paste it by right clicking in the CMD-window and select "Paste", then hit enter:
Code:
regsvr32 /s "C:\Windows\SysWOW64\cgmopenbho.dll" & del "C:\Windows\SysWOW64\cgmopenbho.dll" & del "C:\Windows\SysWOW64\cgmopenbho.cfg"
6. Run regedit and remove the following keys: (if you do not have some or any of these, delete the ones you have)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ford Motor Company
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ITEDO Software
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PassThruSu pport.04.04
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Volvo Cars

7a. Run CCleaner: (the free version)
https://www.piriform.com/ccleaner/download
- Start CCleaner and go to Options/Advanced and uncheck "Only delete files in Windows Temp folders older than 24 hours" and optionally uncheck "Show prompt to backup registry issues"
- Under Options/Monitoring uncheck both "Enable system monitoring" and "Enable Active Monitoring"
- Now run Cleaner (on the left) and after that go to Registry (also on the left) and run it multiple times until there longer are no issues detected.

7b. Open Control Panel, open System, click Advanced System Settings, click Environment Variables on the Advanced tab, check if VIDA variables are in the list: if present, delete the following: VIDA_HOME, VIDA_LANGUAGE, VIDA LANGUAGES

8. Reboot!

Now follow my Installing Volvo VIDA 2014D on Windows 10 Guide in this post:
http://vidadice.blogspot.com/2017/11/install-volvo-vida-dice-2014d-on-windows-10.html

No comments:

Post a Comment