Jump to content

Recommended Posts

Posted

I have an Unattended CD that installs drivers and updates and a couple programs, for some reason it changes the appearance to classic, I want it to stay as WindowsXP Style and Background.

Winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   OemPnPDriversPath="Drivers\000_Intel_INF;Drivers\001_Intel_Raid;Drivers\002_Gigabit_LAN;Drivers\003_Gigabit_LAN;Drivers\004_AudigyZS_1;Drivers\005_AudigyZS_2;Drivers\006_Video_Nvidia_61.76;Drivers\007_Catalyst_4.7"
   DriverSigningPolicy=Ignore
   UnattendSwitch=Yes
   TargetPath=\WINDOWS
   FileSystem=*

[GuiUnattended]
   AdminPassword=6ba38aca51891e80aad3b435b51404eea0bbbaa4fa3394265f9af1041a5fec9f
   EncryptedAdminPassword=Yes
   OEMSkipRegional=1
   TimeZone=4
   OemSkipWelcome=1

[UserData]
   ProductID=*****-*****-*****-*****-*****
   FullName="****"
   OrgName="****"
   ComputerName=*

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[GuiRunOnce]
   %systemdrive%\Install\move.cmd
   %systemdrive%\Install.cmd

svcPack.inf

[Version] 
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\Update"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
Q814078.exe /Q:A /R:N
Q816093.exe /Q:A /R:N
Q823182.exe /Q /O /N /Z
Q823353.exe /Q:A /R:N
Q824105.exe /Q /O /N /Z
Q824141.exe /Q /O /N /Z
Q825119.exe /Q /O /N /Z
Q826939.exe /Q /O /N /Z
Q828035.exe /Q /O /N /Z
Q828741.exe /Q /O /N /Z
Q831167.exe /Q:A /R:N
Q832894.exe /Q:A /R:N
Q835732.exe /Q /O /N /Z
Q837001.exe /Q /O /N /Z
Q839645.exe /Q /O /N /Z
Q840315.exe /Q /O /N /Z
Q840374.exe /Q /O /N /Z
Q841873.exe /Q /O /N /Z
Q842773.exe /Q /O /N /Z
Q870669.exe /Q:A /R:N
WMP9MM2.exe
Q828026.exe /Q /O /N /Z
dxsetup.exe /silent
Q322011.exe -u -o -n -z
Q327405.exe /Q:A /R:N
Q327979.exe -u -o -n -z
Q810243.exe -u -o -n -z
Q814995.exe -u -o -n -z
Q820291.exe -u -o -n -z
Q821253.exe -u -o -n -z
Q822603.exe -u -o -n -z
Q826942.exe /O /N /quiet /norestart
Q837272.exe /Q /N /Z /O
DOTNET11.exe
highmat.exe /Q /N
qchain.exe

dosnet.inf

[Version]
signature="$Windows NT$"
DriverVer=07/01/2001,5.1.2600.1106


[Directories]
d1 = \I386
d2 = \cmpnents\tabletpc\I386
d3 = \cmpnents\mediactr\I386
d4 = \cmpnents\netfx\I386


[Miscellaneous]
ProductType = 0

MinimumMemory = 67108864

DestinationPlatform = i386

ServicePack = 1.0

[OptionalSrcDirs]
Update

[UnsupportedArchitectures]
halcbus.dll   = %cbus2_mp%
halcbusm.dll  = %cbusmc_mp%
halmca.dll    = %mca_up%
halmpsm.dll   = %mps_mca_mp%
halncr.dll    = %ncr_mp%
missprocfeat  = %missing_proc_feat%

move.cmd

@Echo off
ECHO.
ECHO Re-Locating Install Batch File
move %systemdrive%\Install\Install.cmd %systemdrive%\Install.cmd
EXIT

install.cmd

@Echo off
GOTO Hotfixes

