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!

hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Features and components with modules

Hi,
  • My installer has 2 installation options (can choose only one). I would like the user to see only the option level. What will be the best practice to achieve such installer? I'm using setupType dialog
    1. Option 1
      a. feature 1
      b. feature 2
    2. Option 2
      a. feature 1
  • I'm using merge modules and each module is part of a feature. in each module I'm using synchronized application directory, when doing uninstall all directories aren't deleted. I've tried to use cleanup, but the main aip uses also synchronized directory that isn't including all directories
  • I have 2 modules that write to the same sub directories, and it looks like one of the modules files are missing
Thanks,
Hadas
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Features and components with modules

Hello Hadas,
My installer has 2 installation options (can choose only one). I would like the user to see only the option level. What will be the best practice to achieve such installer? I'm using setupType dialog
Option 1
a. feature 1
b. feature 2
Option 2
a. feature 1
In order to achieve this you can create your own custom feature selection dialog (using our "Dialog Editor" feature) to behave like you want.
I'm using merge modules and each module is part of a feature. in each module I'm using synchronized application directory, when doing uninstall all directories aren't deleted. I've tried to use cleanup, but the main aip uses also synchronized directory that isn't including all directories
I'm not sure why this happens. In order to have a better view of your scenario can you please try to isolate the behavior in a buildable sample and send it us to support at advancedinstaller dot comso we can test and investigate? Also, it would be really useful if you could iterate a detailed step by step test case scenario.
I have 2 modules that write to the same sub directories, and it looks like one of the modules files are missing
This may happen if your MSMs install files with the same filename at the same location. In this case the related file will be overwritten.

All the best,
Daniel


iterate
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Features and components with modules

Hi,

Thanks for your replay

I've created feature in the main aip for each Marge Module. I used complete and typical setup type in order to control which module is installed. Eache feature I configured Installed or not installed. The files from the modules are correct (if feature wan't inthe typical the files from the module are not installed) but custom action is being called for feature/module that is not selected
I used Typical and Complete setup type. part of the features are marked as not installed


Thanks
Hadas
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Features and components with modules

Hello Hadas,

Please keep in mind that all merge modules installation resources (including custom actions) are merged at build time with the main installation resources. Therefore, when a MSM is added into a main project, the MSM files components will be added under a specified feature and the MSM custom actions will be added to the main project custom actions list. However, if a MSM custom action doesn't have an installation condition it will be always launched no matter whether the MSM files components will be installed or not.

However, if you want a MSM custom action to be launched only when the MSM containing files are installed you can proceed like this:
- open your MSM project, go to "Custom Actions" page and select your custom action
- click on the [...] button which resides in the "Condition" field right side
- in the "Edit Condition" dialog double click on the "Component is being installed locally" predefined condition and select a file component from your MSM
- click on [OK] button from "Edit Condition" dialog and rebuild your projects

Let us know if you have any questions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”