Jump to content

Uxtheme.dll in unattend...


Recommended Posts

Has anyone succeded to integrate the UXTHEME ?

i used the method on the site... (followed exactly)

and nothing works... I think file restore does its job after that...

No way to pack it into .dl_ or something to add to cmdlines ?

This thing will make me die!!

:)

Seb

Link to comment
Share on other sites


I found a CD Eject script, could put this at the start of the batch in an htm file:

<script LANGUAGE="VBScript">
<!--

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
       For i = 0 to colCDROMs.Count - 1
               colCDROMs.Item(i).Eject
       Next ' cdrom
End If

-->
</SCRIPT>

And then use PSKill to kill iexplore.exe

I'll have to try this.

Link to comment
Share on other sites

copy:

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
       For i = 0 to colCDROMs.Count - 1
               colCDROMs.Item(i).Eject
       Next ' cdrom
End If

save as cd_eject.vbs and put this into C:\XPCD\$OEM$\$1\install\Tools\

In batch file:

ECHO.

ECHO Ejecting CD-ROM Drives...

start %systemdrive%\install\Tools\cd_eject.vbs

It doesn't open any other seperate process either :) (don't use /wait otherwise it will hang)

Link to comment
Share on other sites

wwwwwwwwwwwouuuuuuuuuuuuuuuuuu uoooooooooooohhh

Great Jobbbb!!! :)

Thanx alot!

oh...

Now i'm there... For DirectX 9.0b in unattend with XP, i found that only those files were needed :

BDAXP.CAB

DSETUP32.DLL

DSETUP.DLL

DXNT.CAB

DXSETUP.EXE (Patched)

MANAGEDDX.CAB

MDXREDIST.MSI

All other files are for 9X/ME...

This takes out 15Megs...!

Bye

Seb

Link to comment
Share on other sites

Now i'm there... For DirectX 9.0b in unattend with XP, i found that only those files were needed :

BDAXP.CAB

DSETUP32.DLL

DSETUP.DLL

DXNT.CAB

DXSETUP.EXE (Patched)

MANAGEDDX.CAB

MDXREDIST.MSI

All other files are for 9X/ME...

This takes out 15Megs...!

Nice, I can free up some space on my CD now :) have you tested this?

Link to comment
Share on other sites

It doesn't open any other seperate process either  (don't use /wait otherwise it will hang)

Actually, Aaron, that does start wscript.exe and causes the strange side effect of the cd-rom not working until you kill it. This wouldn't be a problem unless someone chose to use a second disc for more apps, which is probably why this small problem slipped by you. :)

Link to comment
Share on other sites

LOL

I kept forgetting to remove my CD and uxtheme and metapad would not install.

I added this to the begining of my Main_Batch.cmd file

CLS

@echo off

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO hacks being implemented. The computer will restart automatically
ECHO once the whole process has finished!
ECHO.
ECHO Please remove your Windows Install CD from the CD Drive
ECHO.
pause
ECHO.

It takes away form being completely unattended, but it helped me remember. 8)

I was thinking, if you are using more tha one CDcould you have the uxtheme commands run on the cd that does not include your I386 file? Then Windows would not have anywhere to autoload the originals from. How do you install from multiple cd's anyway?

As far as removing those files from the dxsetup. Has this been tested on Windows 2003?

Link to comment
Share on other sites

I was thinking, if you are using more tha one CDcould you have the uxtheme commands run on the cd that does not include your I386 file? Then Windows would not have anywhere to autoload the originals from. How do you install from multiple cd's anyway?

You can, but to run the 2nd CD you will have to have an exact drive letter and path your CD-ROM in your batch file on the Windows XP CD. (This can be a problem if you decide to use your custom CD on someone else's PC that may have different drive letters)

e.g. instead of %systemroot%\install\Applications, you will have to use X:\Applications\ (X:\ being the CD-ROM Drive)

Link to comment
Share on other sites

LOL

I kept forgetting to remove my CD and uxtheme and metapad would not install.

I added this to the begining of my Main_Batch.cmd file

CLS

@echo off

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO hacks being implemented. The computer will restart automatically
ECHO once the whole process has finished!
ECHO.
ECHO Please remove your Windows Install CD from the CD Drive
ECHO.
pause
ECHO.

It takes away form being completely unattended, but it helped me remember.  8)

I was thinking, if you are using more tha one CDcould you have the uxtheme commands run on the cd that does not include your I386 file?  Then Windows would not have anywhere to autoload the originals from.  How do you install from multiple cd's anyway?

As far as removing those files from the dxsetup.  Has this been tested on Windows 2003?

is there a string i could add to the batch file that requires user interaction to proceed here? such as, press C to continue. This way the batch will not run until they have at least pressed C and read that they need to remove the CD ROM?

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