Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
loading files to work with RunOnceex
gunsmokingman replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
I just installed this Xp earlier Tonight As You Can See That My Code Does Work. %CDROM%Apps\ %CDROM%\Apps\ When I first converted over to the install from cd instead of the hd. I got errors about not finding Dir WHATEVER CD:\..\App What convinced me was , that I notice that some of my apps in the RunonceEx Had Install, with this %CDROM%Apps\ So I decided to try again and on the next Run1 I took out the \ Every thing installed. I cannot explain why or how this works, but it does work. One Start Of The Install Two Installing Axialis And Showing RunOnceEx.cmd Three Showing InstallP2.JPG In Ms Paint And TaskManager Four Installing Mozzila Self Extracting Winrar Five Installing Nero Self Extracting Winrar Six Show RunOnceEx Location Seven Spy Bot Being Install Eight Asking To Reg Something Nine Confirming The Reg You Will Notice In The Last 2 Images M:app\ Is The Path and That it worked -
half of progs install half don't?
gunsmokingman replied to millington_lee's topic in Unattended Windows 2000/XP/2003
I have Redit Your File Hope This Works Better The Stuff In Red Was a Correction I would recommend putting this in A to Z Order For The Install -
Count down in a batch file
gunsmokingman replied to sixpack's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I am not a coder but here what i worked out. echo off cls && mode con: Cols=55 Lines=5 && Color 9f && TITLE COUNTDOWN > Rest1.vbs Echo Wscript.sleep 875 && SET R1=Start /w Rest1.vbs CLS ECHO. && Echo .5 && ECHO COUNTDOWN 5 >> Test.txt && %R1% && CLS && ECHO. && Echo ..4 && ECHO COUNTDOWN 4 >> Test.txt && %R1% && CLS ECHO. && Echo ...3 && ECHO COUNTDOWN 3 >> Test.txt && %R1% && CLS && ECHO. && ECHO ....2 && ECHO COUNTDOWN 2 >> Test.txt && %R1% CLS && ECHO. && ECHO .....1 && ECHO COUNTDOWN 1 >> Test.txt && %R1% && CLS && COLOR F2 ECHO. && ECHO CONTINUE >> Test.txt SET /P = CONTINUE DEL REST1.VBS && Test.txt DEL Test.txt -
need help with batch an if statement
gunsmokingman replied to minigun's topic in Unattended Windows 2000/XP/2003
Here Mine It Has Yes No And A Quit Part For Only One Letter Input ECHO OFF CLS COLOR F2 MODE CON: COLS=55 LINES=7 TITLE YES NO QUIT :MAIN ECHO. && ECHO Y FOR YES ® && ECHO N FOR NO ® && ECHO Q FOR QUIT ® SET Choice= SET /P Choice=Type the letter and press Enter: IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1% IF /I '%Choice%'=='Y' GOTO YES IF /I '%Choice%'=='N' GOTO No IF /I '%Choice%'=='Q' GOTO QUIT ECHO "%Choice%" is not valid. Please try again. GOTO MAIN :YES cls && ECHO. && ECHO Press Key to Return && SET /P = YOU SAID YES GOTO MAIN :NO cls && ECHO. && ECHO Press Key to Return && SET /P = YOU SAID NO GOTO MAIN :QUIT cls && ECHO. && SET /P = YOU SAID QUIT EXIT For Multiple Letter Input ECHO OFF CLS COLOR F2 MODE CON: COLS=55 LINES=7 TITLE YES NO QUIT :MAIN cls ECHO. && ECHO Yes FOR YES ® && ECHO No FOR NO ® && ECHO Quit FOR QUIT ® SET Choice= SET /P Choice=Type the letter and press Enter: IF NOT '%Choice%'=='' SET Choice=%Choice:~0,4% IF /I '%Choice%'=='Yes' GOTO YES IF /I '%Choice%'=='No' GOTO No IF /I '%Choice%'=='Quit' GOTO QUIT ECHO "%Choice%" is not valid. Please try again. GOTO MAIN :YES cls && ECHO. && ECHO Press Key to Return && SET /P = YOU SAID YES GOTO MAIN :NO cls && ECHO. && ECHO Press Key to Return && SET /P = YOU SAID NO GOTO MAIN :QUIT cls && ECHO. && SET /P = YOU SAID QUIT EXIT This Cmd Contains Both Of The Above Code Plus A Menu To Control It I Edit this now so the menu are straight now -
running batch minimized
gunsmokingman replied to cyberthug's topic in Unattended Windows 2000/XP/2003
Try This It Will Make A Small Box With Most Of What Was Echo Is Now On The Title bar @echo off Mode Con: Cols=40 Lines=2 color 8f TITLE Installing WinAmp 5.07 Pro ECHO. ECHO Please wait... start /wait %systemdrive%\install\winamp\winamp507_pro.exe /S /ncrc /install=DSRFQA start taskkill.exe /F /IM winamp.exe regedit /s %systemdrive%\install\winamp\regkey.reg TITLE Unregistering WinAmp Agent REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /f exit -
[TIP] give plug-in capability to your CD
gunsmokingman replied to prathapml's topic in Unattended Windows 2000/XP/2003
I agree with you all the way I forgot I had the sleep cmd it was just an alternative is all keep up the good work -
[TIP] give plug-in capability to your CD
gunsmokingman replied to prathapml's topic in Unattended Windows 2000/XP/2003
That from This page Ms Cmd Processor Page The Windows 2000 Resource Kits provide sleep.exe to allow a batch file to sleep for n seconds. You can emulate this behavior by using the PING (Packet InterNet Groper) command: ping -n seconds+1 127.0.0.1>nul To sleep for 15 seconds, type: ping -n 16 127.0.0.1>nul The sleep cmd is not included in XP Deploy Tool So what would you do if you didnt have sleep? -
loading files to work with RunOnceex
gunsmokingman replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
I will show you again Radimus FOR %%D IN (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 %%D:\WIN51IP SET CDROM=%%D: Please Note the differences That the RunOnce I used To Install Never Had A problem Every Thing do if exist %%i\ gets past to setup. exe which would get the varibles pass from the cd All Xp Cd has setup.exe so it looking for setup.exe On WHATEVER:\setup.exe -
loading files to work with RunOnceex
gunsmokingman replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
No I Didnt it get passed along I used This for my Cd and It never failed. 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 It Would Translate this way C:\ D:\ E:\ all the way to z Yours wth my code REG ADD %KEY%\010 /VE /D "Installing Paint Shop Pro 8" /f REG ADD %KEY%\010 /V 1 /D "%CDROM%\APPS\PSP8\JPSP8.msi /qn " /f Tranlates this way C:\\APPS\PSP8\ D:\\APPS\PSP8\ E:\\APPS\PSP8\ This way I dont Have to Type \Apps this for each entry -
loading files to work with RunOnceex
gunsmokingman replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
This is for a install from Cd You Will Need a folder Called Apps On Your XP CD For This To work For More Information Please Read This runonceex.htm -
It This Line Edit from
-
I never ran into a problem yet on this As I install my Explorer.exe with hacked Icons and Some Minor Changes This Gives A right Click Function To Start The Run Dialog From Taskbar
-
You will Need Resource Hacker Or What Ever App You Use To Do This I Gunsmokingman give all users full permission to do what ever they want with this script. 1:\ Resource Hacker 2:\ Make A Temp Work Area In %systemdrive%:\WHATEVER 3:\ Goto %systemdrive%:\Windows Directory Than Right Click explorer.exe and than hit copy 4:\ Go Back to %systemdrive%:\WHATEVER right click and paste explorer.exe 5:\ Open Resource Hacker And Open %systemdrive%:\WHATEVER\explorer.exe 6:\ Than Expand The Folder Called String Table 7:\ Than Expand String Table\37\1033 1033 is where the string you want to edit. PLEASE USE CAUTION WHEN EDITING OR MODIFING ANY OF WINDOWS FILES 8:\ If you have this directory %systemdrive%\XPCD\i386 Copy And Paste And Save As WHATEVER.Cmd After You Have Done Changing Hope This helps WHATEVER.cmd
-
Here is a Clean Up Cmd Template For A Ua This script removes every thing and it self Stuff In Red Is Safe To Remove From Script Stuff In Green Is What You Need To Change To Match Your Needs Stuff In Blue Can Be Changed Or Deleted Stuff In Purple Use Care In Modifing I Gunsmokingman give all users full permission to do what ever they want with this script. R1_CleanUp.cmd
-
Try This Yours
-
how do i change hard drive icons (just that)
gunsmokingman replied to Astalavista's topic in Unattended Windows 2000/XP/2003
Here is where the Icons Came From Fooods Icons Here is another Example Of Hacking The Shell Files This Is my run box -
how do i change hard drive icons (just that)
gunsmokingman replied to Astalavista's topic in Unattended Windows 2000/XP/2003
That the short way it correct but you need to do this also copy the file to a new folder on your %systemdrive%\WHATEVERNAME This is so you can save the file, after making any changes. If you try to change any of Windows Files in Windows It will not save. -
how do i change hard drive icons (just that)
gunsmokingman replied to Astalavista's topic in Unattended Windows 2000/XP/2003
It easier to just hack your own shell32.dll To Change The Hard Drive You Have To Change Icon 008 or 009 in shell32.dll To Change My Computer Icon Change 001 Icon In Explorer.exe. -
I have Up Dated My Template Cmd It Now Will Do This 1:\ Run A Very Simple Demo Of User Input From Cmd To VBS Back To Cmd This Means You will Type Something Than It Open Another Vbs Box With What You Inputted. Than A Cmd Window Will Echo Back Your Responce 2:\ Run A VBS Script To Set The Cd Var 3:\ Make And Remove Folder Threw The Vbs Function 4:\ Make And Run A Simple Cmd You Input These Paramaters Name Of The Cmd The Width Of The Screen The Hieght Of The Sceen The Background And Text Color A Message That Will Echo Out What You Type In Than Run The Cmd That You Made 5:\ Make A RunOnceEx.cmd This One You Have To Add All The Switches I made It To Save Me Typing A New One Each Time I Decided To Update My CD.
-
[TIP] give plug-in capability to your CD
gunsmokingman replied to prathapml's topic in Unattended Windows 2000/XP/2003
Nice post I found it usefull. Here is a ping cmd that will echo back a message echo off cls color f8 mode con: Cols=45 Lines=3 Title Ping Test echo. ping -n 3 127.0.0.1 | Echo TEMP STOP TEST SCREEN cls echo. Set /p = Press Any Key To Quit -
Cannot get Regtweaks to work.Tried 5 times..Help
gunsmokingman replied to Caycep's topic in Unattended Windows 2000/XP/2003
Simple Most Of those are on By Defualt And Since I dont Need To use them why leave them on. -
Network Installation Script
gunsmokingman replied to Nutso's topic in Unattended Windows 2000/XP/2003
It has to do with this error I believe . This is the error I get when I try to use Cmd Threw My Network Places If I map the drive then the error does not occur. -
[Components] section isn't processed
gunsmokingman replied to Injecter's topic in Unattended Windows 2000/XP/2003
I had a similar problem, every thing was working except the componets parts. My Fix was to add a more complete componet list. That help me, not sure if that will help you. [Components] AutoUpdate=On Calc=On Deskpaper=On Dialer=Off Dtcnetwork=Off Fax=Off Fp_extensions=Off Fp_vdir_deploy=Off Freecell=off Hearts=off Iis_ftp=Off Iis_htmla=Off Iis_doc=Off Iis_inetmgr=Off Iis_internetdataconnector=Off Iis_nntp=Off Iis_pwmgr=Off Iis_serversideincludes=Off Iis_smtp=Off Iis_smtp_docs=Off Iis_webadmin=Off Iis_webdav=Off Iis_www=Off Iis_www_vdir_printers=Off Iis_www_vdir_scripts=Off Iis_www_vdir_terminalservices=Off Indexsrv_system=Off Inetprint=Off Licenseserver=Off Media_clips=On Media_utopia=On Minesweeper=On Mousepoint=On msmsgs=off Msnexplr=Off Mswordpad=On Paint=On Pinball=Off Rec=On Rootautoupdate=On Rstorage=On Solitaire=On Spider=On Templates=On zonegames=Off Hope this helps -
Cannot get Regtweaks to work.Tried 5 times..Help
gunsmokingman replied to Caycep's topic in Unattended Windows 2000/XP/2003
This is what my Cmdlines.txt file looks like. [COMMANDS] "REGEDIT /S 000.reg" "REGEDIT /S 020.reg" "REGEDIT /S 040.reg" "REGEDIT /S 060.reg" "REGEDIT /S 080.reg" "Theme.cmd" "RunOnceEx.cmd" My Winnt.sif ;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 [GuiUnattended] AdminPassword="some thing or a another" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1 [UserData] ProductKey=12345-12345-12345-12345-12345 FullName="some name" OrgName="name some" ComputerName=name some name [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=60 [Identification] JoinWorkgroup=MSHOME [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [params.Adapter1] INFID=* [NetClients] MS_MSClient=params.MS_MSClient [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=No AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=2 [SystemRestore] CheckpointCalendarFrequency = 2 CheckpointSessionFrequency = 12 MaximumDataStorePercentOfDisk=4 [Components] AutoUpdate=On Calc=On Deskpaper=On Dialer=Off Dtcnetwork=Off Fax=Off Fp_extensions=Off Fp_vdir_deploy=Off Freecell=off Hearts=off Iis_ftp=Off Iis_htmla=Off Iis_doc=Off Iis_inetmgr=Off Iis_internetdataconnector=Off Iis_nntp=Off Iis_pwmgr=Off Iis_serversideincludes=Off Iis_smtp=Off Iis_smtp_docs=Off Iis_webadmin=Off Iis_webdav=Off Iis_www=Off Iis_www_vdir_printers=Off Iis_www_vdir_scripts=Off Iis_www_vdir_terminalservices=Off Indexsrv_system=Off Inetprint=Off Licenseserver=Off Media_clips=On Media_utopia=On Minesweeper=On Mousepoint=On msmsgs=off Msnexplr=Off Mswordpad=On Paint=On Pinball=Off Rec=On Rootautoupdate=On Rstorage=On Solitaire=On Spider=On Templates=On zonegames=Off [Shell] CustomDefaultThemeFile=%WinDir%\Resources\Themes\MCBlue.theme I have never had a problem using this settup. Yours Winnt.sif this is at the top [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] Yours This At The Bottom Part. [Data] AutoPartition=0 You have 2 data part I think you need it only one ;SetupMgrTag You Dont have this at the top. -
Here A Cmd File That has A Simple Menu System I use it as a template and thought it would help you. It has 5 Spot in it 2 just Echo Back A Message 1\ Just Echo out your cd drive 2\ Makes a Folder and Removes The Folder 3\ Output A Text File And Than Open The Text File and than delet the text file I have added some notes to it to help. That are in the script :: Any Text After These :: Are Notes In The script. Hope This Helps