Be careful when installing SHLWAPI.DLL with Visual Installer

Be careful when installing SHLWAPI.DLL with Visual Installer

I happened to come across a serious problem when installing my own software with Visual Installer 1.1: the installation of my product on Windows 98 computers caused a system crash during the next Windows start-up. The only way to fix things was to reinstall Windows from CD, over the existent version!

The only modification done on the computer used to build the software and the setup (a machine dedicated to this sole task) was the installation of IE6, followed by its security patches.

After some experiments, here it is the explanation for the problem. Visual Installer correctly detects a dependency to SHLWAPI.DLL during the build (as it did before the IE6 was installed). However, this DLL was replaced by the newer version installed with IE6, and thus it was this updated DLL to be included in my setup package.

Once this DLL was installed on the client computer, it caused a system crash if the existent version of SHLWAPI.DLL was not the same. To fix the problem you can use a boot disk to avoid loading Windows, and manually replace SHLWAPI.DLL version 6.0.2600.0 (the one distributed with IE6) with version 5.0.2614.3500 (the one distributed with Win98 OSR2).

As for the setup package, you can avoid including the file and rely on the file already installed on the client machine, or include the DLL with version 5.0.2614.3500 (that will not be installed on the client if the setup detects that a newer version is already present).

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes

ransomware cyber attack

Why Is Ransomware Such a Major Threat?

One of the most significant cyber threats faced by modern organizations is a ransomware attack. Ransomware attacks have grown in both sophistication and frequency over the past few years, forcing