wix - Preventing uninstallation of DIFxApp-installed drivers -


i’m creating installer software application interfaces hardware device. hardware device uses ftdi usb serial interface. need install ftdi usb drivers (if user doesn’t have them) along software, , i’m using wix , difxapp extension accomplish this.

so far, good. works fine. have separate msi packages software , 32-bit , 64-bit flavors of drivers, , i’m using burn bundle them single installer. driver msi packages deploy driver files subdirectory of application installation folder, , difxapp installs drivers appropriate system locations there. (which seems silly – they’re used during install; why keep them hanging around after that? a copy kept in system driver store, after all. preferable extract them temporary folder, install drivers, , clean them up. evidently, that’s way difxapp works.)

but ftdi chipset used lot of different devices, , user own other devices require ftdi drivers. in testing, have found difxapp uninstalls drivers when software uninstalled. undesirable, because break other ftdi-based devices user owns, requiring user reinstall drivers devices working again.

i difxapp leave drivers installed on user’s system when software uninstalled removal of software not affect user's other devices.

i could setting permanent attribute on msipackage or component installs drivers, prevent driver files deployed subdirectory of application installation folder being cleaned up. want removed along application; don’t want driver removed system driver store, etc.

it looks accomplish want installing drivers dpinst custom action. , looks dpinst approach support installing drivers temporary folder , not require driver files hang around in application folder eternity. seem pragmatic solution, evidently dpinst discouraged in favor of difxapp in msi-based installers.

what “right” way handle this?


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -