Shania
Posts: 17
Joined: Thu Apr 25, 2013 12:10 pm

How to install a driver depending on the feature.

Hello! Help me please.

Why my driver is always install? While the INF file is in feature, which I did not install.
How to install my driver only together with a feature? Otherwise do not install.

Thanks.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to install a driver depending on the feature.

Hello,

Thank you for joining Advanced Installer forum.

Once you add a file to the project, Advanced Installer will create for you a feature. You can go in the Organization page to see the feature that contains your .inf file. If that feature will not be installed all the files contained by it won't be installed at all.

If you still have this issue please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shania
Posts: 17
Joined: Thu Apr 25, 2013 12:10 pm

Re: How to install a driver depending on the feature.

Thank you very much.
I am doing as you write, but if the feature1 selected "Not installed by default" - does not install the driver never. Even if the feature1 is enabled when you install msi.
Vice Versa. if the feature1 selected "Installed by default" - my driver is always install. Even if the feature1 is disabled when you install msi.
Attachments
feature1
feature1
2.jpg (87.56 KiB) Viewed 23487 times
drivers
drivers
1.jpg (187.01 KiB) Viewed 23487 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to install a driver depending on the feature.

Hello,

In the Installation Settings, the default value is: "Install the feature locally" not: "Run feature from installation source". Try this option and if you still have have an issue use the option " Use parent feature installation settings". If the problem still exists, please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shania
Posts: 17
Joined: Thu Apr 25, 2013 12:10 pm

Re: How to install a driver depending on the feature.

Thank you very much, Dan.
The option " Use parent feature installation settings" + the option "Always install this feature." gave the desired result. :D
Although it seems to me that it's not very logical.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to install a driver depending on the feature.

You're welcome.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”