DirectX9 in a distributed app

hog

Well-known member
Joined
Mar 17, 2003
Messages
984
Location
UK
I have created a DX9 demo app and have create the setup app to go with it. If I install and run the ap on my laptop it works fine.

If I install it on my sons laptop it says an exception occured and the app does not start.

Is there some special steps I need to take to ensure a correct setup app is produced?

Or does the target PC require the user to already have DX9 installed?

If the later could my setup app automate it?
 
Just 2 days ago I had the exact same exception problem when I tried to run my app without having managed DirectX 9.0b installed.

After that frustration, I spent time and figured out the easiest way to get a runtime machine working, so the other members of my team (artist, tester, etc.) could get up-and-running ASAP. Ive pasted that at the bottom of this post.


As for your question about including a DirectX 9.0b installer, this text (on the DirectX 9.0b redistributable download page) should answer your question.
---------------------------------
DirectX 9.0b has a silent install (no UI, and no reboot) which is available to Microsoft Volume License Customers (VLC) on the following Microsoft Volume License Site (MVLS). This is a Multi-lingual package which does not require an internet connection during installation.

The VLC will have to go through a registration process to get access to the Downloads and their agreement info. After the VLC initially signed their agreement, the Notices or Primary on the agreement would have received an MVLS invitation e-mail, which includes a unique Registration ID, which they should have used to gain access to their agreements. If they didn
 
Mmm, confused now?

As for your question about including a DirectX 9.0b installer, this text (on the DirectX 9.0b redistributable download page) should answer your question.

This is for MVLC I believe, not for lil ole me programming on me own:(

I have the DX9 SDK install which apparently come complete with distributable? What I need to know is how to get it include in my setup app?

Thanks for you help so far, can you help further? :)
 
Well, it is for MVLCs, but are you sure that lil ol you arent able to participate?

I honestly dont know because I havent researched above and beyond that big post above, but my understanding is that becoming a VLC is an automated process, and the process is simply intended to make you agree to their licensing terms before letting you redistribute their stuff. The text from that page seems to reinforce that.

Anyway, youre sort of in uncharted territory, at least as far as Im concerned, but I would encourage you to follow those instructions to sign up to be an VLC, and see what happens. The worst thatll happen is that youll hit a roadblock of some sort and be able to tell the rest of us about your experience. ;-)

Of course, if anyone else knows, Im sure everyone would appreciate them sharing. =)

Good luck, and please follow-up here letting us know what happens. In a few months, Ill be faced with the exact same problem.

-Hiro_Antagonist
 
Road block!!!

I registered for the MVLC but came unstuck whilst trying to following;

1. Login to the site (https://licensing.microsoft.com )
2. Click downloads in the left nav menu (You must have agreements in their view to see this link)
3. Choose
 
Aha...duh...doh:)

The SDK has the redist files. I ran that then recompiled my app and it works:)
 
Back
Top