Can't update due to 'Disallowing installation of component' - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hzhujf
Posts: 5
Joined: Mon May 21, 2007 7:18 pm

Can't update due to 'Disallowing installation of component'

Hi!

I am new to AI and use the AI 4.9.2.

When my application is downloading the update patch (.msi) and execute it, I got the message:'Disallowing installation of component:{6F5FEB40-7009-422F-AF30-0AD31D24B4F9} since the same component with higher versioned keyfile exists'.
Here I describe my application's install sequence:
1.After copy files,I regist an ODBC datasource named 'OCEngine' and the related db file is wxoc.mdb
2.Then I registed an Service named 'OCServer' which connected to 'OCEngine' (the service is set to auto start),this service will operate the wxoc.mdb files.

I made the update package of .msi. (through change the application version).If it runs as the first time install,everything is OK. But in update procedure,the installation will encount the above error,and the UI is shown that 'Starting service...'.I debug the run sequence then found the error occured due to the wxoc.mdb not copy to the install directory!! ( If I install the old application ,then uninstall the old application by add/remove method, and then install the new version application,everything is OK)

Does everyone encount the similar problem? Can anybody help me? If u can get some suggestion ,I will appreciate !
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You are affected by an Windows Installer bug. The bug manifests on upgrade if the version of a file is not changed (increased). The file is removed on uninstall and Windows Installer thinks that the file was not modified (version not changed) and it's not copied back.

To avoid this bug switch to "Files and Folders" page and select the file (key path for the component in question). In the "Edit File" dialog, "Version" tab use "Overwrite with this" option and type 65535.65535.65535.65535. This field refers to the "Version" column from "File" table not to the real file version.

wxoc.mdb file is affected because is part of this component.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
hzhujf
Posts: 5
Joined: Mon May 21, 2007 7:18 pm

:D :D :D :D

Hi,gigi!

Thank u very very much!

I change the file version according to your suggestion,and the upgrade is done OK!
jsherouse
Posts: 2
Joined: Fri Jun 29, 2007 6:02 pm

Having the same issue in WISE, info below..
Last edited by jsherouse on Fri Jun 29, 2007 6:13 pm, edited 1 time in total.
jsherouse
Posts: 2
Joined: Fri Jun 29, 2007 6:02 pm

Hi there,
Any idea how to fix this bug on WISE? I am currently experiencing the same issue with a font file as the key path to my component. The component doesn't seem to install and does a self repair whenever I launch the app. Here is my log entries:

MSI (s) (7C:2C) [09:45:05:900]: Disallowing installation of component: {6C9A6B56-A6B2-43BC-B62E-FE257D3F44D5} since the same component with higher versioned keyfile exists

Thanks,
John
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is support only for Advanced Installer. You should address this question on the WISE support.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”