2017/11/29

How to Install Volvo VIDA DiCE 2014D on Windows 10 Pro 64 bit

Installing Volvo VIDA 2014D on Windows 10 Guide.

WHAT IS THIS?
A guide to install Volvo VIDA 2014D on first and foremost Windows 10 Pro x64 but will work on most Windows 7 , 8, 8.1 (32- and 64-bit) and up, especially 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.

************************************************** **************************************************

IMPORTANT!
THIS IS A BETA AND HAS NOT THOROUGHLY BEEN TESTED YET. IF YOU FIND ANY ERRORS PLEASE PM ME ASAP!
************************************************** **************************************************

NEWS:
2017-07-04: Now tested and working as expected even on Windows 10 1703 (10.0.15063.447) Creators Update
2017-05-08: Now tested and working as expected even on Windows 10 1703 (10.0.15063.13) Creators Update
2017-05-08: The patch I spoke of in previous news will probably never be ready for public testing as I do not have the time for it anymore 
2016-08-20: I am working on a patch for x64-systems that makes this guide superfluous. It will be a 1-2-3 way to install VIDA 2014D with it!
2016-08-14: Guide Zero: Installing Volvo VIDA 2014D on Windows 10 Guide Lite version. FOR IT-PRO's ONLY! (it gives the same result but not nearly as specific instructions):
http://vidadice.blogspot.com/2017/11/install-volvo-vida-2014d-on-win-10-light-version.html

The rest of you please follow the Non-IT Pro guide in this post for a more detailed guide.
************************************************** **************************************************
REVISION HISTORY:
Rev 14. 2016-08-27
- Added another warning to post 16c (WARNING! You cannot install another language after you have upgraded SQL!).
Rev 13. 2016-08-20
- Separated the Cleaning section to another post, this one was getting out of space (limit of characters was reached per post).
- Added command line setup of SQL 2008 R2 SP3 upgrade for easier install in step 18.
- Added a warning to post 16c (WARNING! If you get an "Unhandled Exception" during Multi-language setup, see the Troubleshooting section at the end of this guide BEFORE you continue!).
- The patch needs different ways of installing depending on architecture (step 17b).
- Added optional step 11, install .NET Framework 3.5 before the installation of VIDA.
- 32-bit part is still not thoroughly tested, if you cannot enter anything in the Username login dialogue after following this guide, install the patch the x64-way.
Rev 12. 2016-08-14
- Updated Requirements.
- 64-bit part of the guide is now completely tested.
- Removed Windows 8.1 from the guide, I do not have time to test it on that platform. It probably works though.
- Reworked the guide to fix an error when trying to install VIDA on Windows 10 after KB3163018 or the "Anniversary Update" was installed prior to the VIDA install. Fails with "You got a javax.servlet.jsp.JspException: Define tag cannot set a null value" - Thanks to Orfeous.
- Included option to install more than one language to use in conjunction with my "VIDA Multi-language Guide".
- Included option to upgrade the SQL Server to the latest 2016 version to use in conjunction with my "Upgrade to the latest SQL Server Guide" (x64 only!)
- Changed step 17 (unpack the patch before you run filldb.cmd) to make it run foolproof.
- Tested with the latest Windows 10 (10.0.14393 v.1607) Anniversary Update.
- Other minor corrections and additions/deletions to the guide.

Rev 10, 11.
- Corrections.
Rev 9.
- After Windows Update installs KB3163018, Java does not work properly and VIDA fails to start.
Rev 2-8.
- ...
Rev 1.
- First draft.

************************************************** **************************************************

REQUIREMENTS:
- Microsoft Windows 10 Pro x86/x64 - I strongly recommend that you move to Windows to 64-bit. Especially if you are planning upgrading to SQL Server 2016.
- Volvo VIDA 2014D DVD or ISO-file
- VIDA Patch (2014A.exe works for VIDA 2014A through 2014D). File details:
2014A.exe 137 KB (140 785 bytes)
CRC32: E5F6F31C
MD5: 4E8084C08BDC59CB7D4DA16E708CDD8B
SHA-1: 4A1A38ECBF4608F7E36FDB38867F3A03D96D1B4C

