Coolsights2000 Posted August 18, 2004 Share Posted August 18, 2004 Hi! AllIt is time consuming to re-burn a new CD each time to run a install test for your favorite programs so here is how I got around the re-burn when I run the test for installing my favorite programs. I hope someone else can use this cause I have found allot of great stuff here so far and I would like to add too it..I am using a CD-RW to play with a extra hard drive and I have my hard drive split up into to partitions C:/ And D:/ Just as a note remember this for later when you get all done you can burn the stuff onto the CD but change the environment variable %XPC% to look at the regular variable called %systemroot%\installWhat I did is put the install program in a folder called D:/XPCDinstall they will not be burned or moved during the install for the test,, They normal go in this one %yourpath%\$OEM$\$1\Install... I used XPCDinstall folder name on the D:\ drive so when I do a search it is easy to search a different variable nameStep oneopen the hivesys.inf file and add the middle line save and exit...HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","windir",0x00020002,"%SystemRoot%"HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","XPCD",0x00020002,"D:\XPCDinstall"HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Executive","AdditionalCriticalWorkerThreads",0x00010003,0Step Twocreate a folder on the D:\ drive called XPCDinstall this is where you will put all the stuff that you normal put in the %yourpath%\$OEM$\$1\Install that gets install during the RunoneEX when you log in the first time..Step Threeput a file called RunOnceEx.cmd in this folder %yourpath%\$OEM$\ This file normal set up the runonce keys but we are going to do it from the tick of the eye file XPCDRunOnceEx.cmdcmdow @ /HID@echo offstart %XPCD%\XPCDRunOnceEx.cmdstart /wait sleep.exe 10EXITStep Fouropen the cmdlines.txt and make sure you have this in there [COMMANDS]"RunOnceEx.cmd"Step Fivein the CDXPinstall folder on the hard drive save this in a file called XPCDRunOnceEX.cmd all this stuff normal go in the other runonceEX but we are putting it here ao you can change the runonceex keys with out hving to reburn cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Preparing Vernon's Profile" /fREG ADD %KEY%\010 /VE /D "SetUp ZoneAlarm" /fREG ADD %KEY%\010 /V 1 /D "%XPCD%\ZoneAlarm\ZoneAlarm.cmd" /fREG ADD %KEY%\015 /VE /D "SetUp PopUpCop" /fREG ADD %KEY%\015 /V 1 /D "%XPCD%\PopUpCop\Pop_Up_Cop.cmd" /fREG ADD %KEY%\020 /VE /D "AdShield" /fREG ADD %KEY%\020 /V 1 /D "%XPCD%\Adshield\AdShield.cmd" /fREG ADD %KEY%\025 /VE /D "spywareblaster" /fREG ADD %KEY%\025 /V 1 /D "%XPCD%\spywareblaster\spywareblasterUpdate.cmd" /fREG ADD %KEY%\030 /VE /D "IESPY List" /fREG ADD %KEY%\030 /V 1 /D "REGEDIT /S %XPCD%\IESPYList\ie-ads.reg" /fREG ADD %KEY%\030 /V 2 /D "REGEDIT /S %XPCD%\IESPYList\adult.reg" /fREG ADD %KEY%\980 /VE /D "Importing Folder Options" /fREG ADD %KEY%\980 /V 1 /D "REGEDIT /S %XPCD%\Folderoptions\FolderoptionsPart1.reg" /fREG ADD %KEY%\980 /V 2 /D "REGEDIT /S %XPCD%\Folderoptions\FolderoptionsPart2.reg" /fREG ADD %KEY%\985 /VE /D "Importing Register Tweaks *** NOTE *** add tOOL bar fix later" /fREG ADD %KEY%\985 /V 1 /D "REGEDIT /S %XPCD%\RegTweaks\regtweaks.reg" /fREG ADD %KEY%\990 /VE /D "Setting Services Startup Type" /fREG ADD %KEY%\990 /V 1 /D "REGEDIT /S %XPCD%\Services\Services.reg" /fREG ADD %KEY%\999 /VE /D "CleanUp Finish" /fREG ADD %KEY%\999 /V 1 /D "%XPCD%\CleanUpFinish\CleanUpFinish.cmd" /fEXITStep Sixhere is an example using popupcop inside the cmd I changed the normal %systemroot%\install to %XPCD%cmdow @ /HID@echo offClsTITLE Setup PopUpCopECHO.ECHO SetUp PopUpCopREGEDIT /S %XPCD%\PopUpCop\HKCUPoPUpCop.regREGEDIT /S %XPCD%\PopUpCop\HKLMPoPUpCop.regstart /wait %XPCD%\PopUpCop\PopUpCop.exe /s /v /qntaskkill /F /IM IEXPLORE.EXEREGEDIT /S %XPCD%\PopUpCop\HKCUPoPUpCop.regREGEDIT /S %XPCD%\PopUpCop\HKLMPoPUpCop.regEXIT__________________________________________________So as you can see when you run the test install by using the %XPCD% enviroment variable you can load the stuff from the D:drive.. and keep the old burned CD....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Now it is time for you to play just remember this is my layout and you will have to change the words to yours.....And if you are totally confused start by reading this..http://unattended.msfn.org/xp/runonceex.htmMac!P.S.I am going to leave my installations programs on the D:\ drive cause that is just the way I'm doing mine... Link to comment Share on other sites More sharing options...
bucketbuster Posted August 18, 2004 Share Posted August 18, 2004 Wouldn't it be easier to make a iso and test in Virtual PC or VMWare? Link to comment Share on other sites More sharing options...
Mosselman Posted August 18, 2004 Share Posted August 18, 2004 Wouldn't it be easier to make a iso and test in Virtual PC or VMWare? Much easier ... All that work and then you would have to change some stuff in the end aswell... Link to comment Share on other sites More sharing options...
Coolsights2000 Posted August 19, 2004 Author Share Posted August 19, 2004 Wouldn't it be easier to make a iso and test in Virtual PC or VMWare? Much easier ... All that work and then you would have to change some stuff in the end aswell... Much easier ... All that work and then you would have to change some stuff in the end as well...For me NO cause I am leaving the install files on the D:/ drive any way,,And I have not burned my final cause I'm using a CD-RW a rewritable CDWouldn't it be easier to make a iso and test in Virtual PC or VMWare? LOL I have a few big hard drive to play with and they are in Mobile Racks..http://www.techarts.com/products/drivedraw...w=mobile%20dockAlso it takes time to generate a new ISO to play with.. I took that travel time out of the equations..... I use the same CD-RW for each test run... ONLY the files on the D:\ changeAlso when you burn all setup program files into the iso you have to wait for windows to copy them all to the C:\ drive.. in my set up the programs are being installed from the D:\ drive... no pre copy needed.. travel time less even more... SO! This way I only have to edit the files on the second hard drive partition two.. and do a quick clean of the second drive parition one,, Then Virtual PC or VMWare is turn off the computer pull out my controlling hard drive then power back up... The second test drive boots up as master then.. and away we gooooooooo!!!!!!!!Pulling the control drive is turn the key switch to off and slide the rack forward a little so it is not connected electrically.. Link to comment Share on other sites More sharing options...
Coolsights2000 Posted August 19, 2004 Author Share Posted August 19, 2004 also in the end if it is posible I hope to have the ISO of my favorite install programs on the D:\ drive too and I will let Daemon tools spin them up then figure out what switches I need to install them silent ... and as time goes on I will just have to update the d:\drive with updates,,,so when i get ready to install a new drive I will just copy the D:\ drive to the new drive... and away we go with updates too.....Mac! Link to comment Share on other sites More sharing options...
Astalavista Posted August 19, 2004 Share Posted August 19, 2004 to time comsuming to do your method. virtual pc is the easiest thing to use Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now