Installing minifilter driver - 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!

rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

Installing minifilter driver

Our app is using the AI Enterprise version. We install a user-mode component, the updater, some miscellaneous help and text files, and a minifilter driver. Everything seems to be working perfectly now if the installation is done from an admin account. If it's done from a limited user account, it gets about halfway through and stops with an message saying the install needs to be done in an admin account (presumably because the DIFx copy of the minifilter driver isn't allowed in a limited account).

Two questions:

1) Is it possible when in a limited account for the installer to query the user for an admin account name & password & elevate its privileges to allow the driver installation?

2) When installing a minifilter driver, what is the correct "Installation Type" on the Install Parameters page?

Thanks for the help!

Rex Conn
JP Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

A driver installation requires administrator privileges. So the correct "Installation Type" you must have in the "Install Parameters" page is "Per-machine only (fails if user is not administrator)".

In the next version of AI the "Installation Type" will be automaticaly changed to "Per-machine only (fails if user is not administrator)" when a driver is added.

Regards,
Gigi
____________

Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

OK, thanks.

Is there a way to have the installation stop immediately if the user isn't an admin? Currently, it gets 3/4 of the way through and then stops.

Rex Conn
JP Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rex,

You can use a launch condition. In the "Prerequisites->Launch Conditions" page add an additional launch condition with (AdminUser) as condition.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”