************************************************** **************************************************

GUIDE:
If you have a clean install of Windows and have not previously installed any version of VIDA or SQL (failed or not): begin in this post with step 9.
On a system where VIDA has previously failed to install or a previous version of VIDA has been installed and then uninstalled, the cleaning part step 1 through 8 is the MOST IMPORTANT part

STEPS 9 THROUGH END, INSTALLING SECTION:
9. Prepare your installation and download necessary files:
9a. Create a temporary directory in C:, and name it "VidaInstall". Continue with either x86 or x64 steps depending on your OS installation. x86 works on both 32-bit and 64-bit Windows, but I STRONGLY recommend you to follow the x64 steps on 64-bit Windows because this guide ASSUMES that you do.

nn_x86: This step is for Windows 32-bit. Skip this step if you are on Windows 64-bit.
nn_x64: This step is for Windows 64-bit. Skip this step if you are on Windows 32-bit. 

9b_x86. Download:
- Java SE Development Kit 7u80 (x86) "jdk-7u80-windows-i586.exe" (138.35 MB) here:
http://www.oracle.com/technetwork/ja...k-7u80-oth-JPR
- Microsoft SQL Server 2008 R2 SP1 Express x86 English version is included on the VIDA 2014D DVD, no need to download it.
- Microsoft SQL Server 2008 R2 Service Pack 3 x86 English version "ENU\SQLServer2008R2SP3-KB2979597-x86-ENU.exe" (247.2 MB) here:
https://www.microsoft.com/en-us/down....aspx?id=44271

9b_x64. Download:
- Java SE Development Kit 7u80 (x64) "jdk-7u80-windows-x64.exe" (140.09 MB) here:
http://www.oracle.com/technetwork/ja...k-7u80-oth-JPR
- Microsoft SQL Server 2008 R2 SP1 Express x64 English version "ENU\SQLEXPR_x64_ENU.exe" (117.5 MB) here:
http://www.microsoft.com/en-us/downl....aspx?id=26729
- Microsoft SQL Server 2008 R2 Service Pack 3 x64 English version "ENU\SQLServer2008R2SP3-KB2979597-x64-ENU.exe" (358.4 MB) here:
http://www.microsoft.com/en-us/downl....aspx?id=44271

9c_x86. Prepare:
- After the Java SE Development Kit download is complete, open the VIDAInstall directory and create a new folder in there, name it "JDK7u80". Move the "jdk-7u80-windows-i586.exe" to the C:\VIDAInstall\JDK7u80 folder.
- After the SQL Server SP3 download is complete, open the VIDAInstall directory and create a new folder in there, name it "SQL2008R2SP3". Move the "SQLServer2008R2SP3-KB2979597-x86-ENU.exe" to the C:\VIDAInstall\SQL2008R2SP3 folder.

9c_x64. Prepare:
- After the Java SE Development Kit download is complete, open the VIDAInstall directory and create a new folder in there, name it "JDK7u80". Move the "jdk-7u80-windows-x64.exe" to the C:\VIDAInstall\JDK7u80 folder.
- After the SQL Server SP1 download is complete, open the VIDAInstall directory and create a new folder in there, name it "SQL2008R2SP1". Move the "SQLEXPR_x64_ENU.exe" to the C:\VIDAInstall\SQL2008R2SP1 folder.
- After the SQL Server SP3 download is complete, open the VIDAInstall directory and create a new folder in there, name it "SQL2008R2SP3". Move the "SQLServer2008R2SP3-KB2979597-x64-ENU.exe" to the C:\VIDAInstall\SQL2008R2SP3 folder.

