Content Type
Profiles
Forums
Events
Everything posted by BritishBulldog
-
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
as i burn to DVD i have not thought of that and i only install the burner part of nero which is only about 26 Mbytes, so that on a DVD is nothing. -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
@a06lp will try them on 2.9.8a tonight and let you know tomorrow, it is 15:30 here so i am at work now. Will get back to you on that. my files are added below wpi.rar -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
I have 2.9.2 from hasi -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
for the taskkill i found this cmd2[pn]=['taskkill.exe /F /IM isobuster.exe'] try this out as i dont use any apps that need this, i i´nstall them through autoit. -
need help with batch an if statement
BritishBulldog replied to minigun's topic in Unattended Windows 2000/XP/2003
Why should 'GoTo' die my2001? Its one of the 'Beste Befehle in englisch' :-) I GoTo the Pub I GoTo the Party I GoTo my mates -
need help with batch an if statement
BritishBulldog replied to minigun's topic in Unattended Windows 2000/XP/2003
Why should 'GoTo' die my2001? Its one of the 'Beste Befehle in englisch' :-) I GoTo the Pub I GoTo the Party I GoTo my mates -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
only just read this, i have never noticed it but will check it out and report back. @a06lp just checked mine and it does not come up in my list. have you tried rem'ing it out? does it still come up then. i call mine up from cmdlines.txt to just like yours so it must be in there somewhere else? If you want you can send me your WPI folder just delete any keys etc from your config.js. I can have a look through for you. -
I like nice one Astalavista. Will be editing my WPI specially for a background piccy
-
Unattended Office XP doesn't seem to work :(
BritishBulldog replied to peejaygee's topic in Unattended Windows 2000/XP/2003
will that work without quotes? wont it mess up at 'Office XP' in the directory? try to rename the directory to OfficeXP and then use this start /wait %systemdrive%\Install\Applications\OfficeXP\Cd1\setup.exe TRANSFORMS=Unattended.MST /qb- I find the best results if i dont have any spaces in my directory names. -
here is a site with lots of info on how to do this and what to use Video Help
-
need help with batch an if statement
BritishBulldog replied to minigun's topic in Unattended Windows 2000/XP/2003
this is a lot easier than the above codes doesnt matter if you use capitals or not both are in there just add your 'yes' code to where 'echo yes' is and your no code to where 'echo no' is @echo off :start cls set /p userinp=choose a yes/no(Y-N): set userinp=%userinp:~0,1% if "%userinp%"=="Y" goto yes if "%userinp%"=="y" goto yes if "%userinp%"=="N" goto no if "%userinp%"=="n" goto no echo invalid choice goto start :yes echo YES goto end :no echo NO goto end :end pause>nul -
Convert start.cmd to runonceex.cmd
BritishBulldog replied to greg_285's topic in Unattended Windows 2000/XP/2003
mind you the quotes around the mst you can leave out. REG ADD %KEY%\020 /VE /D "Pack Microsoft Office 2003" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Applications\Office2003\setup.exe TRANSFORMS=unattended.mst /qb-" /f Easier to look at and not tending to make mistakes. -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
not sure if you can have the item hidden but this will install it wether it is checked or not var forc=['yes'] // Force installation of application even if not Checked -
loading files to work with RunOnceex
BritishBulldog replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
yes it LOOKS for setup.exe on the CD but the variable is passed on in set CDROM=%%i and there only D: or E: is passed on, That is what the difference is. MHz you are correct there is no backslash as my picture from the registry proves. and i am only trying to help as a bad part on the beginning puts the whole cmd file out -
loading files to work with RunOnceex
BritishBulldog replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
Radimus of course it works you give the variable CDROM the value from%%D plus the : behind it in SET CDROM=%%D: and in your lines you give the slash after %CDROM% REG ADD %KEY%\105 /V 1 /D "%cdrom%\Installs\AvastAV\setupeng.exe /SILENT /SP- -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
only just seen your post, no in the winnt.sif you dont need a callup to wpi.hta any more -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
Hi yours has this in it mine does not, see red REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /f I dont know if it works like that but i can check. have just checked and yours does also work so there is no difference. I check the registry at HKey_Local_Machine\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 and just see what the contents are, see below, if the syntax looks ok then it more than often is good to go. but dont forget to delete this entry otherwise with a new start it will start installing -
loading files to work with RunOnceex
BritishBulldog replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
Have you tried your code? I have and it gives the registry entry as in the picture below without a slash. It does not work because with this 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 you might be checking if say D:\SETUP.exe exists and if it is you give CDROM the value from %%i at the end of the line which still is only C: D: E: and so forth, where do you give it the slash? -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
ok first point is they can both be run from cmdlines.txt on the coding for WPI.cmd this should work and the rest looks ok too. set tagfile=\WIN51 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:%tagfile% set CDROM=%%i -
loading files to work with RunOnceex
BritishBulldog replied to amazonjustice's topic in Unattended Windows 2000/XP/2003
@gunsmokingman you forgot one backslash after %CDROM% should be REG ADD %KEY%\010 /V 1 /D "%CDROM%\Apps\SOME-APP-FOLDER\INSTALLTHIS.EXE /silent /v/qb " /f @amazonjustice Correct Yes Yes everythingFor an app such as Paint Shop Pro 8 If you make a directory in the root of your cd called APPS and in that a directory called PSP8 then you would have to copy the complete Paint Shop Pro 8 files into this directory. You always need all files plus sub directories in there. The RunOnceEx.cmd would look like this cmdow @ /HID @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 SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "The Install Section" /f REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f 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 If you use this method ie. from CDROM then you wont have everything being copied to the hard drive . Install time is far shorter as the APPs directory is not copied to the hard drive but the apps are installed directly from the cd. -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
Hi, I am not sure if the RegTweaks would run like that from the cmdlines.txt. They would be run straight away and not at first logon. The WPI.cmd would work ok. If you want the RegTweaks to run at first logon then add them To the WPI.cmd as below. here is a timeline for WInXP TimeLine What actually happens is at T-12 cmdlines is run, so with yours it would do the tweaks then. It would then run your WPI.cmd which only puts the 3 REG ADD lines into the registry under the RunOnceEx. This is only started on first logon So this would run the WPI at first logon and then run the RegTweak.reg, but it must then be in CDROM\TWEAKS\RegTwaek.reg, you can change the directory to what you want. cmdow @ /HID @echo off 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\CD.TXT SET CDROM=%%d SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /f REG ADD %KEY%\002 /VE /D "Adding RegTweaks..." /f REG ADD %KEY%\002 /V 1 /D "REGEDIT /S %CDROM%\Tweaks\RegTweaks.reg" /f EXIT For this to work you must add a CD.TXT to the root of your CDROM. you can make this file up yourself. Its just a normal text file and need no contents in it. What this line does is looks on all drives from D: to Z: (if they are there) and checks to see if a CD.TXT file is there if so it writes to the variable CDROM the drive letter. So that when REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /f is run the %CDROM% is changed to get D:\WPI\WPI.hta -
WPI_2.7_Final by the Brain & Gresh
BritishBulldog replied to bishooman's topic in Windows Post-Install Wizard (WPI)
That is not true on my cd i have CDROM:\install\wpi in cmdlines.txt i have [COMMANDS] "RunOnceEx.cmd" in RunOnceEx.cmd is my wpi call up cmdow @ /HID @echo off 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\CD.TXT SET CDROM=%%d SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\wpi\WPI.hta" /f EXIT all my software is in the CDROM:\Install\XXXXX and in config.js is as cmd1[pn]=['%cdrom%\\Install\\Driver\\Sigma\\setup.exe -s -f2"%systemdrive%\\sigma.log"'] So i copy nothing to hard drive not even the wpi folder. -
Run winnt.sif from floppy?
BritishBulldog replied to SLipEdd's topic in Unattended Windows 2000/XP/2003
not that i know of as this would be good for companies etc. -
Well i think that is a good idea, never thought of that I use that without the SendKeys, but that perfects it in certain circumstances.
-
how do i change hard drive icons (just that)
BritishBulldog replied to Astalavista's topic in Unattended Windows 2000/XP/2003
a very interesting thread, would like to know more about that run box, can you point me in the right direction Thanks Astalavista I'm game for a cup of tea