Merge modules problem during upgrade installation - Advanced Installer Community
Dominik Czerwik
Posts: 2
Joined: Mon Feb 07, 2011 3:58 pm

Merge modules problem during upgrade installation

Hi

My installer installs a product and OpenMP using merge modules. Everything works fine.
I'd like to upgrade a product by "Uninstall old version first and then install new version" method, OpenMP is in the same version.
After the upgrade .exe doesn't work. The reason why the program cannot be started is because its side-by-side configuration is incorrent:
Activation context generation failed for "C:\temp\myapp.exe". Dependent Assembly
Microsoft.VC80.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
could not be found. Please use sxstrace.exe for detailed diagnosis.

I'm using Visual Studio 2005 SP1.

How can I workaround this issue? I don't want to install vc_redist.


--
Dominik Czerwik
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Merge modules problem during upgrade installation

Hello Dominik,

You cannot use the "Uninstall old version first and then install new version" option if the previous package is not MSI based.

A workaround would be to schedule a custom action that removes the previous version installation at the beginning of your main package and then install the new version.

The error is not related with Advanced Installer, here is a thread that debates the same issue, maybe it can also be of help.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dominik Czerwik
Posts: 2
Joined: Mon Feb 07, 2011 3:58 pm

Re: Merge modules problem during upgrade installation

Hi Mihai

Previous package is MSI as well, the only difference beetwen first version and second is app.exe

Regards,
Dominik
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Merge modules problem during upgrade installation

Hi Dominik,

The error you presented in the previous post seems to complain about the missing file, which I suppose it should be installed by your newest version of the setup.

Can you please create a verbose log while you install the new version and send it to support at advancedinstaller dot com? I suspect the upgrade is somehow changing the install state of the
component and the install skips it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MeadowT
Posts: 7
Joined: Thu May 23, 2013 12:17 am

Re: Merge modules problem during upgrade installation

I have had a similar error and the installer says cannot access ...Microsoft.VC80.OpenMP... folder. How do I resolve this?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Merge modules problem during upgrade installation

Hello,

I'm not sure why this happens? Can you please give us more details about your scenario (maybe exemplify)?

Also, in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

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

Return to “Common Problems”