Topic: [REQ] ATI Tray Tools

I'm interesting in making a driver pack for ATI TRAY TOOLS:  http://www.guru3d.com/article/ati-tray-tools-/

Since this really isn't a driver, I'm not sure how to proceed.  I know the driverpacks have the ability to run installers like the ATI CCC.  What I'd like to do is make a 3rd party driver pack that would basically say, "If any ATI card in present, install ATI Tray Tools."  I already have a silent installer for it.

Can anyone either point me to any documentation on how to do this or provide some guidance?  Thanks.

Re: [REQ] ATI Tray Tools

Look in the docs folder of your DriverPacks BASE install 'DriverPack_reference_wnt5_x86-32.ini'. wink

also look at mr_smartepants work in the graphics packs. big_smile

As you said... it's just like the ATI control panel. Exactly like it, in fact...

Hint - DriverPack_Graphics_A_wnt5_x86-32.ini file

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

big_smile
Let me know if you run into problems.
This is an excellent learning experience for you, I don't want to spoil it by doing it for you.

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: [REQ] ATI Tray Tools

Once I figure it out I'll be really dangerous...

First attempt failed..trying again...  (I don't have a DPfnshr.log file...shouldn't I always have one?)

Re: [REQ] ATI Tray Tools

We like dangerous big_smile!

Yeah if the finisher runs you should have a %SytemRoot%\DPsFnshr.log. Perhaps the finisher did not run?

show / tell us what you tried? perhaps you are closer than you think wink.

I agree with Erik, I think you will enjoy this more if it is your own personal success!
But we are ready and eager to support you!

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

proximous - added this ini-section in the ATI DP:

exc_1_tagFiles    = 3
exc_1_tagFile1    = "%SystemDrive%\ATICCC.ins"
exc_1_tagFile2    = "%DPSROOT%\D\V\ATI\attsetup.exe"
exc_1_tagFile3    = "%SystemRoot%\system32\atidemgx.dll"
exc_1_+hwids    = 0
exc_1_-hwids    = 0
exc_1_+infFiles    = 2
exc_1_+infFile1    = "%DPSROOT%\D\V\ATI\CX_XXXXX.inf"
exc_1_+infFile2    = "%DPSROOT%\D\V\ATI\CX_XXXXX.inf"
exc_1_-infFiles    = 0
exc_1_commands    = 2
exc_1_command1  = "%DPSROOT%\D\V\ATI\attsetup.exe /s"
exc_1_command2  = "cmd.exe /c DEL /F /S /Q %DPSROOT%\D\V\ATI\attsetup.exe"

Worked on Windows 8.1 Pro

Re: [REQ] ATI Tray Tools

that looks about right...

I think perhaps he might have meant to do this

exc_1_tagFiles    = 3
exc_1_tagFile1    = "%SystemDrive%\ATICCC.ins"
exc_1_tagFile2    = "%DPSROOT%\D\V\ATI\attsetup.exe"
exc_1_tagFile3    = "%SystemRoot%\system32\atidemgx.dll"
exc_1_+hwids    = 0
exc_1_-hwids    = 0
exc_1_+infFiles    = 0
exc_1_-infFiles    = 0
exc_1_commands    = 1
exc_1_command1  = "%DPSROOT%\D\V\ATI\attsetup.exe /s"

You have a copy already??? (confused???)

Um the code posted above would likely fail.
There are no INFs in his 3rd party DriverPack just the exe? (I assume)
Unless he created one named CX_XXXXX.inf and included it in his 3rd party DriverPack folder himself this WILL fail. the +infFiles are probably not needed.
Unless you ONLY want this to install if the target machine has a HWID that can be found in a VALID .inf file found at "%DPSROOT%\D\V\ATI\" and named "CX_XXXXX.inf"
Note "CX_XXXXX.inf" is specific and "CX_?????.inf" is wildcard... smile
If I have assumed correctly that this file does not exist then this will ALWAYS fail.

Normaly 3rd party DriverPack are at "%DPSROOT%\D\3\~" but perhaps he did not follow the normal layout. wink

notes:
Tag Files;
do you really want it to ONLY install IF the ATI Catalyst Control Center is also installed?
I thought he wanted it to ALWAYS install?
If that is true you must remove the "%SystemDrive%\ATICCC.ins" tag