9d. Install Microsoft SQL Server 2008 R2 SP1 Express:
- 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:
- For Windows x86: (substitute D: for your actual VIDA DVD location))
Code:
"D:\3PP\Products\SqlExpress\SQLEXPR_x86_ENU.exe" /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /ROLE=AllFeatures_WithDefaults /INSTANCENAME=VIDA /SAPWD=GunnarS3g3 /SECURITYMODE=SQL /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /BROWSERSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /HIDECONSOLE /ENU /QS
- For Windows x64:
Code:
"C:\VIDAInstall\SQL2008R2SP1\SQLEXPR_x64_ENU.exe" /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /ROLE=AllFeatures_WithDefaults /INSTANCENAME=VIDA /SAPWD=GunnarS3g3 /SECURITYMODE=SQL /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /BROWSERSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /HIDECONSOLE /ENU /QS
- The installation of SQL Server will run by itself without any user intervention. Wait until it is complete and then close the Command Prompt.

10. Optional step: Make sure Internet Explorer 11 is installed via Control Panel: View by: Small icons, "Programs and Features", select "Turn Windows features on or off" and make sure Internet Explorer 11 is checked (which is the default in Windows 10).

11. Optional step: If you do not want the automatic download of .NET Framework 3.5 during the installation:
- Go to Control Panel, open "Programs and Features", click on "Turn Windows features on or off".
- Check the box for " .NET Framework 3.5 (includes .NET 2.0 and 3.0)" (if it is not already checked) and then click OK.

12-15. Steps removed.

16. Install VIDA from the VIDA 2014D DVD:
16a. Step removed.
16b. Locate VIDA Setup (setup.exe) in "D:\Install\DVD\Vida_dvdheader\Main" (NOT the setup.exe in the Vida folder) (substitute D: for your actual VIDA DVD location), right click the file and select Properties, go to the Compatibility tab, check "Run this program in compatibility mode for:" and select "Windows 7" from the drop down list, then click OK.
16c. Now run the "setup.exe", still in the Main folder.
- Select VIDA All-in-one and then the language(s) to install. (WARNING! You cannot install another language after you have upgraded SQL!) (For a multi-language setup, first follow this guide and then my "VIDA Multi-language Guide").
- Leave the default Destination folder as is (C:\VIDA\) and click Next.
- Accept the License Agreement.
- If the installation asks to download .NET Framework 3.5, select to "Download and install this feature". After the downloading and installing is done click Close.
- When the Vida Configurator shows up, leave the default selection on the Location tab as is, which is "Internet", (do not change anything on the other tabs) click Save and then Close, Close.
- WARNING! If you get an "Unhandled Exception" during Multi-language setup, see the Troubleshooting section at the end of this guide BEFORE you continue!
- When Setup asks for a reboot, select "No, I will restart my computer later" and then click Finish.
- If Windows Firewall Security Alert shows up for "Java(TM) Platform SE binary", tick both "Private networks" and "Public networks" and click "Allow access".

16d. To fix an incompatibility issue with this old Java version that comes pre-installed with VIDA and Windows Update "KB3163018" (and also pre-installed with Windows 10 v.1607) you need to update Java:
- Uninstall all Java versions (if not already done so).

16e. Make sure that VidaMonitor and Java are closed (they will be started only if you have installed multi-language, but check to make sure anyway): Start Windows Task Manager and click "More details". Locate and right click "VidaMonitor.exe" on the "Details" tab and select "End task", confirm by clicking "End process". Do the same with java.exe and javaw.exe. Close Windows Task Manager.
- Close Internet Explorer.

nn_x86: This step is for Windows 32-bit. Skip this step if you are on Windows 64-bit.
nn_x64: This step is for Windows 64-bit. Skip this step if you are on Windows 32-bit. 

16f_x86. On Windows x86 do the following:
- Install: C:\VIDAInstall\JDK7u80\jdk-7u80-windows-i586.exe
- Rename "jdk" folder in "C:\VIDA\" to "jdk.old" (or delete it).
- Copy folder "jdk1.7.0_80" from "C:\Program Files\Java" to "C:\VIDA\".
- Rename folder "jdk1.7.0_80" in "C:\VIDA\" to "jdk".
- Uninstall "Java SE Development Kit 7 Update 80" and "Java 7 Update 80" from Control Panel Programs and Features, you do not need it anymore as all the files VIDA uses we have already copied.

