.inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files, does
anyone know of a way to use a single .inf for different OSes when using the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers to
an install section, but I can’t figure a way to do it in a DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt

Matt,

I am not sure what your issue is. The same .INF file does work on
multiple OS versions. For example if you take the sfilter sample from
the IFSKit it will install on W2K, XP, and Srv03 all with the same .INF
file.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, June 30, 2004 2:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files,
does
anyone know of a way to use a single .inf for different OSes when using
the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers
to
an install section, but I can’t figure a way to do it in a
DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I
create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Neal,
I am wondering how you would handle the case where the binary is not
compatible between OS versions with a DefaultInstall section in a single
multi-OS .inf file. That is my main question.

Matt

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neal Christiansen
Sent: Thursday, July 01, 2004 10:51 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Matt,

I am not sure what your issue is. The same .INF file does work on multiple
OS versions. For example if you take the sfilter sample from the IFSKit it
will install on W2K, XP, and Srv03 all with the same .INF file.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, June 30, 2004 2:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files, does
anyone know of a way to use a single .inf for different OSes when using the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers to
an install section, but I can’t figure a way to do it in a DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com

I am going to make a couple of assumptions with my response.

  1. You have some sort of installation application that is driving your
    overall product install and you are using the .INF to install your
    filter

  2. This overall install knows what OS it is running on and picks the
    correct driver to be installed.

  3. I am assuming you use the same name for the different versions of
    your driver.

If all of this is true then you simply have your overall installer place
the desired driver in some temporary location and have the .INF file
install from that temporary location. Should just work.

If you are using different names for each binary I would recommend you
create different .INF files.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Thursday, July 01, 2004 9:05 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Neal,
I am wondering how you would handle the case where the binary is
not
compatible between OS versions with a DefaultInstall section in a single
multi-OS .inf file. That is my main question.

Matt

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neal
Christiansen
Sent: Thursday, July 01, 2004 10:51 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Matt,

I am not sure what your issue is. The same .INF file does work on
multiple
OS versions. For example if you take the sfilter sample from the IFSKit
it
will install on W2K, XP, and Srv03 all with the same .INF file.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, June 30, 2004 2:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files,
does
anyone know of a way to use a single .inf for different OSes when using
the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers
to
an install section, but I can’t figure a way to do it in a
DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I
create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To
unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@bitarmor.com To
unsubscribe
send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Neal,
Thanks for the response. Your assumptions are true except for the
naming thing- I have different names. I am just going to use different .inf
files like you suggested. The main thing I was curious about was the fact
that a manufacturer/model section seems to be able to “switch” if you will
on the OS (e.g. “NT.5.1” decoration) and refer to different install sections
depending on what OS you are running on. When using only the DefaultInstall
section, it seems you cannot do this; you can only “switch” based on
architectures (e.g. “.ia64” decoration). At least that is what I deduced
from the DDK docs. I have requirements that force me to use a
DefaultInstall section, but I still want the flexibility of differing
install sections based on the target OS; therefore I am simply using my
install app to determine what to install instead of the .inf file. Hope
that is clearer…

Matt

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neal Christiansen
Sent: Thursday, July 01, 2004 7:59 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

I am going to make a couple of assumptions with my response.

  1. You have some sort of installation application that is driving your
    overall product install and you are using the .INF to install your filter

  2. This overall install knows what OS it is running on and picks the correct
    driver to be installed.

  3. I am assuming you use the same name for the different versions of your
    driver.

If all of this is true then you simply have your overall installer place the
desired driver in some temporary location and have the .INF file install
from that temporary location. Should just work.

If you are using different names for each binary I would recommend you
create different .INF files.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Thursday, July 01, 2004 9:05 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Neal,
I am wondering how you would handle the case where the binary is not
compatible between OS versions with a DefaultInstall section in a single
multi-OS .inf file. That is my main question.

Matt

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neal Christiansen
Sent: Thursday, July 01, 2004 10:51 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Matt,

I am not sure what your issue is. The same .INF file does work on multiple
OS versions. For example if you take the sfilter sample from the IFSKit it
will install on W2K, XP, and Srv03 all with the same .INF file.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, June 30, 2004 2:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files, does
anyone know of a way to use a single .inf for different OSes when using the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers to
an install section, but I can’t figure a way to do it in a DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com

I have one addition to what Neal says below –

The INFs work across platforms, but the filter load order groups only
exist on XP and later. For that reason, we provide a different INF for
W2K for the Sfilter and FileSpy samples in the IFS Kit.

Molly Brown
Microsoft Corporation

This posting is provided “AS IS” with no warranties and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neal Christiansen
Sent: Thursday, July 01, 2004 7:51 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] .inf files, filter drivers, and OS versions

Matt,

I am not sure what your issue is. The same .INF file does work on
multiple OS versions. For example if you take the sfilter sample from
the IFSKit it will install on W2K, XP, and Srv03 all with the same .INF
file.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, June 30, 2004 2:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .inf files, filter drivers, and OS versions

Hi all,
In general with filter drivers and corresponding .inf files,
does
anyone know of a way to use a single .inf for different OSes when using
the
“DefaultInstall” Section of an .inf file? There is an obvious way to do
this with a manufacturer section using the NT.5.2 decoration that refers
to
an install section, but I can’t figure a way to do it in a
DefaultInstall,
as the only decorations seem to be for platforms, not OSes. Must I
create
separate .infs for different Oses when using DefaultInstall?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com