Jump to content

TweakUI 2.10 (for WinXP) won't install silently


Recommended Posts

Posted

I've tried using the standard switches for the powertoys:

tweakuipowertoysetup.exe /s /v/qn

...but it ignores the switches and installs normally (installer dialogs, etc.)

When I try to find out what the switches are...

tweakuipowertoysetup.exe /?

...it just launches a normal install as well.

All the other powertoys work fine with the standard switches, but this one is a pain.

I know I can install tweakui 2.00.1.0 silently using the file from msfn, but I want the newest version.

Any thoughts?

Chris


Posted

Do you really have to install it?

This is not an InstallShield installer, so your switch will not work. It is an sfx, but a different kind.

Suggestions for now:

1. Don't install it. Simply etract the file using winrar.

or

2. Use AutoIt.

:)

I'm also intersted to know which software is used to make sfx archives like this.

Posted

Take TweakUI.exe for windows\system32 and drop it into $OEM$\$$\System32. use this Vbs i found over at kellys corner to add it to the control panel

On Error Resume Next

Set WSHShell = WScript.CreateObject("WScript.Shell")

Set fso = CreateObject("Scripting.FileSystemObject")

SysDir = fso.GetSpecialFolder(1)
Tweak = SysDir & "\tweakui.exe"

If fso.FileExists(Tweak) Then

  Set WSHShell = WScript.CreateObject("WScript.Shell")

  p1 = "HKCR\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\"

  WshShell.RegWrite p1, "TweakUIXP"
  WshShell.RegWrite p1 & "InfoTip", "Starts TweakUI for Windows XP"
  WshShell.RegWrite p1 & "DefaultIcon\","%SystemRoot%\\System32\\tweakui.exe,0", "REG_EXPAND_SZ"
  WshShell.RegWrite p1 & "Shell\Open\Command\","tweakui.exe"
  WshShell.RegWrite p1 & "ShellFolder\Attributes",48,"REG_DWORD"

  WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\", "Add Tweakui to Control Panel"

Else
End If

Set FSO = Nothing
Set WshShell = Nothing

Posted
I'm also intersted to know which software is used to make sfx archives like this.

It uses IEXPRESS probably.

Try running the iexpress command at a CMD prompt.

Posted

I have been using this method for about 6 months now and it works great. Add this to your batch file:

ECHO. 
ECHO Installing TweakUI 2.10 Powertoy
ECHO Please wait...
start /wait %systemdrive%\install\PowerToys\TweakUI.msi /QB
ECHO.

Of course have the Tweakui.msi in the right folder and then add this to your registry tweaks so that it is added to control panel:

;Show TweakUI in Control Panel
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="TweakUI"
"InfoTip"="Start TweakUI"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\tweakui.exe,0"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command]
@="tweakui.exe"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder]
"Attributes"=dword:00000030

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="Tweakui of the system control adds"

Posted

Thanks to all who have replied.

glent: Where and when would I execute this script? If I didn't want to add it to the control panel but just put a shortcut somewhere in the start manu, can it be done?

mc134: I don't have an msi version of TweakUI. Where did you get it? Is it version 2.10?

Chris

Posted
It uses IEXPRESS probably.

Try running the iexpress command at a CMD prompt.

Really? I know IEXPRESS, but I don't know how to make setup welcome screens from it.

Like this

ed8_1.jpg

Posted

Right click the file and choose create shortcut, and drop it into a folder using this structure

$OEM$\$Docs\All Users\Start Menu\Programs

this will place it in the start menu

  • 8 months later...
Posted (edited)

I found a few of the Powertoys' MSI files in this directory:

C:\WINDOWS\Downloaded Installations

To install the MSI files silently, I suggest using "Powertoy.msi /?" to find all the switches. For an installation involving no UI and no user interaction, use:

Calculator Powertoy for Windows XP.msi /quiet /qn /norestart

:D

Edited by PerfectSwanson
Posted

TweakUI.msi will not show up in C:\WINDOWS\Downloaded Installations\, but most of the other powertoys will. Personally, I did the same thing with TweakUI, myself, put it on the Control Pannel, and register it, so I can do Start -> Run -> tweakui and it is run. :)

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