16f_x64. On Windows x64 do the following:
- Install: C:\VIDAInstall\JDK7u80\jdk-7u80-windows-x64.exe
- Rename "jdk" folder in "C:\VIDA\" to "jdk.old" (or delete it).
- Copy folder "jdk1.7.0_80" from "C:\Program Files\Java" to "C:\VIDA\".
- Rename folder "jdk1.7.0_80" in "C:\VIDA\" to "jdk".
- Uninstall "Java SE Development Kit 7 Update 80 (64-bit)" and "Java 7 Update 80 (64-bit)" from Control Panel Programs and Features, you do not need it anymore as all the files VIDA uses we have already copied.

17. Now it is time to install the VIDA Patch (2014A.exe -- check the size or better yet the MD5 or SHA-1 under Requirements in this guide above, to match. You might otherwise have downloaded a virus), the same Patch works for VIDA 2014A through 2014D:
17a. Make sure that VidaMonitor is closed: Start Windows Task Manager and click "More details". Locate and right click "VidaMonitor.exe" on the "Details" tab and select "End task", confirm by clicking "End process". Close Windows Task Manager.

nn_x86: This step is for Windows 32-bit. Skip this step if you are on Windows 64-bit.
nn_x64: This step is for Windows 64-bit. Skip this step if you are on Windows 32-bit. 

17b_x86: Now it's time to run the VIDA Patch, the same Patch works for VIDA 2014A through 2014D. "2014A.exe". Run it as Administrator and leave the default Destination folder as is (c:\) and select Install. Ignore the taskkill error. Now skip to step 18. 

17b_x64: Do NOT try to install it by running the exe, instead use Z-zip to unpack the compressed files directly to C: (running it will not always work with this setup and will sometimes not patch the installation correctly).
17c_x64. Right click and select "Extract files..." Enter C: in the "Extract to" field and untick the "2014A\" path.
17d_x64. The package will extract to the VIDA-folder, overwrite all files when asked.
17e_x64. Locate the file filldb.cmd in the "C:\VIDA\patch" folder and then right click on it, select "Run as administrator". You will briefly see a CMD-prompt that opens and closes quickly, this is by design and no other confirmation will appear.

18. Now apply the Microsoft SQL Server 2008 R2 SP3 Express Service Pack (KB2979597 - a prerequisite for the SQL 2016 upgrade):
18a. 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:
- For Windows x86: (substitute D: for your actual Volvo VIDA DVD location))
Code:
"C:\VIDAInstall\SQL2008R2SP3\SQLServer2008R2SP3-KB2979597-x86-ENU.exe" /IACCEPTSQLSERVERLICENSETERMS /ALLINSTANCES /HIDECONSOLE /ENU /QS
- For Windows x64:
Code:
"C:\VIDAInstall\SQL2008R2SP3\SQLServer2008R2SP3-KB2979597-x64-ENU.exe" /IACCEPTSQLSERVERLICENSETERMS /ALLINSTANCES /HIDECONSOLE /ENU /QS
- The upgrade of SQL Server will run by itself without any user intervention. Wait until it is complete and then close the Command Prompt.
18c. Reboot.

19. If Windows Firewall Security Alert shows up for "Java(TM) Platform SE binary", tick both "Private networks" and "Public networks" and click "Allow access".

20. Now you should be ready to try VIDA out, but wait for the VIDA Monitor to change to a green play icon (VIDA Monitor is by the task tray):
20a. Connect your DiCE-device to your computer.
20b. Start VIDA All-In-One
20c. If Internet Explorer ask to use Recommended security and compatibility settings chose "Don't use recommended settings".
20d. If Internet Explorer asks permission to enable Several add-ons, click Choose add-ons and Enable both 'Adobe PDF Link Helper' and 'WebCGMHlprObj Class'. If Internet Explorer only asks permission to enable 'WebCGMHlprObj Class' click "Enable".
20e. Login with admin, 1, 2, 3 or 4, depending on your location/market.

No comments:

Post a Comment