Zsolt Kollarits
Posts: 342
Joined: Fri May 29, 2015 10:36 am

Question about feature based prerequisites

Dear Advanced Installer Support Team,

We have 2 feature based prerequisites (ODBC 13 driver) that requires admin permissions. /Screenshot 1/
You can see how the prerequisites look like in Organization tab /Screenshot 2/

Our questions is: how a non-admin customer can add the feature where the prerequisites belong to? I mean the scenario is that the user installs our product, then he goes to Control Panel/Programs and Features and tries to Modify (add/remove features) of our product. When he selects Replication from the list (screenshot 2) and tries to install that feature he will get an error that ODBC 13 could not be installed. Doing the same as an admin would work.


Could you recommend us something?

Best regards,
Zsolt
Attachments
screenshot 1.png
screenshot 1.png (4.98 KiB) Viewed 3093 times
screenshot 2.png
screenshot 2.png (95.01 KiB) Viewed 3093 times
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Question about feature based prerequisites

Hello Zsolt,

Unfortunately we are not aware of any possible solution for your scenario. There is no approach you could successfully roll a per-machine (or admin privileges required) installation under a standard user account.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 342
Joined: Fri May 29, 2015 10:36 am

Re: Question about feature based prerequisites

Hi Daniel,

We do accept the fact that if a prerequisite requires admin privileges and a non-admin users starts our setup exe, then of course our setup won´t be able to install the prerequisite properly due to lack of permissions. That´s clear.

But still it´d be good to customize/improve the message the user sees in the warning dialog. Currently we see the following text in a small warning dialog:
"Warning 4154. Microsoft ODBC Driver 13 x64 prerequisite was not correctly installed. Continue installation of <productname>?"

If our customers will see this message, they will immediately call our Support Desk and we will need to explain for everybody that this dialog pops up because the user is a non-admin user.

Do you have a suggestion to avoid this situation?

Best regards,
Zsolt
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Question about feature based prerequisites

Hello Zsolt,

The only way you could catch this scenario is through your own custom action. For instance you could create your own custom action to run on maintenance and display a warning message box when the maintenance installation is launched by a non-elevated user account and the prerequisite feature is selected for installation.

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

Return to “Common Problems”