Features and Components issue - 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!

ci3
Posts: 16
Joined: Tue Jul 21, 2009 9:30 pm

Features and Components issue

Have an install with 3 programs it can install as separate features.

There are 4 total Features:
Core: set to always installs (contacts some dll’s)
Feature1: set to "installed by default" (contains the particular exe and shortcuts)
Feature2: set to "not installed by default" (contains the particular exe and shortcuts)
Feature3: set to "not installed by default" (contains the particular exe and shortcuts)

The install looks correct and if I tell it to do a full install it installs everything fine. However if I remove one feature during the install the install fails and it give me a message like this:

Title: "Installer Information"
Icon: Yellow Triangle with "!"
Message: "The File 'Feature2.exe' is not marked for installation."

Then the install fails.
Any ideas?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Features and Components issue

Hello,

This is happening because you may have a custom action that refers to your Feature2.exe application and if that application is not installed, then your custom action may cause the error in Windows Installer.
If this is not the case, can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ci3
Posts: 16
Joined: Tue Jul 21, 2009 9:30 pm

Re: Features and Components issue

You were right on the money. I forgot all about the custom action that would run on each of the exes. I made it not run the action if the component wasn't installed and this took care of the issue.

Thank you!

Return to “Common Problems”