Possible bug - Advanced Installer Community
jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Possible bug

Hi,

Long time no 'speak' product is just the job for our company.

I have come across a situation that may indicate a problem in the installation of a file. See below conversation with a colleague: -
8-<8-<8-<8-<8-<8-<8-<8-<8-<8-<
On investigation the files have changed for V4.0 of framework. These are in the main Config, Errlog, Utils dll’s.

There is a Custom Action that removes the WISE version if it exists or removes the CIM files installed as well as the registry entries when you verify that you want to install the package.

The files mentioned above then have three options to choose from under the Operations Tab in AI: -
Overwrite only if the existing file is older
Always overwrite existing file
Do not overwrite existing file

The first option was checked for these files. So, what I believe may be happening is that the Add Resources stage comes along and says ‘only overwrite the file if it is older’. The file is not there to check as we have already deleted it via the CA mentioned earlier. So instead of doing the overwrite if older logic this fails and the dll does not get installed at all (bug in AI?)

By changing the option to ‘Always overwrite’ it just writes the file regardless.
8-<8-<8-<8-<8-<8-<8-<8-<8-<8-<

Worth a check?

Regards,
John
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Possible bug

Hi John,

In this case, it is very useful to create the MSI installer log to gather more information about the installation process. There, we can see the state of each component, if it is sheduled to be installed or not.

So, in order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior. Also, can you please name some files which are not installed?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”