Jump to content

INf install for graphic mode how to


Recommended Posts

OK this is a quick how to for inf files.

Guys it's pretty easy the inf file just puts a bunch of registry settings into runonce and then executes it.

If you can hack the ole registry this is more or less the same. As for the rest of the file leave it alone.

Ok here is a inf file I use from the cmdlines.txt to install non critical micrsoft updates. This would include dx9, .net ftramework, Movie maker 2.0, Sun Java 2, and a few of my driver things. (Note the driver stuff has not been fully tested yet but should work just fine).

Here is the cmdlines.txt wich you place under

$OEM$

so it should be

$OEM$\cmdlines.txt

[COMMANDS]
"RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 .\Setup.inf"

that will run the first inf file and it will run durring the graphical mode of setup.

this is placed right next to cmdlines.txt so it should be

$OEM$\setup.inf

;
; Version 2.0
; Copyright  : © 2000,2001,2002,2003
; by Brook Humphrey (bah@webmedic.net)
; for Mobile PC Medic OEM systems
;

[version]
signature = "$CHICAGO$"
Compatible = 1
AdvancedINF = 2.5,"You need a newer version of AdvPack.DLL!"
LayoutFile = layout.inf, layout1.inf, layout2.inf


[DefaultInstall]
AddReg  = AdvSetup

[AdvSetup]
HKLM,%RunOnce%setup," Install XP by Brook Humphrey",0,""
HKLM,%RunOnce%setup,"   © 2000, 2001, 2002, 2003",0,""
HKLM,%RunOnce%setup,"      www.webmedic.net",0,""
HKLM,%RunOnce%setup,"______________________________",0,""
HKLM,%RunOnce%setup," ",0,""
HKLM,%RunOnce%setup,"User settings",                    0,  "%systemdrive%\\install\\system\\user.cmd"
HKLM,%RunOnce%setup,"DirectX 9.0b",                     0,  "%systemdrive%\\install\\system\\DirectX9\\dxsetup.exe /opk"
HKLM,%RunOnce%setup,"Movie Maker 2.0",                  0,  "cmd.exe /c msiexec /qn /i %systemdrive%\\install\\system\\MovieMaker\\mm20.msi"
HKLM,%RunOnce%setup,"Task Switcher Powertoy",        0, "%systemdrive%\\install\\system\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"
HKLM,%RunOnce%setup,".NET Framework v1.1",             0,  "cmd.exe /c msiexec /qn /i %systemdrive%\\install\\system\\NetFramework\\netfx.msi"
HKLM,%RunOnce%setup,"ATI Control Panel for Catalyst 3.7",0, "%systemdrive%\\drivers\\ATI_cat3_7\\cpanel\\ATI.cmd"
HKLM,%RunOnce%setup,"Nforce Audio Controle Panle",     0, "%systemdrive%\\drivers\\nforce\\AudioUtl\\audioutl.cmd"
HKLM,%RunOnce%setup,"Startup Control Panel v2.8...",    0, "RunDll32.exe advpack.dll,LaunchINFSection %systemdrive%\\install\\system\\StartupCPL\\startup.inf,DefaultInstall"
HKLM,%RunOnce%setup,"Sun Java VM 1.4.1",              0,  "%systemdrive%\\install\\system\\SunJava_1_4_1\\java.cmd"
HKLM,%RunOnce%setup,"Final Setup",                      0,  "%systemdrive%\\install\\system\\setup.cmd"


[Del.AdvSetup]
HKLM,%RunOnce%setup,"Installing Shell Toy",0,""

[Strings]
systemdrive = "c:"
Product     = "Shell Toy XP"
DiskName    = "Shell Toy XP, Setup Disk #1"
Uninstall   = "Software\Microsoft\Windows\CurrentVersion\Uninstall\"
Runonce     = "SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\"
Setup       = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"
DosHere     = "DOS PROMPT HERE"
Edi         = "01,00,00,00"
SubDir      = "WINDOWS"
EXPLO       = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
OnlineLong  = "Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
NAME_RUNONCE= "MPCM Settings"
w95u1       = "rundll.exe setupx.dll,InstallHinfSection"
wNTu1       = "RunDll32 syssetup.dll,SetupInfObjectInstallAction"
wu2         = "DefaultUninstall 132"
AppDir      =
AppGroup    =
AppName     = "My Application"
CopyrightMessage = "Copyright (c) 2003. All rights reserved. My Company. www.pablovandermeer.nl."
TweakUILink = "c:\\install\\PowerToys\\TweakUI.lnk"
TweakUILinkDest = "c:\\Documents and Settings\\All Users\\Start Menu\\Programs\\"

That should be enough to get you guys started. IN a few palces in there I still call cmd batch files to do some of the grunt work. I found this was needed for any application that uses install shield to install with.

