Page 1 of 1

VC Redist installation error

PostPosted: Mon Mar 02, 2020 2:00 pm
by Mark Shipman
Hi,

My Jiwa 7 installation has failed to complete.

Investigating the issue, there is a log file for the VC Redist package with an error.

The error line from the log reads:
[34A0:2938][2020-03-02T15:41:16]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

The PC is set up with Windows 10 Prof, VS2019 and a local instance of MS SQL Server 2019 (development).

How do I resolve or work around the VC issue?

Many thanks,
Mark

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 2:02 pm
by Scott.Pearce
Which version of Jiwa exactly?

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 2:04 pm
by Mike.Sheen
Hi Mark,

You have a newer version of the Visual C++ runtime.

A workaround is to uninstall your Visual C++ runtime, then install Jiwa and then install your version of the Visual C++ runtime again.

Mike

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 2:05 pm
by Mark Shipman
From "Current Release":
"Jiwa Version 07.02.01.00
523 MB
Thursday, 18 Jul 2019
Jiwa 7.2.1 Release Installation (build 07.02.01.00)"

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 2:35 pm
by Scott.Pearce
See Mike's response for a workaround. I have also logged this as https://service.jiwa.com.au/browse/DEV-8120

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 3:15 pm
by Mark Shipman
Hi Mike and Scott,

Many thanks for the prompt assistance.

Needed to uninstall and then reboot before retrying the Jiwa install.

Everything is installed and Jima (7) is now running.

The installation guide is excellent!

Regards, Mark

Re: VC Redist installation error

PostPosted: Mon Mar 02, 2020 7:51 pm
by Mike.Sheen
Mark Shipman wrote:Needed to uninstall and then reboot before retrying the Jiwa install.


That's good information - thanks for giving us that feedback, Mark - it will be useful to us should others report the same issue.

With respect to our fix for this, which Scott has logged in DEV-8120, it looks like we cannot address this in a service release (aka patch release), but instead from our next minor release - which will be version 7.3.

Re: VC Redist installation error

PostPosted: Tue Mar 03, 2020 9:42 am
by Scott.Pearce
How exactly were you performing this install? I can see "Error 0x80070666: Cannot install a product when a newer version is installed." in my log file but it did not adversely affect the installation process. Here is what I did:

New VM - Windows 10 Version 1809
Install Visual Studio 2019 Enterprise - .NET desktop development, Desktop development with C++, Universal Windows Platform development, Visual Studio extension development
Install SQL Server 2019 Developer Edition
Reboot
Install SQL Server Management Studio 18.4
Reboot
Install Jiwa 07.02.01.00 - no error via the UI
Reboot
Inspect C:\Users\jiwaadmin\AppData\Local\Temp\dd_vcredist_x86_20200302163956.log and can see the line "Error 0x80070666: Cannot install a product when a newer version is installed."

Control Panel reveals the versions of VC Redist packages installed:

Microsoft Visual C++ 2005 Redistributable (v8.0.59193)
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501 (v12.0.30501)
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.24.28127 (v14.24.28127)
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.24.28127 (v14.24.28127)

Jiwa 07.02.01.00 will attempt to deploy:

Visual C++ 2005 SP1 Redistributable (x86) (v6.00.2900.2180)
Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24212 (14.0.24212)

Obviously the VC Redist packages included with Jiwa will not deploy in this case because they are older than what was already on the system - but this in no way affected the installation experience for me. If you can add any further detail it will be appreciated - I want to make sure the installation works well for all environments. I will also be looking into updating the VC redist components in out package, but that will require a lot of testing.