Microsoft Powertoys Not all of them use /S /V/qn
#1
Posted 28 May 2006 - 11:19 AM
Can someone tell me the switches for all the Microsoft powertoys? Not the installshield ones that use /S /V/qn?
Or am I going to have to repackage it or use AutoIt?
Thanks
#2
Posted 29 May 2006 - 11:21 PM
SplashTextOn("", "" & @CRLF & "Installing Calculator PowerToy..." & @CRLF & "", 500, 55, -1, -1, 1, "Arial", 12, 12)
Sleep(1000)
SplashOff()
RunWait('msiexec /i "' & @ScriptDir & '\Extras\PowerToys\PowerCalc.msi" /qb')
Sleep(100)
FileCreateShortcut( @SystemDir & "\PowerCalc.exe", @ProgramsCommonDir & "\Accessories\Power Calculator.lnk")
Sleep(1500)
SplashTextOn("", "" & @CRLF & "Installing Synchronize Folders PowerToy..." & @CRLF & "", 500, 55, -1, -1, 1, "Arial", 12, 12)
Sleep(1000)
SplashOff()
RunWait('msiexec /i "' & @ScriptDir & '\Extras\PowerToys\SyncToy.msi" /qb')
Sleep(100)
FileCreateShortcut( @ProgramFilesDir & "\Microsoft\SyncToy\SyncToy.exe", @ProgramsCommonDir & "\Accessories\Synchronize Folders.lnk")
Sleep(1500)
SplashTextOn("", "" & @CRLF & "Installing TweakUI PowerToy..." & @CRLF & "", 500, 55, -1, -1, 1, "Arial", 12, 12)
Sleep(1000)
SplashOff()
RunWait('msiexec /i "' & @ScriptDir & '\Extras\PowerToys\TweakUI.msi" /qb')
RunWait("REGEDIT /S" & @ScriptDir & "\Extras\PowerToys\TweakUI.reg")
Sleep(100)
FileCreateShortcut( @SystemDir & "\tweakui.exe", @ProgramsCommonDir & "\Accessories\System Tools\TweakUI.lnk")
Sleep(100)
DirRemove( @ProgramsDir & "\Powertoys for Windows XP", 1)
Sleep(100)
DirRemove( @ProgramsCommonDir & "\Powertoys for Windows XP", 1)
Sleep(1500)
#3
Posted 29 May 2006 - 11:24 PM
regsvr32 /u /s file.dll
save it to a cmd file and put it together with the dll. that will do it.
#4
Posted 30 May 2006 - 10:47 AM
Quote
regsvr32 /u /s file.dll
You mean regsvr32 /s file.dll
Thanks elajua but what are the dlls (other than phototoys.dll for image resizer) for wallpaper changer
<Edit> on second thoughts, I'll use the addon for tweak UI.</edit>
Thanks blinkdt, but I'm not a big fan of AutoIt. Where did you get the MSI's from? Did you repackage them or download them or what.
I appreciate the help elajua and blinkdt
This post has been edited by T D: 30 May 2006 - 10:51 AM
#5
Posted 31 May 2006 - 08:47 AM
run the "Image Resizer Powertoy for Windows XP " than it will extract the .MSI file into your C:\WINDOWS\Downloaded Installations
copy that file out of there and than
its just /passive
to install slient
#6
Posted 31 May 2006 - 08:55 AM
why for you not want to use traditional methods?
#7
Posted 31 May 2006 - 09:24 PM
i meant to register the dll for image resizer only, not wallpaper changer (cont know if it uses a setup or a dll)
#8
Posted 31 May 2006 - 11:49 PM
"Where did you get the MSI's from?" As I explained, I used WinRAR to extract them directly from the original installer downloaded from Microsoft (right-click, Extract to...) or ran the installer, then snatched them from the Local Settings directory. Plenty of information on this board explaining how that is done.
"Why work with the .msi files?" The ability to edit the .msi directly with Orca or another editor is awesome. I haven't figured it all out, but I now know just enough to be dangerous and continue to learn. That's what it's all about.
This post has been edited by blinkdt: 31 May 2006 - 11:53 PM
#9
Posted 01 June 2006 - 07:24 AM
Quote
I meant because when you autoit an installation, it's not as good as switches because you can still see the UI.
And also, only Image resizer seems to leave an msi in %temp%.
@oioldman I don't mind switches, it's just that only Image Resizer supports switches.
@elajua Thanks, you gave me an idea about exe and dll files. I just copied the program files folder of wallpaper changer into $OEM$\$PROGS because the only thing in the registry for wallpaper changer is uninstall info.
Thanks all!
This post has been edited by T D: 01 June 2006 - 07:25 AM



Help

Back to top









