PDA

View Full Version : DLL will not install on a Major Upgrade



Nick Umanski
09-10-2013, 11:18 AM
I am installing a DLL that used to be built with VC6, but has recently (yesterday) been converted to a VS2010 project. If I do a fresh install everything is fine. However, if I do an upgrade of the last customer release, the DLL does not install, until I do a repair of the installation. After the repair everything appears to work fine.

Major Upgrade scenario, set to completely uninstall old setup first.

If I build the DLL with VC6 and use that, everything works fine too.

The component GUIDs are the same across both installers. There are no conditions on the component, but the log file indicates it has been conditioned out, without giving a reason ie:

pcicapi.DLL; Installed: Absent; Request: Local; Action: Null

The new version of the DLL has an additional dependency on MSVCR100.dll, but even with that pre installed on the machine, my DLL will not install (until the repair). The dll does not require any sort of registration, just needs to be dumped into the INSTALLDIR, but it just doesn't happen.

Tested on Win7 and WinXP SP3, same result.

Any ideas? Thanks in advance.

Cygnusx1
09-24-2013, 07:50 AM
Check out the file versioning rules.