Now for my user.cmd this setups up my user account so at the first login you login as the user you want to login as. I didn't like the way at the head of muy install folder it was getting a bunch of files in it so I put all hte batch files and installer stuff including hot fixes and whatnot unser

$OEM$\$1\install\system\

This is were I also placed everything that I install in the inf file above it makes my install folder look much cleaner. SO you should have.

$OEM$\$1\install\system\ user.cmd

cmdow @ /hid
CLS
@ECHO OFF
ECHO Adding Default User...
net user User /add
net localgroup "administrators" User /add

ECHO.
ECHO Applying Root Registry Tweaks...
REGEDIT /S %systemdrive%\install\system\Reg_Root_Tweaks.reg
ECHO.
EXIT

NOTE: cmdow is a little app i use to hide these windows so they dont look all ugly. Just search on google for cmdow and you will find it. For me I placed this file under

$OEM$\$$\system32

that way it is available very easy to all my batch files.

Now the next part is Reg_Root_tweaks.reg. This is also under install\system. I use this file to set any of the default that I want to be used by all users on my system. For the most it should have anry registry setting that you use that are not hkey_current_user. Everything else should be in here.

Windows Registry Editor Version 5.00


;This will add "Services" to the right-click menu of "My Computer"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00

;This adds the "Open Command Window Here" on the right-click menu for folders
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

;Disable Windows Picture and Fax Viewer
[-HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000

;Disable Imapi CD-Burning Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000004

;Disable Messenger Service (to block spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

;Disable Windows Time Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

;Disable Welcome Screen and uses Classic Logon
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
;"LogonType"=dword:00000000

;Removes Language Bar
[-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}]
@="Language bar"
"MenuTextPUI"="@%SystemRoot%\\System32\\msutb.dll,-325"

;Remove Shared Documents from My Computer
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

;Remove Shortcut Arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

;Allow renaming of Recycle Bin
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20
"CallForAttributes"=dword:00000000

;Speed up browsing remote computers
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]

;Speed up NTFS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000001
"Win31FileSystem"=dword:00000000
"Win95TruncatedExtensions"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001

;Always unload Dlls
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"AlwaysUnloadDll"=dword:00000001
"NoStartMenuPinnedList"=dword:00000001

;RAM usage tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001
"IoPageLockLimit"=dword:1bf00000
"SecondLevelDataCache"=dword:00000100

;Prefetcher tweak(faster booting)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000003

;Changes Windows Driver Signing Policy 'prompt' to 'ignore'
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]
"Policy"=hex:00

;Disable Nvidia Driver Helper Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NVSvc]
"Start"=dword:00000004

;Disable System Restore
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
;"DisableSR"=dword:00000001

;Disable Remote Assistance
;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
;"fDenyTSConnections"=dword:00000001
;"fAllowToGetHelp"=dword:00000000

;Disable Autoupdates
;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
;"NoAutoUpdate"=dword:00000001

;Disable Autoupdates
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
;"AUOptions"=dword:00000001
;"AUState"=dword:00000007

;Disable QoS
;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
;"NonBestEffortLimit"=dword:00000000

;Disable the Desktop Cleanup Wizard
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Adds search keywords to Internet Explorer (in this order: Microsoft Knowledge Base, Altavista, Google, MSN, FileMirrors)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@="http://www.google.com/search?q=%s"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@="http://www.filemirrors.com/search.src?file=%s"

;Prevents Internet Explorer windows from being reused
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000

;Max your Internet Explorer's simultaneous downloads to 10 (default was 2)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a

;Change MenuShowDelay (Start Menu load speed)
;[HKEY_LOCAL_MACHINE\Control Panel\Desktop]
;"MenuShowDelay"="2"

