Announcement

Collapse
No announcement yet.

How to "Install" .inf files from setup factory

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to "Install" .inf files from setup factory

    I need to distribute different printer drivers for different operating system versions. Drivers are prodived with .inf setupfiles that I must copy to the computer and run.

    How can I install .inf file after I copied it into temporary directory. Assosiation in my win98 machine is following, but in NT4 it complitely different.
    "c:\windows\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132"

    Regards
    Janne Timmerbacka

  • #2
    Re: How to "Install" .inf files from setup factory

    Hi,

    Using Setup Factory 6.0 use an OPEN DOCUMENT action, point it to your INF file, and type "Install" (no quotes) in the Verb field.

    This should work on all Operating Systems but test it to make sure.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: How to "Install" .inf files from setup factory

      Thank you Mark! Unfortunately I cannot use setupfactory 6 just yet, so is there any way to do it in SetupFactory 5.x?

      Originally posted by Mark:
      Hi,

      Using Setup Factory 6.0 use an OPEN DOCUMENT action, point it to your INF file, and type "Install" (no quotes) in the Verb field.

      This should work on all Operating Systems but test it to make sure.

      mark.

      Comment


      • #4
        Re: How to "Install" .inf files from setup factory

        Hi,

        I do not think that this is possible using Setup Factory 5.0. You might try using an EXECUTE PROGRAM Shell Command, and see if that works.

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          Re: How to "Install" .inf files from setup factory

          To clarify a bit:

          You could try passing the .inf file as an argument to the rundll.exe program with the options from the file association that you listed.

          For example, if you wanted to install the "C:\temp\foo.inf" file on your Win98 system, you would use:

          "c:\windows\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132" "C:\temp\foo.inf"

          Set up multiple Execute Program shell commands -- one for each different file association (i.e., one for each OS) -- and use the Conditions tab to limit each command to only run on the appropriate OS.
          --[[ Indigo Rose Software Developer ]]

          Comment


          • #6
            Re: How to "Install" .inf files from setup factory

            Thank you all

            This is what I did, but when I run into troubles with NT I wanted to make sure that I'm not doing this in a hard way.

            I'll continue searching microsoft site to find out how rundll is used in different operating systems.

            Originally posted by Lorne:
            To clarify a bit:
            Set up multiple Execute Program shell commands -- one for each different file association (i.e., one for each OS) -- and use the Conditions tab to limit each command to only run on the appropriate OS.

            Comment

            Working...
            X