Problem installin INF file on Windows Vista

  • Thread starter Riccardo Castagna
  • Start date
R

Riccardo Castagna

Hi all,
I have a custom internal application which needs to install an .inf file.
When I attempted to install this .inf file on Windows Vista by right
clicking and
selecting Install, I received the error message "The INF file you selected
does not support this method of installation".

I write below the code for our inf file:

"[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
outlctlx.dll=outlctlx.dll

[outlctlx.dll]
file-win32-x86=thiscab
clsid={0006F063-0000-0000-C000-000000000046}
FileVersion=9,0,0,3203
RegisterServer=yes"


Can Anyone help me?

Thanks in advance,
Riccardo Castagna
 
B

Bob

Try this: Open an Administrator Command prompt and type or copy and paste:

C:\> rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall
128.\<filename>.inf
 
Z

zachd [MSFT]

You're using the fairly rare ActiveX code install INF syntax in this INF.
When you right-click install, that goes to the setupapi INF install engine,
which is not the correct methodology. Your INF syntax is intended to be the
best of my knowledge solely for ActiveX control install via the codebase
attribute of the Object tag.

Note that "AdvancedINF" value? That indicates that it's not a
standard/setupapi INF and should not be used in such fashion.

Bob may be spot on here - but since you're using an ActiveX INF syntax, it
likely would not work since his suggestion I think will key off of the
DefaultInstall section (which doesn't exist) and likely will not failover to
the Code Install INF syntax.

I'm not sure what you're doing here. I would strongly suggest rewriting the
INF to use a standard package-on-disk INF syntax as opposed to the
install-from-the-web syntax you are using. You did say that *you* wrote the
code for your INF file. If you want to test it as a CAB install, use it in
the CAB and attempt to install it that way. If you want to run it from
disk, rewrite the INF to not use CAB-based syntax. =)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top