Jump to content


Addons: TweakUI for XP SP3 not working


2 replies to this topic

#1 BlackholeForever

    Member

  • Members
  • PipPip
  • 14 posts

Posted 23 June 2008 - 08:00 PM

TweakUI for XP SP3 does not work. The ADDONS.SCRIPT file specifies:


Item=TweakUI.exe
...
ActionAfterDownload=expand "autopatcher:\modules\AddOns\__TweakUI\TweakUI210_x86_files\TweakUiPowertoySetup.exe" -F:* "autopatcher:\modules\AddOns\__TweakUI\TweakUI210_x86_files"
ActionAfterDownload.DeleteFile=autopatcher:\modules\AddOns\__TweakUI\TweakUI210_x86_files\PowerToysLicense.rtf

This expansion is not occuring. If I try to execute the shell command manually (as recorded in APUP.LOG), I get:

D:\Documents and Settings\Administrator>expand "G:\APXPSP3\modules\AddOns\__TweakUI\TweakUI210_x86_files\TweakUiPowertoySetup.exe" -F:* "G:\APXPSP3\modules\AddOns\__TweakUI\TweakUI210_x86_files"
Microsoft ® File Expansion Utility  Version 5.00.2134.1
Copyright © Microsoft Corp 1990-1999.  All rights reserved.

Cannot expand a file onto itself: g:\apxpsp3\modules\addons\__tweakui\tweakui210_x86_files\tweakuipowertoysetup.exe.

Now, the TweakUiPowertoySetup.exe does indeed contain the following two compressed files:
  • TweakUI.exe
  • PowerToysLicense.rtf
but with the extraction failing, they're never created. I don't know if this is technically a cabinet file, but most archivers can extract its contents.

This problem, in turn, causes the TweakUI installation script (TweakUI210_x86_enu.apm, which requires TweakUI.exe) to fail as well.

FYI...

Edited by BlackholeForever, 23 June 2008 - 08:03 PM.


#2 Erik Ramey

    AutoPatcher Elite

  • Veterans
  • PipPipPipPipPip
  • 766 posts
  • Gender:Male
  • Location:Washington State

Posted 23 June 2008 - 11:39 PM

For now, we might need to remove TweakUI from AP. This has been an ongoing problem which uz.exe only allows the decompression of zip files while expand is an internal DOS command that typically only works with CAB's.

I've been trying to push the integration of 7zip with AP but that might take awhile. In the next couple of days, I'll probably remove TweakUI until this is resolved.

#3 James

    Advanced Member

  • Veterans
  • PipPipPipPipPipPip
  • 1,212 posts
  • Gender:Male
  • Location:UK

Posted 24 June 2008 - 03:36 PM

Trying to use expand.exe to extract files from TweakUiPowertoySetup.exe is a lost cause, because expand.exe has very limited capabilities. Unfortunately, finding embedded CAB files inside installation packages is not one of them.

A useful test is to try the -D option on a file first, as in:
expand -D TweakUiPowertoySetup.exe

which gives:
C:\TEST\TWEAKUI>expand -D TweakUiPowertoySetup.exe
Microsoft ® File Expansion Utility  Version 5.1.2600.0
Copyright © Microsoft Corp 1990-1999.  All rights reserved.

tweakuipowertoysetup.exe: tweakuipowertoysetup.exe
The repeated file name indicates that expand.exe has not found any CAB files. If you ignore this, trying to extract will lead to the error message:
Cannot expand a file onto itself... (as already seen above by BlackholeForever)

7-zip's command-line utility (as you probably already know) fares rather better:
C:\TEST\TWEAKUI>7za l TweakUiPowertoySetup.exe

7-Zip (A) 4.57  Copyright © 1999-2007 Igor Pavlov  2007-12-06

Listing archive: TweakUiPowertoySetup.exe

Method = LZX
Blocks = 1
Volumes = 1

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2002-06-21 15:09:46 .R..A       160217               PowerToysLicense.rtf
2003-06-25 16:05:08 .R..A       266360               TweakUI.exe
------------------- ----- ------------ ------------  ------------------------
                                426577               2 files, 0 folders

Other locations on the internet fake a silent install of TweakUiPowertoySetup.exe by repackaging Microsoft's files -- which AutoPatcher cannot do following Microsoft's CDO.
--
James





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users