Obviously the setup.EXE itself must be a tag file wink.
(We can't very well run an installer that does not exist wink.)

and system32\atidemgx.dll is a good choice to determine if an ati card is installed big_smile.

the  exc_1_command2  which deletes the installer is probably not needed / redundant.
the finisher will delete all files and folders in "%DPSROOT%\D\*.*

Jeff

PS i am curious how you got a copy of Proximus 3rd party DriverPack already... ???

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

This is what i have so far in my file DriverPack_ATT_wnt5_x86-32.ini:

[DriverPack]
platform	      = "wnt5_x86-32"
name		      = "ATT"
rootDir		      = "D\3\ATT"
; OPTIONAL
; version 
classes		      = "3rd Party"
driverCount	      = 0
decompSize	      = 0
compSize	      = 0

[ATT]
; REQUIRED
exc_count         = 1
; OPTIONAL
exc_1_tagFiles	= 3
exc_1_tagFile1	= "%SystemDrive%\ATICCC.ins"
exc_1_tagFile2	= "%DPSROOT%\D\3\ATT\att_SFX.exe"
exc_1_tagFile3	= "%SystemRoot%\system32\atidemgx.dll"
exc_1_+hwids	= 0
exc_1_-hwids	= 0
exc_1_+infFiles	= 3
exc_1_+infFile1	= "%DPSROOT%\D\G\A5\CX_38185.inf"
exc_1_+infFile2	= "%DPSROOT%\D\G\A5\C2_38185.inf"
exc_1_+infFile3	= "%DPSROOT%\D\G\A5\mobility.inf"
exc_1_-infFiles	= 0
exc_1_commands	= 2
exc_1_command1	= "%DPSROOT%\D\3\ATT\att_SFX.exe"
exc_1_command2  = "cmd.exe /c DEL /F /S /Q %DPSROOT%\D\3\ATT\att_SFX.exe"

and this is what I get in my DPsFnshr.log:

2009-12-28 22:22:38 : <INIT> Found .ini file for DriverPack ATT! ("C:\DriverPack_ATT_wnt5_x86-32.ini")
2009-12-28 22:22:38 : <DBG>      $dp_exceptions = array(
2009-12-28 22:22:38 : <DBG>          [0] => ATT
2009-12-28 22:22:38 : <DBG>      )
2009-12-28 22:22:38 : <INIT>     Processing driver exceptions section [ATT].
2009-12-28 22:22:38 : <INIT>         Disabled this section because the directory "C:\D\3\ATT\ATT" did not exist.
2009-12-28 22:22:38 : <INIT>     No exceptions disabled for this DriverPack.
2009-12-28 22:22:38 : <INIT> Number of exceptions imported for this DriverPack: 0.
2009-12-28 22:22:38 : <INIT> Total number of exceptions: 0.
2009-12-28 22:22:38 : <DBG>  exceptions[0][0]: 0
2009-12-28 22:22:38 : <DBG>  exceptions[0][1]: 0

which leads me to conclude the problem is rootDir="D\3\ATT" needs to be rootDir="D\3".  I'm going to try again with that change.

The above is based on the ATI CCC code in GraphicsPack C for my video card.  I figured start safe with as minimal modifications to something "known good".  Seems like I can drop the infFiles to catch all ATI cards.  I guess I can drop the ATICCC.ins too since I want to install for CCC or CCP.  (But I only ever choose CCC, so it doesn't matter to me.)

As for the deletion...I'm just following the example in the GraphicsPack C...guess I can remove that line too.

New test starting now...will report back later...

Re: [REQ] ATI Tray Tools

yes... rootDir="D\3\ATT" needs to be rootDir="D\3"



you are on the right track... and seem to have acquired a basic understanding of the INI structure / functions.

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

Yes, Jeff is exactly right.  Change the rootdir and it'll work.  Great job BTW!  smile

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: [REQ] ATI Tray Tools

The above didn't work for me.  Turns out I was looking at the wrong CCC installer section for my adapater.  Apparently, some ATI cards have:

"atidemgx.dll" while others have "atidemgr.dll"  (notice the trailing X vs. trailing R)

I guess the solution is, if I want it to work for all ATI cards, I need to have this section twice, once with each version of the DLL.

Is it correct that there is no need for me to include the INF requirements?

Now I'm really dangerous... wink

Re: [REQ] ATI Tray Tools

try one line with "atidemg?.dll"

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

Ah...already did the two sections...I'll have to make an optimized version for the next time wink  Thanks for the tip.

Re: [REQ] ATI Tray Tools

Yes the inf requirements are optional...

Would you care to post your Pack to the 3rd party DriverPack forum here at DriverPacks when you think it is ready?
I bet lots of people will appreciate it!!!

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: [REQ] ATI Tray Tools

Absolutely, once I'm sure it works.  I'm only testing on one machine right now.  Once I'm convinced it works there, I'll try on at least one other ATI system and then post it.

Re: [REQ] ATI Tray Tools

I've used this now a bunch of times and it seems good, so I uploaded it to the 3rd party directory:
http://3rdpartydriverpacks.thesneaky.co … -32_912.7z

Clearly, it is very simple.  The switchless installer is not mine.  I downloaded it from ryanvm.net so credit to that goes to ELiTE over there: http://www.ryanvm.net/forum/viewtopic.php?t=7448

Re: [REQ] ATI Tray Tools

I'm just being a stickler for protocol here, but did you get permission to redistribute?
Credit where credit is due.
Good job though! big_smile

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: [REQ] ATI Tray Tools

Hum, I guess if you are saying the reference above is not good enough or violates protocol, then nope.  Are you saying I should get permission from the switchless installer maker or from the application maker?  ATI Tray Tools can be found at:

http://downloads.guru3d.com/download.php?det=733 or more directly from http://radeon.ru/downloads/att/

To help cut down on the involved parties, I deleted the prior pack and uploaded a new one:

http://3rdpartydriverpacks.thesneaky.co … 32_1001.7z
MD5: 1239fece5e73248b11beca48e37aabd3

This one uses the standard installer with the "/S" to make it silent.  So now, if you want to use a different version, you can simply replace the setup file with the newer/older version of you choice from the author's website (provided it too supports the "/S" switch).

I definitely want to do this the right way, so let me know.  If this still isn't right, I can upload the pack without the setup program, and we can leave it as an exercise to the user to add the setup program prior to use.

EDIT: Added MD5.

Last edited by proximous (2010-01-05 15:19:01)

Re: [REQ] ATI Tray Tools

Perfect! smile
I did the same thing before I released the runtimes Third Party DriverPack.  I contacted Yumeyao to get his permission to redistribute his work with the .NET installers before I released.  Using the installers direct from the source sidesteps this issue (a bit).

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!