Jump to content

gunsmokingman

Super Moderator
  • Posts

    2,296
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gunsmokingman

  1. This Does The 6 Below The Script Does Alllow For Indivdual Install If Files Are Present Intergrate All Of Them If Files Are Present Open Each Update Download Page For You To Start The DownLoad. Update That It Intergrates These Are The Exact Name That The Script Depends On WindowsXP-KB834707-x86-enu.exe WindowsXP-KB873339-x86-enu.exe WindowsXP-KB885835-x86-ENU.exe WindowsXP-KB885836-x86-ENU.exe WindowsXP-KB886185-x86-enu.exe WindowsXP-KB890175-x86-ENU.exe
  2. The Ones In Tools You have To edit To make Work. This One Is What The One In The Template Can Be Made In to. I would use this one here as it will remove the main folders, and those shortcuts listed, in the post. Without editing it more.
  3. 1:\ A prepare cmd is a option I dont use one 2:\ The RunOnceEx.cmd Is What You Use To Install Stuff 3:\ The Clean Up Cmd Is To Remove The Install And Drivers Folders Example Of A RunOnceEx.cmd REG ADD %KEY%\065 /VE /D "Ua065 %A1% Wrar341" /f REG ADD %KEY%\065 /V 1 /D "%CD1%Ua065\Wrar341-SFX.exe" /f Here A Clean Up Cmd That Will Remove The Install And Driver Folders Remove These Shortcuts. CMD Things In Purple Are Varibles I Have Try To Add As Many Generic Spots To That People Seem To Use In The Ua. If There Are Some That I Missed Please Post Some More So I Can Add Them To The Script. The Stuff That Is Orange Is Inactive This Is Safe To Delete Or You Can Edit Them To Match Your Needs. '''''' These Must Be Removed The Front Of The Script, To Make Active. The Stuff InGreen Is Safe To Remove From The Script Or Edit To Suit Your Needs The Stuff That Is Red Use Caution When Editing VBS SCRIPT To Test This Script Make 2 Folders On Systemdrive Systemdrive Is Where You Have Windows Installed Install Drivers Than Run The Sfx File And The 2 Folders Will Be Gone Plus Any Shortcuts That Are Listed.
  4. 1:\ Extract The Script TO Here YOUR-HD:\XPCD\ 2:\ When The Script Is Run It Will Ask You If You Want To Start The DL Of This Update KB834707 If You Have This Update KB834707 Than Type In No Next The Script And Update Must be here YOUR-HD:\XPCD\ If The Update Not At That Location it Will Go To A Error And Ask You To make Sure The Update There And Give A optin To Redo The Script. Code For the Cmd If You Want To Edit This Just Add Other Updates Numbers Stuff In Green Must Be The Same Change It To Next Update Number Stuff In Orange Is The Cmd Change It To Next Up Date Number Stuff In Blue Is A Re Edit Of The Cmd
  5. Post Your Sif Dont Forget To remove The key And Use the {code} {/code} Let See If It Some Thing Else In Your Sif File. Also Are You Sure You Have It Named Right. Because If You Used Notepad When You Save It Must Be Saved As A All File Type. Otherwise Your Winnt.sif will Look Like This. Winnt.sif.txt
  6. Try Some Thing Like This ;SetupMgrTag [Data] AutomaticUpdates=1 AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="No" Repartition=No Hibernation=No OemPnPDriversPath="Drivers\002_graphics;Drivers\004_sound;Drivers\" DriverSigningPolicy=Ignore AutoActivate=Yes TargetPath=\WINDOWS
  7. Here Mine This Runs From The Cmdlines.txt [COMMANDS]"REGEDIT /S 000.reg""REGEDIT /S 020.reg""REGEDIT /S 040.reg""REGEDIT /S 060.reg""REGEDIT /S 080.reg""UaPrestart.cmd""RunOnceEx.cmd"The UaPrestart.cmd start Contains These CmdsVIDCHNG.EXEUaKillTime.htmlPROGS.EXEThis Contains The Things I dont need To Install.Below Is What In Progs.exeAd-AwareAdvance WMAEasyCleanMsRegCleanerRegCleanerReplacerSpybot - Search & DestroyResource HackerTMPGEncVbsEditTHEMES.EXEI have 4 custom themes I did In ThisWMPSKINS.EXELike The Name SaysWMPSKINS.EXELike The Name SaysCleanUP OrderHere Is My UAPRESTART.CMD I have Edit So AllMy Sfx Wont Start Add Yours There. This Script Has No Start /w cmds So What Runs Are The Messages In The Script, I Use These To Allow Time Between Each Cmd, To Finish. Blue Is What You Change To Yours Orange You Must Remove To Make Active Green Are Makers So You Can Find Them Easier In The Script 1 Cmd 2 Cmd 3 Cmd 4 Cmd 5 Cmd 6 Cmd I Gunsmokingman give all users full permission to do what ever they want with this script. UAPRESTART.CMD
  8. Here Are My Hacked Files I Use For My Ua Shell32.dll Changes 1 Most Of The Icons Have been Changed 2 Custom Run Box 3 Some Minor Changes In The Display Properties Explorer.Exe All The Icons Changed Start Menu Says Hi Right Click The Task Bar To Start The Run Box Uxtheme.dll This Is For XPSP2 What I Have Done Is Made A Self Extracting WinRar Inside it is Resource Hacker The Shell Files It Will Extract It Self To This Dir %systemdrive%\Shell\CustomShell Next It Will Run A Expand Cmd Then Resource Hacker Will Open In Resource Hacker Open The File Menu And Selected Either Shell32 or Explorer.exe Edit them if you want. MyModFiles
  9. That set the tmp location to there than it returns the normal tmp varibles echo off cls mode con: Cols=55 Lines=5 color 1f SETLOCAL mkdir %systemdrive%\123 mkdir %systemdrive%\123 set tmp=%systemdrive%\123 set temp=%systemdrive%\abc echo %tmp% echo. echo %temp% set /p = Here Are The Temp Dir ENDLOCAL
  10. Have You Tried This Cmd It will List All The Options For Installing \i386\winnt32.exe /?
  11. Try This It Might Work Add This To The End Of The RunOnce Cmd [code SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Preparing Final Clean up ..." /f REG ADD %KEY%\970 /V 1 /D "PLACE YOUR CMD HERE" /f
  12. Try This, I Took Out Wallpaper Reference. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Desktop] "TileWallpaper"="0" "Wallpaper"="" "WallpaperStyle"="2" "OriginalWallpaper"=""
  13. First Edit Your Winnt.sif and take out your key. Or did you want to share that with all of us, who have read it. and than add this to it TargetPath=\WINDOWS To here [Unattended] UnattendMode=FullUnattended OemPreinstall=Yes OemSkipEula=Yes FileSystem=* WaitForReboot="No" ProgramFilesDir="%SYSTEMSRIVE%\Windows Programs" CommonProgramFilesDir="%SYSTEMDRIVE%\Windows Programs\Common Files"
  14. The Links Are For The Files To Use 1\ If you are using MSFN Way Of Making The CD For A Ua A\ Delete The Uxtheme.DL_ In XPCD\I386\ Than Down Load The Uxtheme.Dl_ and place that in the XPCD\I386\ 2\ Make Sure You Have This Line In Your Winnt.sif [shell] CustomDefaultThemeFile=%systemdrive%\WINDOWS\Resources\Themes\YOUR-THEME-NAME-HERE.Theme
  15. 1\ Only if you are not going to replace it 2\ Run The .Net Framework as the last install cmd 3\ You Will Need SomeThing To Set The Varible for %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\SETUP.exe set CDROM=%%i
  16. You Need A Hacked Uxtheme.dll To Run 3 Party Themes UxTheme I Use In Install This Has A Right Click The Task Bar And The Run Box Appears It Also Says Hi On The Start Menu I Have Change The Icons. Hacked Explorer.Exe These Work Perfect On My Computer For The Ua Install
  17. That Will Make Cab Shell32 and move it to %systemdrive%\ShellFiles Stuff In Blue Can Be Changed To Other Dir Stuff In Green Is The File Version 1 Save As MakeCabShell32.Cmd Version 2 Re-Edit Added A Check For this folder %systemdrive%\ShellFiles Save As MkCabShell32.Cmd
  18. I Guess You Missed The First Page Of This Thread It All There
  19. Here Try This start i386\winnt32.exe /noreboot /tempdrive:D: /unattend:winnt.sif Than Try This For Any More Info start i386\winnt32.exe /?
  20. I Use The RunOnce Method And A HTA App That I Made.
  21. I only use Resource Hacker To Change Any Thing Like That. It works well and is easy to use.
  22. Completed YES OR TIME OUT ACTION 1\ Java Web Start.lnk2\ Nero StartSmart.lnk3\ Mozilla.lnk4\ Set Program Access and Defaults.lnk5\ Windows Catalog.lnk FOLDERS1 \ Drivers Folder2\ Install FolderNO Button Actions 1:\ My MakecaB Utility, All You Do Is Type In The DirectoryAnd It Makes A Folder Called WHATEVER-YOU-TYPE-IN\ARCHIVEThen It Runs The MakeCab cmd Move The Files There Outputs A ExpandCmd To Where The Files Are Located. Deletes The Source Files.2:\ A way to delete 2 folder if they are not named Install OrDrivers that you may delete as part of the UA This Includes Shortcuts3\ A 3 Preselected Radio Stations4:\ Just A Delete Folder Program That WillDelete As Many Folders As You Want Until YouCancel Will Just Close The Script And Just Clean Up The Files Generated.To Edit I Will Add A link To The Code LaterI Gunsmokingman give all users full permission to do what ever they want with this script. GmanUtilities.exe
  23. Here Is A Template From Something I Am Working On It A Hta With 8 buttons. The First 4 Buttons Use The, VbYesNoCancel Message Box. Those Have 2 User choices plus A Cancel Feature. The Next 4 Uses , The VbYesNo Message Box, Those Have A Action And A Cancel.This is a Template So If You Edit This Right, You Could Control What Software You Install, With This. <!---STUFF BETWEN THESE IN THE SCRIPT WILL NOT APPEAR IN THE SCRIPT--> To Edit Change The Stuff In Blue Stuff In Red Do Not Edit Unless You Know What You Are Doing STUFF IN CAP LOCK AND ORANGE ARE SMALL NOTES AS TO WHAT IT DOES THEY ONLY APPEAR HERE AND ARE NOT IN THE SCRIPT Stuff In Green What The HTA Scripts Actions Are. To Edit This Use Winrar And Just Right Click It And Than Extract The Files To A Location Than Edit The HTA There Are 2 Files In The WinRar 1:\ UaKillTime.HTA The Main File This Is A Almost 2000 Lines Long Button 1 This Has A Brows For Vbs That Will Open A Selected Folder And Packager.exe Plus A Cancel Action Button 2 Iexpress And A Simple RunOnceEx Maker Plus A Cancel Action Button 3 A Brows For Vbs That Will Delete A Selected folder A Blank Spot To Run A Local Music List 'sh.Run ("H:\AudioFiles\dance.m3u"),2 'sh.Run ("THE LOCATION OF THE FILE\SOME MUSIC FILE.m3u"),2 MSGBOX "YOU MUST HAVE A LOCATION" & V & "FOR THE SCRIPT TO RUN", 0 + 48, SPACE(10) & "MESSAGE TO USER" If You Dont Edit You Will Get This Messeage Box Plus A Cancel Action 4:\ This Make A Winnt.sif Based On The One I Use It Has User Inputs For Most of The Things. Winnt.Bat File Here Is The Winnt.bat That it Outputs --------------------------------------------------------------------------------------------- @rem SetupMgrTag @echo off for %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\SETUP.exe set CDROM=%%i Rem Rem This is a SAMPLE batch script generated by Setup Manager. Rem If this script is moved from the location where it was generated, it may have to be modified. Rem set AnswerFile=.\winnt.sif set SetupFiles=%CDROM%:\i386 %CDROM%:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang Plus A Cancel Action ---------------------------------------------------------------------------------------- Buttons 5 to 8 Are Just A Yes No Vbs That Open Windows Media Player To A Radio Station Yes To Open It No To Quit. RTS2 = MsgBox (B & RT1 & V &"WAS YOUR SELECTION", 0 + 48, RT1) CreateObject("WScript.Shell").RUN ("wmplayer.exe http://www.di.fm/wma/eurodance.asx"),2 2\ The Start And Clean up Cmd The Start Script echo off && cls && color 9f && mode con: Cols=55 Lines=3 && Echo. start %systemdrive%\UaKillTime.hta ping -n 2 127.0.0.1 | Echo Starting UaKillTime > Cu1.vbs Echo Dim Gb >> Cu1.vbs echo set Gb = (CreateObject("Scripting.FileSystemObject")) >> Cu1.vbs echo Gb.Deletefile ("StartHta.cmd") >> Cu1.vbs echo Gb.DeleteFile ("CU1.vbs") >> Cu1.vbs echo Delete=("StartHta.cmd") >> Cu1.vbs echo Delete=("CU1.vbs") >> Cu1.vbs echo msgbox "Clean UP Completed?",vbokonly+48,"Clean Up Those Files" DEL %systemdrive%\UaKillTime.hta ping -n 2 127.0.0.2 | Echo Starting UaKillTime Clean Up start %systemdrive%\CU1.vbs Hope This Helps
  24. How do I parse a file name parameter into its' constituent parts? Than Open The section :How do I parse a file name parameter into its' constituent parts? That should help you.
  25. Here A script That Will Run From Any Where And Pass The Varibles The Only Down side it seems is it cant handle spaces in the names I tried quotes but was not able to get it to work with spaces. So make Sure There no Space In The script. Purple That A Test Of A Install I Did With This EDIT TO YOUR NEEDS Red Means You Can delete Orange Is The Test Of The Cmd Blue Is the Clean Up Part I made This A self Extracting Rar To Be able To Run From The Link The Cmd Will Be Located In %systemdrive%
×
×
  • Create New...