Jump to content

DirectX 9.0b Switches


Alphaz

Recommended Posts


here are the Command Line Options for the NEW Direct X 9.0b redist package.

I downloaded it today and recovered the switches with this command line switch

c:>dx90update_redist /?

the reply was

/Q -- Quiet modes for package,

/T:<full path> -- Specifies temporary working folder,

/C -- Extract files only to the folder when used also with /T.

/C:<cmd> -- Override Install Command defined by author.

Which are basically the same for a TYPE 2 package.

So i'd try "/Q:A /R:N" for the switches in your .inf file

Link to comment
Share on other sites

  • 2 weeks later...

Hi!

I am approaching the "Unattended World"...

I found out on some sites that, starting with DirectX9, no switches are available.

Not having access to the OEM part of Microsoft Site, the alternative seems to be using DXSetup() Api.

I managed to write this very very very simple and no-error-checking utility, which uses this api.

I post the source code for public knowledge, hoping it might help:

--------

remember to #include "dsetup.h" and to use dsetup.lib

--------

DWORD dwFlags;

int err;

dwFlags = DSETUP_DIRECTX;

err = DirectXSetup(NULL, NULL, dwFlags);

// do error checking and report to the user

return 0;

--------

This snippet alone is able to start and complete DX9 Setup.

DX Files must be in the same folder of the compiled exe (see MSDN doc)

Bye everyone!! :)

--

Davide DG

IT Administrator

davidedg@libero.it

Link to comment
Share on other sites

just because you can't access the OEM microsoft site, doesn't mean you can't get a hold of the DirectX9 OPK file!

I can't access the microsoft oem site and I have a copy

Actually, MSFN host it! This is where I got it from...

And now, I host it too!

Grab it off me from HERE

You don't need a single switch for this to silent install... just run it :)

Link to comment
Share on other sites

Thanks... but I think it's quite useless to me :rolleyes:

I can't use material I cannot own (I am preparing unattended installs for a company, and we can't use it for legal issues).

Then how about different locale versions ? I need to install italian version of DirectX9... does the OPK version address non-US versions, too?

Anyway, I will be using the DirectXSetup() api... I include the compiled exe (20KB) and run without any params. :D

Bye :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...