:Hotfixes
ECHO.
ECHO Installing HotFixes...
ECHO.
ECHO Installing Q832483 Buffer overrun in an MDAC function
start /wait %systemdrive%\install\Updates\Q832483.exe /C:"dahotfix.exe /q /n" /q
ECHO.
ECHO Installing Q817778 Advanced Networking Pack
start /wait %systemdrive%\install\Updates\Q817778.exe /Q /O /N /Z
ECHO.
ECHO Please wait, Short Pause Before Installing Apps
@ping 127.0.0.1 -n 8 -w 1000 > nul
Goto Apps

:Apps
ECHO.
ECHO.
ECHO Installing Apps...
ECHO.
ECHO Installing Windows Messenger 5.0
ECHO Please wait...
start /wait %systemdrive%\install\Apps\messenger.msi /qb
ECHO.
ECHO Installing Journal Viewer 1.5
ECHO Please wait...
start /wait %systemdrive%\install\Apps\JV.msi /qn
ECHO.
ECHO Please wait, Short Pause Before Installing Drivers
@ping 127.0.0.1 -n 8 -w 1000 > nul
GOTO Drivers

:DRIVERS
ECHO.
ECHO.
ECHO Installing Drivers...
IF EXIST C:\Windows\System32\ati2dvag.dll GOTO InstallATI
ECHO.
ECHO No ATI Adapters Found
GOTO Cleanup
:InstallATI
ECHO.
ECHO Installing ATI Catalyst 4.7 Driver.
start /wait %systemdrive%\install\Drivers\Cat4.7_Driver\Setup.exe -s
ECHO.
ECHO Pausing While Temporary Driver Files are Deleted
@ping 127.0.0.1 -n 10 -w 1000 > nul
ECHO.
ECHO Installing ATI Catalyst 4.7 Control Panel.
start /wait %systemdrive%\install\Drivers\Cat4.7_CPanel\Setup.exe -s
ECHO.
ECHO Pausing While Temporary Driver Files are Deleted
@ping 127.0.0.1 -n 10 -w 1000 > nul
ECHO.
ECHO Installing ATI Catalyst 4.7 WDM Drivers.
start /wait %systemdrive%\install\Drivers\Cat4.7_WDM\Setup.exe -s
ECHO.
ECHO Please wait, Short Pause Before Cleanup and Restart
@ping 127.0.0.1 -n 8 -w 1000 > nul
GOTO Cleanup

:Cleanup
ECHO.
ECHO.
ECHO Deleting Temporary Directories
IF Exist %systemdrive%\install\ GOTO DELINSTALL
GOTO DriverCheck
:DriverCheck
IF EXIST %systemdrive%\Drivers\ GOTO DELDRIVERS
GOTO Reboot
:DELINSTALL
ECHO.
ECHO Deleting Temporary Install Directory
rd /q /s %systemdrive%\Install\
GOTO DriverCheck
:DELDRIVERS
ECHO.
ECHO Deleting Temporary Driver Directory
rd /q /s %systemdrive%\Drivers\
GOTO Reboot

:Reboot
ECHO.
ECHO PC will Restart in 5 to 10 Seconds...
@ping 127.0.0.1 -n 8 -w 1000 > nul
shutdown.exe -r -f -t 01 -c "Windows XP will restart in 01 Seconds"
ECHO.
ECHO Deleting Batch File
del %systemdrive%\Install.cmd
EXIT

I can't really figure out what is causing it to change to classic style. does anyone know something i can add to install.cmd to change it back to windowsxp style and background? or have any idea what i have wrong here.

tret


Posted

if you are using a custom theme and don't have the correct version of the uxtheme.dll file, it will revert to classic appearance...

also, are you doing any registry tweaks?

Posted

yes, ive had that problem its a faulty registry tweak that caused it for me.. try doing it without your tweaks :)

Posted

No Registry Tweaks or Theme Changes, everything I have done is posted in my first post. Drivers and Hotfixes is all i have changed.

tret

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