Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


How to install a file system driver?

yu_shangyu_shang Member Posts: 39

I'm a newbie for fs driver.
I have followed the steps in this doc to create the inf file. But this file lacks the hardware ids which is required when install with devcon. So what is the right way to install a fs driver. Many thanks!

Comments

  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,224

    I usually do a right click install from explorer.
    For production I use wix (although AIUI that relies on a DifX which has been deprecated - although no one has yet told us what the correct technology to use is)

    At least one open source project that I am aware of uses wix and an appropriate rundll command..

    Others will have more details I am sure, but that should get you going.

  • yu_shangyu_shang Member Posts: 39

    @rod_widdowson said:
    I usually do a right click install from explorer.

    Thanks , I'll try it.

  • Bo_BranténBo_Brantén Member Posts: 104

    As far as I understand there is one open source fs that installs as a volume filter (and has the appropriate support, has AddDevice) What do you think of this setup? The advantage is that it is something that formally fits in to the driver model so that it can be installed with an "real" INF that follows all the rules in the documentation!

  • Scott_Noone_(OSR)Scott_Noone_(OSR) Administrator Posts: 3,494

    File systems are just kernel services, there's no FDO/PDO/devnode, etc. An NTv4 style INF installed with InstallHInfSection is perfectly reasonable.

    -scott
    OSR

  • yu_shangyu_shang Member Posts: 39

    thank you. Right click just work for me!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 12 September 2022 Live, Online
Internals & Software Drivers 23 October 2022 Live, Online
Kernel Debugging 14 November 2022 Live, Online
Developing Minifilters 5 December 2022 Live, Online