scotteh
Posts: 2
Joined: Mon Mar 16, 2015 4:25 pm

Installer skipping one file during upgrade

Hi

I have a filemaker runtime solution. I have a previous version installed with Advanced installer, built as a Simple installer. It always works fine, installing as an upgrade th the previous version or a new install.

But with this new version I just created after installing (uninstalling the old version first, then installing the new version) when I try to run the program it says it can't because Xerces-c_3_0.dll is missing. If I run the installer again and do a Repair that files does get installed and all is fine. If I run the installer on a computer where the previous version does not exist (new install), it installs fine the first time.

I have tried this a few times and it happens exactly the same way each time. I also changed the installer from Simple to Professional and it still happens the exact same way.

The version is 11.8 build 62156.

The problem occurs when installing on Windows 8.1

The install is very simple, nothing fancy except that because of Windows 8,1 securities I have to give the Filemaker database extra permissions so the user can write to it. The problem occurred before I changed the installer to Professional and added the security change. The installer also creates desktop and start menu shortcuts to the .exe.

Any ideas why it would skip this one file during an upgrade?


EDIT: More info

I've tried this on Windows 7 and it works fine.
I've tried it on additional Windows 8 computers and the same error always occurs.

This seems to be the problem line in the verbose log:

MSI (s) (A8:4C) [09:55:41:725]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Sound Ideas\Sound Ideas Sound Effects Search\xerces-c_3_0.dll' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).

But I will attach the log and the aip file.


Thanks!
Scott
Attachments
_soundeffectsinstall.zip
(69.32 KiB) Downloaded 312 times
SoundEffectsSetup.aip
(65.36 KiB) Downloaded 311 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer skipping one file during upgrade

Hello Scott and welcome to our forums,

You may encounter this behavior if the version of your latest "Xerces-c_3_0.dll" is lower than the version of your old "Xerces-c_3_0.dll" (the one which should be upgraded). In this case Windows Installer, during upgrade, will remove the old file but it won't install the new one. This is a Windows Installer bug. Please take a look on our "DLL file disappears during an upgrade" thread which debates a similar issue.

As a workaround, you can either set a higher version on your new "Xerces-c_3_0.dll" file or enable the "Always overwrite existing file" option from your file properties dialog in "Files and Folders" page.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scotteh
Posts: 2
Joined: Mon Mar 16, 2015 4:25 pm

Re: Installer skipping one file during upgrade

YES! Perfect!!!! Thanks!! Exactly what I needed!

Now... in my own defense, and in case this helps others:

The reason I didn't notice this is because the new version was built from Filemaker V12, the old version was built with V11. It never occurred to me that the version numbers of the NEWER DLLs would be lower! But sure enough I found 3 DLLs like that. I set them all to always overwrite and everything works now.

Thanks again!
Scott
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer skipping one file during upgrade

You're always welcome Scott.

I'm glad you got everything working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”