;Disables Windows Tour bubble popup
;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
;"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;NoLowDiskSpaceChecks won't check if you are low on diskspace or pop-up a balloon telling you.
;[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
;"NoLowDiskSpaceChecks"=dword:00000001

;Disable Recycle Bin
;Removes low disk space check, start menu pins, recent docs, and forces control pannel into classic mode
;[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
;"NoRecentDocsMenu"=dword:00000001
;"NoDriveTypeAutoRun"=dword:00000091
;"NoCDBurning"=dword:00000001
;"NoRecycleFiles"=dword:00000001
;"NoLowDiskSpaceChecks"=dword:00000001
;"NoStartMenuPinnedList"=dword:00000001
;"ForceClassicControlPanel"=dword:00000001
;"Start_NotifyNewApps"=dword:00000000

;Stop Messenger
;[HKEY_LOCAL_MACHINE\Software\Microsoft\MSNMessenger]
;"AppSettings"= hex:22,04,00,00

;Removes MSN v6 from startup
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-

;IE stuff
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
"Start Page"="about:blank"
"ShowGoButton"="no"
"NotifyDownloadComplete"="no"
"Use FormSuggest"="yes"

;Stuff
;[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;"Hidden"=dword:00000001
;"ShowCompColor"=dword:00000001
;"HideFileExt"=dword:00000000
;"DontPrettyPath"=dword:00000000
;"ShowInfoTip"=dword:00000001
;"HideIcons"=dword:00000000
;"MapNetDrvBtn"=dword:00000000
;"WebView"=dword:00000000
;"Filter"=dword:00000000
;"SuperHidden"=dword:00000001
;"SeparateProcess"=dword:00000000
;"ListviewAlphaSelect"=dword:00000000
;"ListviewShadow"=dword:00000000
;"ListviewWatermark"=dword:00000000
;"TaskbarAnimations"=dword:00000000
;"StartMenuInit"=dword:00000002
;"Start_LargeMFUIcons"=dword:00000000
;"Start_MinMFU"=dword:00000000
;"Start_ShowControlPanel"=dword:00000001
;"Start_EnableDragDrop"=dword:00000001
;"StartMenuFavorites"=dword:00000000
;"Start_ShowHelp"=dword:00000000
;"Start_ShowMyComputer"=dword:00000000
;"Start_ShowMyDocs"=dword:00000000
;"Start_ShowMyMusic"=dword:00000000
;"Start_ShowMyPics"=dword:00000000
;"Start_ShowPrinters"=dword:00000000
;"Start_ShowRun"=dword:00000001
;"Start_ScrollPrograms"=dword:00000000
;"Start_ShowSearch"=dword:00000001
;"Start_ShowRecentDocs"=dword:00000000
;"Start_AutoCascade"=dword:00000000
;"Start_NotifyNewApps"=dword:00000000
;"Start_AdminToolsRoot"=dword:00000000
;"StartMenuAdminTools"=dword:00000000
;"TaskbarSizeMove"=dword:00000001
;"TaskbarGlomming"=dword:00000000
;"NoNetCrawling"=dword:00000001
;"FolderContentsInfoTip"=dword:00000001
;"FriendlyTree"=dword:00000000
;"WebViewBarricade"=dword:00000001
;"DisableThumbnailCache"=dword:00000001
;"ShowSuperHidden"=dword:00000001
;"ClassicViewState"=dword:00000001
;"PersistBrowsers"=dword:00000000
;"CascadeNetworkConnections"="YES"
;"StartButtonBalloonTip"=dword:00000002
;"Start_ShowNetConn_ShouldShow"=dword:00000042

;[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
;"Start Page"="http://www.latinguia.com...."


; Make mozilla the default browser.
[HKEY_LOCAL_MACHINE\Software\Classes\.htm]
@="MozillaMarkup"
[HKEY_LOCAL_MACHINE\Software\Classes\.html]
@="MozillaMarkup"
[HKEY_LOCAL_MACHINE\Software\Classes\ftp\shell\open\command]
@="C:\\Program Files\\mozilla.org\\Mozilla\\Mozilla.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command]
@="C:\\Program Files\\mozilla.org\\Mozilla\\Mozilla.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\Classes\https\shell\open\command]
@="C:\\Program Files\\mozilla.org\\Mozilla\\Mozilla.exe \"%1\""

you can see in here that I have some things commented out you can uncomment them if you want but I find them unsutable for customers systems.

ok now the next part is the setup.cmd. This is were I have a few little clean up parts and were I install my oem info for my systems. this file should be placed in install\system also

CLS
@ECHO OFF
cmdow @ /hid
ECHO Copying OEM Information...
COPY "%systemdrive%\Install\system\Oeminfo.ini" "%systemroot%\system\Oeminfo.ini"
COPY "%systemdrive%\Install\system\Oemlogo.bmp" "%systemroot%\system\Oemlogo.bmp"
ECHO.
ECHO Deleting useless ASP.NET User Account created by .NET Framework 1.1...
start /wait net user aspnet /delete
ECHO.
ECHO.
EXIT

That should get you all started for now. Oh and please be kind. My spelling is off sometimes.

Link to comment
Share on other sites


no problem. I thought the comment was going to say it's broke or something. I was going to answer "you broke it already?"

it should work well I have spent litteraly weeks tweaking it all out so it works like it should. at this time I'm having no problems at all with it. I'm down to only little parts of my install now. like getitng it setup properly so that when used as multiuser they all get the same default theme and progies and stuff. And as for that the only thing left is turing on quick launch for all user by default. after this sis working. I'm starting on the next version of my scripts were I'm going to slipstream dx9.1 into the install. Ah the joy of it all. I'm also going to add a few more little progies into the mix.

Link to comment
Share on other sites

Just a quick question ..

Whats all this buisness?

[Strings]
systemdrive = "c:"
Product     = "Shell Toy XP"
DiskName    = "Shell Toy XP, Setup Disk #1"
Uninstall   = "Software\Microsoft\Windows\CurrentVersion\Uninstall\"
Runonce     = "SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\"
Setup       = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"
DosHere     = "DOS PROMPT HERE"
Edi         = "01,00,00,00"
SubDir      = "WINDOWS"
EXPLO       = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
OnlineLong  = "Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
NAME_RUNONCE= "MPCM Settings"
w95u1       = "rundll.exe setupx.dll,InstallHinfSection"
wNTu1       = "RunDll32 syssetup.dll,SetupInfObjectInstallAction"
wu2         = "DefaultUninstall 132"
AppDir      =
AppGroup    =
AppName     = "My Application"
CopyrightMessage = "Copyright (c) 2003. All rights reserved. My Company. www.pablovandermeer.nl."
TweakUILink = "c:\\install\\PowerToys\\TweakUI.lnk"
TweakUILinkDest = "c:\\Documents and Settings\\All Users\\Start Menu\\Programs\\"

Link to comment
Share on other sites

ok hows this it wont hurt anything to leave them there.most of them are used there is only a few that are not like the tweak ui ones at the bottom. I decided not to install tweak ui from here it was to much of a pain to get going.

you an get rid of these

DosHere     = "DOS PROMPT HERE"
Edi         = "01,00,00,00"
SubDir      = "WINDOWS"
OnlineLong  = "Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
NAME_RUNONCE= "MPCM Settings"
w95u1       = "rundll.exe setupx.dll,InstallHinfSection"
wNTu1       = "RunDll32 syssetup.dll,SetupInfObjectInstallAction"
wu2         = "DefaultUninstall 132"
AppDir      =
AppGroup    =
AppName     = "My Application"
CopyrightMessage = "Copyright (c) 2003. All rights reserved. My Company. www.pablovandermeer.nl."
TweakUILink = "c:\\install\\PowerToys\\TweakUI.lnk"
TweakUILinkDest = "c:\\Documents and Settings\\All Users\\Start Menu\\Programs\\"

those for shure. I have stipped allot of it out.

Link to comment
Share on other sites

WoW, looks great, but i use the Windows Update way you know, that here is more difficult for me....i use more than 14 Cmd and reg files....thats a lot but it works fine....

could you give me your audioutl.cmd ? because i have an Nforce2 too and want to install the panel but i dont know how.....plz help :/ :/

Link to comment
Share on other sites

you poor poor person. Ok here is the audioutils.cmd. It needs more testing I would really like to know weather or not it works as I have not had the chance to test it yet on bare mettle.

CLS
@echo off
cmdow @ /hid
ECHO.
ECHO Installing ATI Control Panel for Catalyst 3.6
ECHO Please wait...
IF EXIST "%systemroot%\system32\ati2evxx.exe" (start /wait %systemdrive%\drivers\ATI_cat3_7\cpanel\Setup.exe -s -f1"%systemdrive%\drivers\ATI_cat3_7\cpanel\setup.iss")
ECHO.
EXIT

again google for cmdow it jsut lets me hide the window while it works. if you dont want that jsut delte the line at the top like this cmdow @ /hid.

this looks to see if radion drivers have been installed bu looking for one of the radeion dll's if it has been isntalled then it installs the ati controle panle. I must admit here that i have ever been able to get it to install though. HTose stupid install shield apps.

now here is for audioutils.

CLS
@echo off
cmdow @ /hid
ECHO.
ECHO Installing Nforce Audio Controle Panel
ECHO Please wait...
IF EXIST "%systemroot%\system32\nvax.sys" (
 start /wait "RunDll32.exe advpack.dll,LaunchINFSection %systemdrive%\\drivers\\nforce\\AudioUtl\\nvautils.inf,DefaultInstall"
)
ECHO.
EXIT

it does the same way as the ati drivers this one however I have had no problems installing. Well that is it installs fine when I call it directly but same as above it needs testing to make sure it is finding the nvidia drivers correctly. Let me know how it goes for you. If it is not quite right I will try to tweak it to work.

Link to comment
Share on other sites

Problem with getting them to wait for each other. When I used this method I was able to get it to run the Update for installing all the problems with GUI etc...

However the problem I have is in getting them to wait for the CMD files to finish before starting another process. I used a vbs script to hide the windows and it might have caused some problems but when it runs the cmd it starts it but doesnt wait for it to finish before starting the next process. For regular setup files like direct9, etc..... it will wait for each other. But when it gets to a cmd file it executes and moves on to execute something else.

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...