photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: grauschaf on January 18, 2016, 04:44:29 PM

Title: Missing DLL with IMatch 5.6.8
Post by: grauschaf on January 18, 2016, 04:44:29 PM
I'm using IMatch 5.5.8. After installing 5.6.8 IMatch ist not able to start. The api-ms-win-crt-runtime-l1-1-0.dll is not found  :'(. See attached Screenshot.
After uninstalling the new version and installing 5.5.8 again IMatch works again with the 'old' 5.5.8 Version.




[attachment deleted by admin]
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on January 18, 2016, 05:42:56 PM
Which Version of Windows are you using?
This is an integral part of Windows that is automatically installed by Windows update on Windows 7 and later.

See https://support.microsoft.com/en-us/kb/2999226

If you have disabled Windows update, you need to install this update manually.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: grauschaf on January 18, 2016, 05:55:14 PM
Hi Mario

I'm using WIN7 x64, Service Pack 1. Windows Update is not disabled. The last update was 13.01.2016, so Windows should be up to date (see screenshot).
IMatch 5.5.8 works without problems. Does the DLL isn't used by this version of IMatch?

I searched for this DLL on my Windows drive. The file is not there.

[attachment deleted by admin]
Title: Re: Missing DLL with IMatch 5.6.8
Post by: grauschaf on January 18, 2016, 06:16:42 PM
Hi Mario

I checked my Win update settings. Optional Updates are not installed automatically. One of these Update was the one you mentioned in your post. After installing this Update IMatch 5.6.8 works :).
Do you recommend to install the optional Win upates too?

Thank you very much for your help.

Gerd
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on January 18, 2016, 06:50:54 PM
The problem is that the IMatch installer includes these components and should install them automatically if they are missing or outdated.
Why this fails on some computers, I have no idea. This is a component that comes straight from Microsoft and is installed with Microsoft Windows Installer. I only include it in the IMatch setup - the rest should be automatic.

I have tested this successfully on W7,W8,W10 with only the standard updates installed, no optionals.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: IanJones on January 19, 2016, 11:13:19 PM
Hi Mario,

I'd just like to mention that I had the same problem as Gerd on W7 SP1 x64 (Ultimate Edition). I don't normally install optional Windows updates, so I didn't have 2999226 installed. After I installed 2999226, IMatch 5.6.10 ran, but gave me a "Scripting not available" warning, even though I was logged on as Administrator.

I uninstalled 5.6.10, rebooted, and re-installed 5.6.10, and now IMatch runs fine.

Ian




[attachment deleted by admin]
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on January 20, 2016, 08:59:14 AM
The registration of the scripting component is performed during installation, under the Admin account.
But IMatch cannot run when this system component is missing, so no scripting registration possible.

The problem boils down to:

1. System component is missing because not installed by Windows Installer (I test this on clean W7 systems without optional updates installed!)
2. Windows installer for whatever reason decides not to install the component (although it is included in the setup file).

The reason for 2. is (as far as I know for now) that MS assumes that the common runtime is installed on all W7 and later systems and only installs it when XP is detected. Or whatever.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Joe Austin on February 26, 2016, 04:30:17 AM
I just encountered this after upgrading my laptop from .8 to .14.    Was working fine with .8, but got the missing dll error after each of three .14 install attempts.

The .14 exe I used was the same one that worked without a problem on my desktop.

Re-installed .8 on the laptop and it's working again.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on February 26, 2016, 08:06:47 AM
You only need to install the missing Microsoft component once:

https://support.microsoft.com/en-us/kb/2999226

then re-install IMatch. This component is required by 5.6.2 and later.

Title: Re: Missing DLL with IMatch 5.6.8
Post by: Rhadamanthys on May 16, 2016, 07:30:16 PM
Which probably points to the problem. If the dll is missing then without internet connection (very very strange condition) IMatch installation remains incomplete. "Do not attempt to install software while being in the outback!"
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on May 16, 2016, 07:55:41 PM
The IMatch installer includes the components / merge modules which install this DLL.
But on some computers, Windows Installer (not IMatch) decides not to install/update the component. And then the user gets this error message (Windows 7 only).

The problem is that installing software on Windows is so bloated, confusing and error-prone that entire libraries of books have been written about it. And tons of tutorials, conferences and talks are dedicated to it.

For example:

To create a "just unpack" ZIP file which installs everything that is needed to run IMatch WebViewer (hundreds of files) I needed less than a day - including learning all the tools required. It's now a completely automated process. I just need to run one command to make it happen. And it even includes automatic tests and validation. This is 'web technology'.

For the past 2 days I've been studying a new software that allows me to install IMatch on Windows, with more options. I need that for IMatch AnywhereTM because I need to install a service, gather input from the user during the installation etc. The WIX toolkit is powerful, but just reading the tutorial makes your eyes bleed - it's so complicated. After a full day of work I was just able to install two files. And the complex stuff follows - this is 'Windows technology'.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Albert on September 01, 2016, 11:37:55 AM
I have the same problem with Imatch 5.6.22 and on w7 64x platform. From the old versions of IMatch (3.6) I never had any problems (and extremely happy with), but four months ago I bought version 5.6.22 and there is no way that I work with w7 64. I'm desperate.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on September 01, 2016, 02:32:24 PM
Quote from: Albert on September 01, 2016, 11:37:55 AM
I have the same problem with Imatch 5.6.22 and on w7 64x platform. From the old versions of IMatch (3.6) I never had any problems (and extremely happy with), but four months ago I bought version 5.6.22 and there is no way that I work with w7 64. I'm desperate.
Did you install the missing Windows update? This solved the problem in no time for all other users who had missed that Windows update.

https://support.microsoft.com/en-us/kb/2999226
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Albert on September 02, 2016, 02:06:32 PM
I did, but w7 for updates without finding anything. Probably I have a problem with W7 upgrade, but it has happened with several pc's
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on September 02, 2016, 02:43:20 PM
What does "updates without finding anything" mean?

Does the update fail to run? Error message displayed?

The update for the Universal C runtime was shipped out to Windows 7 systems early 2014.  It was automatically installed on all Windows 7 machines which had at least SP1 installed at that time.

If Windows update did not automatically install this update on your machine, you most likely don't use automatic updates. Or there is another problem installing the update, e.g. some prior updates also missing. Which again would mean that your system is lacking some very important and critical security and operating system updates.

Maybe your installer database is broken or something.
There are numerous tutorials out there explaining how to check for problems with Windows installer and the file system, e.g. running the System File Checker sfc etc.

IMatch 5.5 uses the current version of the Microsoft Runtime environment.  For now, this means IMatch runs on Windows 7 with platform update 1 (!) and all standard Microsoft updates installed. As I said, the DLLs reported as missing on your system where shipped in 2014 by Microsoft. Windows 7 is now getting really old, sorry.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Albert on September 10, 2016, 03:16:41 PM
Hi Mario.

Is already solved. W7 looks updates and not found anything. It is a problem that happens often. I struggled a lot but I found the solution.
My Imatch it's working now  ;D

Thank you very much.
Title: Re: Missing DLL with IMatch 5.6.8
Post by: Mario on September 10, 2016, 04:27:55 PM
That's good news. Glad to hear that you could get it solved.