3

When using a legacy VB6 application and opening some specific forms inside that application, the Windows Installer belonging to Microsoft Navision (which is installed on the same machine) pops-up like in the attached image.

It happens every time, but on this machine only.

The VB6 application has absolutely no relation with Navision!

What can be done to avoid this anomalous interaction between the two applications?

enter image description here

Deanna
  • 23,876
  • 7
  • 71
  • 156
pvieira
  • 1,687
  • 6
  • 17
  • 32
  • Most likely a COM control (ActiveX/OCX) used by both applications has been installed twice in different locations on disk and been "registered twice" from the different locations. Hence there are interfering COM registry entries that each application will try to put back to its own state on each instantiation of the control (the control is instantiated as you open the relevant VB form). I have written at length about [**MSI self-repair debugging here**](https://stackoverflow.com/questions/5501028/how-can-i-determine-what-causes-repeated-windows-installer-self-repair/6066263#6066263) – Stein Åsmul Aug 16 '17 at 23:41

1 Answers1

5

This is down to a corrupt windows installer database and your app is using some component that Microsoft Dynamics tried to install. Your best bet is to remove and reinstall Microsoft Dynamics NAV, or use MSICUU to remove the "broken" package.

Update: MSICUU was retired in preference to the Program Install and Uninstall troubleshooter but I've not used this new utility.

Deanna
  • 23,876
  • 7
  • 71
  • 156
  • Agree, uninstall & reinstall. It is amazing how invasive the Windows Installer subsystem is, and how screwed up it can get sometimes. Instead of dll hell we have MSI hell. – tcarvin Nov 10 '11 at 12:40
  • 1
    A lot of these Installer issues can be attributed to developer or administrator errors though, just like DLL Hell. – Bob77 Nov 10 '11 at 16:05
  • @BobRiemersma Not much you can do if some other bad install clips your required files. Hard to code defensively against that! – tcarvin Nov 11 '11 at 17:39
  • That's where isolated assemblies can help. – Bob77 Nov 12 '11 at 13:09
  • tcarvin: self-heal should reinstall any files that have been 'clipped' – CJ7 Nov 25 '11 at 06:42