EMaster
Posts: 1
Joined: Sun Oct 08, 2023 11:17 pm

File getting deleted during upgrade install and then getting 'Please wait while Windows configures' message

I am having an issue where my installation is deleting a file during an upgrade install for one installation but not another.

The process is as follows:
1. I install version 7.40 of our product; one of the files it installs in the main install dir is Microsoft.SqlServer.Types.dll
2. I then install version 7.60 of our product; there are 2 difference versions, one being 7.60.171 and the other being 7.60.172
a) The only thing different that I can see in the AIP files is that 4 other unrelated DLLs have been updated
3. If I install 7.60.171 over 7.40, everything works as expected; it upgrades all the 7.40 files and more importantly, the Microsoft.SqlServer.Types.dll remains.
4. If I install 7.60.172 over 7.40, it upgrades all the 7.40 BUT it deletes the Microsoft.SqlServer.Types.dll ?
5. As part of the installation, a File Association is created, so that when a user double-clicks our proprietary data file (*.emdm), it will load the file within our installed application. I notice if we do this after installing 7.60.172 over 7.40, a 'Please wait while Windows configures ......' message appears, and it seems to reinstall the missing Microsoft.SqlServer.Types.dll


My questions?
1) What is the difference between the 7.60.171 and 7.60.172 installation packages that make them behave different when upgrading a 7.40 installation?
2) Is there something I can change in the 7.60.172 installation so it can behave the same as 7.60.171, and not delete the Microsoft.SqlServer.Types.dll during an upgrade?


Here are the links to each file:
7.40 MSI: https://1drv.ms/u/s!ArreXfLnjdAqxGU06Eg ... H?e=uzvkez
7.60.171 MSI (works): https://1drv.ms/u/s!ArreXfLnjdAqxGdxQ7o ... B?e=baMhhI
7.60.172 MSI (broken; deletes DLL during upgrade): https://1drv.ms/u/s!ArreXfLnjdAqxGYMuYZ ... 9?e=upOUsC
The AIP files for each: https://1drv.ms/u/s!ArreXfLnjdAqxGsxXJE ... I?e=dYzybX
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: File getting deleted during upgrade install and then getting 'Please wait while Windows configures' message

Hello and welcome to our forums,

Please note that the file being removed during an upgrade is normal, as the upgrade means:

- uninstall the older version
- install the newer version

However, the file missing after the upgrade is not normal and the most common cause for this issue is discussed in the following FAQ.

Why do one or more files disappear after an upgrade is performed?

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”