DirectX 9.0c

Got a problem you cannot solve? Try here.
rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

DirectX 9.0c

Postby rkaine » Fri Mar 10, 2006 5:15 pm

I have an application that requires DirectX 9.0c and I want to know if it is possible to use the existing checkdx9b/setupdx9b with some modification and if not what is the best approach.

I tried this...

{checkdx9 script}
Set Variable DIRECTX9 to TRUE
Check Registry Key HKLM\\Software\\Microsoft\\DirectX\\Version into DXVERSION
if Variable DXVersion not Greater Than 4.09.00.0905
Set Variable DIRECTX9 to FALSE
Set Variable PREREQ to TRUE
Set Variable PRELIST to $PRELIST$$NEWLINE$DirectX 9.0c Runtime
end

{setupdx9 script}
if Variable DIRECTX9 Equals FALSE
Set Variable PROGRESSTEXT to Installing DirectX 9.0c Runtime files
Install Files D:\\My Documents\\My Downloads\\dxsdk_feb2006.exe to $TEMPDIR$
Run Program $TEMPDIR$\\dxsdk_feb2006.exe
Delete Files $TEMPDIR$\\dxdsk_feb2006.exe
end

When it gets to Install Files... it crashes...

Runtime error in setup script:
Line 149: Unable to obtain command headers. Please rebuild your project.

And yes I've rebuilt my project :?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Mar 10, 2006 5:23 pm

Could you post the scripts you modified here as attachments, and I'll see what I can dig up for you!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Fri Mar 10, 2006 5:29 pm

Both scripts...

File Attached:

directx90c_scripts.zip

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Fri Mar 10, 2006 5:44 pm

I'm new to InstallAware so bear with me, I may be asking numerous 'silly' questions.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Mar 10, 2006 6:50 pm

I checked the scripts you sent...they are both empty.
I also added an Install Files command to the scripts, but was unable to reproduce the error you described. If you have a step-by-step way to create this error, it'd be great.

Finally, what you can do is use Bundle Files instead of Install Files. Bundle Files is immediate and you can directly run the files, without having to wait for Apply Install!
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Fri Mar 10, 2006 9:27 pm

I don't even see Bundle Files as any kind of option, and when I search Help it doesnt show up there either?

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Fri Mar 10, 2006 9:33 pm

Screenshots...

File Attached:

scripts.zip

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Mar 10, 2006 10:10 pm

Bundle Files is available as a free plug-in from the Plug-Ins section of this forum. You should use Bundle Files instead of Install Files...Install Files is not "immediate" and executes much further down, where Apply Install is called.

All purple commands in your script are Windows Installer commands. Think of them as being "cached" while the script is running, and think of Apply Install as "flushing" that cache...hope this helps clear the confusion!

Usually Support Files (called Creatives in the visual view) are recommended for temporary setup files, but in this instance, since the files are rather large, Bundle Files is recommended.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Sat Mar 11, 2006 10:40 am

Did you look at my screenshots of my scripts. Will this approach work using the "Bundle Files" plug-in...

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sat Mar 11, 2006 12:05 pm

I did look at your scripts. In your scripts I saw that you are using Install Files and that is why I am recommending Bundle Files instead. You can take a look at the Runtime Update Pack in the Plug-Ins forum. It shows how to add custom runtimes and installs a few custom runtimes that use the Bundle Files Plug-In, as well as Bundle Files itself. So it would be well worth your while to look at them as they are examples of what you are trying to do.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Mon Mar 13, 2006 9:50 am

Ok I downloaded and ran the Update Pack which was also helpful because my application requires CrystalRepots for .NET 2.0...

When I try the bundle files plug-in I get an error about a manifest file?

I attached a screenshot showing how I am implementing the bundle files and the resulting error.

Thanks for your patience.

Bob

File Attached:

bundle_err.JPG

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Mar 13, 2006 4:49 pm

That's an interesting error! Maybe the plug-in author can help.
Also, we have an update (5.3) which ships tomorrow. You may want to wait until then, the update includes a File Bag plug-in, which is sort of an improved Bundle Files.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Mon Mar 13, 2006 4:56 pm

It wouldnt happen to have the 9.0c directx too would it :D

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Mar 13, 2006 5:09 pm

No - but you can easily add it in with the new File Bag plug-in.

The reason we don't have native DX9c support is because its not recompressible by the setup recompressor, so you can add it directly using File Bag.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 179 guests