One file is not added to .MSI database - 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!

msamoila
Posts: 2
Joined: Thu Jun 28, 2007 5:48 am

One file is not added to .MSI database

How to reproduce the bug:
1. Open a "Simple" project.
2. Add 5 files in "Application folder"
3. Add 3 files in ProgramFiles\Common files
4. Save & compile.
5. Execute the resulted .MSI (from Windows Explorer)
6. One file from "Common files" was not installed.

Additional info:
Open .MSI with Orca editor. In 'Component' table the record for the file is missing.

In .AIP file there is a strange assicoation: the missing filename "DMProcDrv.sys" is associated with another component "DMBiosDrv.sys". DMBiosDrv.sys is properly installed.

<COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
<ROW File="DMBiosDrv.sys" Component_="DMBiosDrv.sys" FileName="DMBios~1.sys|DMBiosDrv.sys" Attributes="0" SourcePath="Files\DMBiosDrv.sys" SelfReg="false" Sequence="6"/>
<ROW File="DMProcDrv.sys" Component_="DMBiosDrv.sys" FileName="DMProc~1.sys|DMProcDrv.sys" Attributes="0" SourcePath="Files\DMProcDrv.sys" SelfReg="false" Sequence="8"/>
</COMPONENT>
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this behavior on my test computer. So in order to investigate the problem please sent a small test project (AIP and the generated MSI file) to support at advancedinstaller dot com.
In .AIP file there is a strange assicoation: the missing filename "DMProcDrv.sys" is associated with another component "DMBiosDrv.sys". DMBiosDrv.sys is properly installed.
This is not a strange behavior. Files of the same type and from the same folder are added by default to the same component except files like EXE, DLL, OCX which are added to individual components. There are some Windows Installer rules regarding this.

In the organization page you have the option to move resources to individual components by using the "Move to new Component" context menu option. The "Organization" page is not available in the "Simple" type of project.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
msamoila
Posts: 2
Joined: Thu Jun 28, 2007 5:48 am

It is not a bug. My mistake.

Hi,

Sorry about trouble.

It is not a bug. I did some mistakes.

Advanced installer and the generated .MSI file works properly.

Thanks for your support.

Return to “Common Problems”