CRITICAL BUG: Features (!) - 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!

waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

CRITICAL BUG: Features (!)

Hello Cosmin.
I think I found a CRITICAL problem with features.

Steps to reproduce:

1. Create a project with several features
2. Insert SetypeTypeDlg in the Dialogs sequence
3. Run the the installer
4. Choose "Custom" setup type
5. Select a DIFFERENT location from the default destination path.
6. Choose NOT to install first feature
7. Complete installation
8. Run the installer again in the Maintenance mode
9. Choose "Modify"
10. Select second feature (first one is not installed). You see that path magically appeared (already a BUG!!!) and look at it - it a DEFAULT ONE!!!!
Now... You may choose to select the first feature which will be installed to the default path, though the other path is expected and there is no way to change it! There could be some other problems related to it that I didn't test.

Kind regards,
Alex
waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Re: CRITICAL BUG: Features (!)

Hello guys,

Do you confirm the metnioned issue as a problem? Are there any suggestions or workarounds for now?

Thank you,
Alexei
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: CRITICAL BUG: Features (!)

Hi Alexei,

Unfortunately this is a Windows Installer bug and it is usually encountered when there are no files installed directly in "Application Folder", but it has subfolders.
I noticed that this is the case for the test project you sent. Is your real project configured the same way?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Re: CRITICAL BUG: Features (!)

Hi Cosmin,

This is exactly my case... You see our deployment has a "plug-in" scenario. We don't distribute files directly into the application root.
What would be you recommendation in this case? Insert a dummy file (hidden probably) under Application Folder for each of the features?

I much appreciate your help,
Alex
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: CRITICAL BUG: Features (!)

Hi,

Yes, you can try adding a dummy file in application folder. This way the package will use a component for the file, not for the empty folder.
The component of the file can be conditioned in the "Organization" page to make sure that it is not installed (for example, you can use the condition "1=2").

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Re: CRITICAL BUG: Features (!)

Ok, but which Feature should this dummy file belong to? Or do I need to create dummy files for each of the Features in the Application root folder?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: CRITICAL BUG: Features (!)

Hi,

I shouldn't matter which feature contains the file. The bug seems to related to the component used for "Application Folder". You can try sharing the component between multiple features if you want to be sure it works (drag the component over another feature while the SHIFT key is pressed).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Re: CRITICAL BUG: Features (!)

Hi guys,
The workaround works! The only note is that the component needs to belong to ALL features, otherwise that particular feature will be effected by that bug.

Thank you for the great support!

Return to “Common Problems”