Guest bitch Posted October 4, 2003 Posted October 4, 2003 yo,iam using C:\ only for Windows XP and F:\ is my hidden Partition..there r the BootFiles for XP and D:\ for my Programs...I wanna Install the Programs default on D:\Program Files...but how can i add this info to the winnt.sif ??i searched the board but find nuttin iam using a SATA HDDPS.: hope this is english enough iam not a english guy edit: and i want the PageFile on D:\ 1536 - 3072 MBhere r my batchfiles mainbatch.cmdCLS@echo offECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.ECHO Removing Wallpapers...DEL "C:\*.bmp"ECHO.ECHO Removing useless shortcuts...DEL "C:\Dokumente und Einstellungen\All Users\Startmenü\Windows Update.lnk"DEL "C:\Dokumente und Einstellungen\All Users\Startmenü\Programmzugriff und -standards.lnk"DEL "C:\Dokumente und Einstellungen\All Users\StartMenü\Windows-Katalog.lnk"ECHO.ECHO Removing Screensavers...DEL "C:\system32\dllcache\scrnsave.scr"DEL "C:\system32\dllcache\ss3dfo.scr"DEL "C:\system32\dllcache\ssbezier.scr"DEL "C:\system32\dllcache\ssflwbox.scr"DEL "C:\system32\dllcache\ssmarque.scr"DEL "C:\system32\dllcache\ssmypics.scr"DEL "C:\system32\dllcache\ssmyst.scr"DEL "C:\system32\dllcache\sspipes.scr"DEL "C:\system32\dllcache\ssstars.scr"DEL "C:\system32\dllcache\sstext3d.scr"DEL "C:\system32\scrnsave.scr"DEL "C:\system32\ss3dfo.scr"DEL "C:\system32\ssbezier.scr"DEL "C:\system32\ssflwbox.scr"DEL "C:\system32\ssmarque.scr"DEL "C:\system32\ssmypics.scr"DEL "C:\system32\ssmyst.scr"DEL "C:\system32\sspipes.scr"DEL "C:\system32\ssstars.scr"DEL "C:\system32\sstext3d.scr"ECHO.ECHO Installing Windows Script 5.6start /wait %systemdrive%\install\js56nde.exe /Q:A /R:NECHO.ECHO Installing Microsoft VMstart /wait %systemdrive%\install\msjavwu.exe /Q:A /R:NECHO.ECHO Installing Windows Script 5.6start /wait %systemdrive%\install\vbs56nde.exe /Q:A /R:NECHO.ECHO Installing DirectX 9.0bstart /wait \%systemdrive%\install\DirectX9\dxsetup.exe /opkECHO.ECHO Copying patched UXTheme.dll...REN C:\System32\dllcache\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "C:\System32\dllcache\"REN C:\System32\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "C:\System32\"hotfixes.cmdCLS@echo offECHO.ECHO Installing Windows Update HotfixesECHO.ECHO Windows XP Professional Unchecked Buffer in Windows Help Facility Could Enable Code Execution...start /wait %systemdrive%\Hotfixes\Q323255.exe /Q /M /ZECHO.ECHO Installing Q327979...start /wait %systemdrive%\Hotfixes\Q327979.exe /Q /M /ZECHO.ECHO Windows XP Professional Flaw in Windows WM_TIMER Message Handling Could Enable Privilege Elevation...start /wait %systemdrive%\Hotfixes\Q328310.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in File Decompression Functions Could Lead to Code Execution...start /wait %systemdrive%\Hotfixes\Q329048.exe /Q /M /ZECHO.ECHO Windows XP Professional Certificate Validation Flaw Could Enable Identity Spoofing...start /wait %systemdrive%\Hotfixes\Q329115.exe /Q /M /ZECHO.ECHO Windows XP Professional Flaw in SMB Signing Could Enable Group Policy to be Modified...start /wait %systemdrive%\Hotfixes\Q329170.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in Windows Shell Could Enable System Compromise...start /wait %systemdrive%\Hotfixes\Q329390.exe /Q /M /ZECHO.ECHO Installing Q329441...start /wait %systemdrive%\Hotfixes\Q329441.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in PPTP Implementation Could Enable Denial of Service Attacks...start /wait %systemdrive%\Hotfixes\Q329834.exe /Q /M /ZECHO.ECHO Windows XP Professional Flaw in RPC Endpoint Mapper Could Allow Denial of Service Attacks...start /wait %systemdrive%\Hotfixes\Q331953.exe /Q /M /ZECHO.ECHO Installing Q810565...start /wait %systemdrive%\Hotfixes\Q810565.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in Windows Redirector Could Allow Privilege Elevation...start /wait %systemdrive%\Hotfixes\Q810577.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in Locator Service Could Lead to Code Execution...start /wait %systemdrive%\Hotfixes\Q810833.exe /Q /M /ZECHO.ECHO Installing Q811630...start /wait %systemdrive%\Hotfixes\Q811630.exe /Q /M /ZECHO.ECHO Installing Q814033...start /wait %systemdrive%\Hotfixes\Q814033.exe /Q /M /ZECHO.ECHO Installing Q814995...start /wait %systemdrive%\Hotfixes\Q814995.exe /Q /M /ZECHO.ECHO Windows XP Professional Unchecked Buffer in Windows Component Could Cause Web Server Compromise...start /wait %systemdrive%\Hotfixes\Q815021.exe /Q /M /ZECHO.ECHO Installing Q815485...start /wait %systemdrive%\Hotfixes\Q815485.exe /Q /M /ZECHO.ECHO Installing Q817287...start /wait %systemdrive%\Hotfixes\Q817287.exe /Q /M /ZECHO.ECHO Windows XP Professional Buffer Overrun in Windows Kernel Message Handling Could Lead to Elevated Privileges...start /wait %systemdrive%\Hotfixes\Q811493.exe /Q /M /ZECHO.ECHO Installing Q815411...start /wait %systemdrive%\Hotfixes\Q815411.exe /Q /M /ZECHO.ECHO Windows XP Professional Buffer Overrun in Windows Could Lead to Data Corruption...start /wait %systemdrive%\Hotfixes\Q817606.exe /Q /M /ZECHO.ECHO Installing WinXP...start /wait %systemdrive%\Hotfixes\WinXP.exe /Q /M /ZECHO.ECHO Installing WinXP1...start /wait %systemdrive%\Hotfixes\WinXP1.exe /Q /M /ZECHO.ECHO Installing WinXP2...start /wait %systemdrive%\Hotfixes\WinXP2.exe /Q /M /ZECHO.ECHO Installing WinXP3...start /wait %systemdrive%\Hotfixes\WinXP3.exe /Q /M /ZECHO.ECHO Installing WinXP4...start /wait %systemdrive%\Hotfixes\WinXP4.exe /Q /M /ZECHO.ECHO Installing hu1002...start /wait %systemdrive%\Hotfixes\hu1002.exe /Q:A /R:NECHO.ECHO Internet Explorer 6 Cumulative Patch for Outlook Express...start /wait %systemdrive%\Hotfixes\q330994.exe /Q:A /R:NECHO.ECHO Internet Explorer 6 Cumulative Patch for Internet Explorer...start /wait %systemdrive%\Hotfixes\q818529.exe /Q:A /R:NECHO.ECHO Installing Q817787...start /wait %systemdrive%\Hotfixes\Q817787.exe /Q:A /R:NECHO.ECHO Installing Q819639...start /wait %systemdrive%\Hotfixes\Q819639.exe /Q:A /R:NECHO.ECHO Windows XP Professional Buffer Overrun In RPC Interface Could Allow Code Execution...start /wait %systemdrive%\Hotfixes\KB823980.exe /Q /M /ZECHO.ECHO Installing Security Update for Microsoft Data Access Components...start /wait %systemdrive%\Hotfixes\Q823718.exe /Q /C:"dahotfix /Q /N"ECHO.ECHO Installing KB825116...start /wait %systemdrive%\Hotfixes\KB825116.exe /Q /M /ZApplications.cmdCLS@echo offECHO.ECHO Installing Adobe Reader 6ECHO Please wait...start /wait %systemdrive%\Applications\AdobeReader6\AR6.msi /QBECHO.ECHO Installing Nero Burning ROM v6.0.0.19ECHO Please wait...start /wait %systemdrive%\Applications\Nero6\Nero60019.exe /silent /norebootECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %systemdrive%\Applications\Nero6\register.regECHO.ECHO Installing WinRAR 3.20ECHO Please wait...start /wait %systemdrive%\Applications\WinRAR\wrar320d.exe /silentECHO.ECHO Installing DivX 5.1ECHO Please wait...start /wait %systemdrive%\Applications\DivX\DivXPro51Bundle.exe /sECHO Installing Cyberlink PowerDVD 5.0ECHO Please wait...start /wait %systemdrive%\Applications\PowerDVD5\Setup.exe -s %systemdrive%\install\Applications\PowerDVD5\setup.issECHO.ECHO Installing Windows Media Player 9start /wait %systemdrive%\Applications\MediaPlayer9\mpsetup.exe /Q:A /R:NECHO.ECHO Installing Windows Media Player Updatestart /wait %systemdrive%\Applications\MediaPlayer9\KB817787.exe /Q:A /R:NECHO.ECHO Installing Microsoft .NET Framework 1.1start /wait %systemdrive%\Applications\NetFramework\netfx.msi /QBECHO.ECHO Installing Microsoft .NET Framework Language Packstart /wait %systemdrive%\Applications\NetFramework\langpack.exe /Q:A /R:NECHO.ECHO Deleting Temp Installation Files...RD /S /Q C:\installRD /S /Q C:\DriversRD /S /Q C:\Applications
996 Posted October 4, 2003 Posted October 4, 2003 Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]"ProgramFilesDir"="D:\\Program Files"there ya go...
Guest bitch Posted October 4, 2003 Posted October 4, 2003 but before winxp do the reghacks, is the IE,WMP,... all in C:\ installed o_O
DaveXP Posted October 4, 2003 Posted October 4, 2003 add it to the hive files in the i386 dir to do that.
Guest bitch Posted October 4, 2003 Posted October 4, 2003 u mean those files?HIVECLS.INFHIVEDEF.INFHIVESFT.INFHIVESYS.INFHIVEUSD.INFhere i must add [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]"ProgramFilesDir"="D:\\Program Files" ??and other questions... the D: Drive isnt formatted just the C:\i must format it with PQ Magic or will be this automatic formatted ?and i have 6 HDD´s... when i disconnect all the other HDD´s and connect it after the WinXP install i think the Drive Letters will be changed or? so maybe the D:\ Drive will be changed
DaveXP Posted October 4, 2003 Posted October 4, 2003 u mean those files?HIVECLS.INFHIVEDEF.INFHIVESFT.INFHIVESYS.INFHIVEUSD.INFhere i must add [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]"ProgramFilesDir"="D:\\Program Files" ??and other questions... the D: Drive isnt formatted just the C:\i must format it with PQ Magic or will be this automatic formatted ?and i have 6 HDD´s... when i disconnect all the other HDD´s and connect it after the WinXP install i think the Drive Letters will be changed or? so maybe the D:\ Drive will be changed to add it to the hive files it needs to be in a different format e.g. HKCR,"SOFTWARE\Microsoft\Windows\CurrentVersion",""," something like that.If the drive is not formated then it will not work.
Numinous Posted October 4, 2003 Posted October 4, 2003 dave not sure if its as straight forward as i first thought for redirecting folders in hives.. im sure it has something to do with when u create a new user and the %USERPROFILE% variable
DaveXP Posted October 4, 2003 Posted October 4, 2003 dave not sure if its as straight forward as i first thought for redirecting folders in hives.. im sure it has something to do with when u create a new user and the %USERPROFILE% variablei think they go under the admin default account thats why you still need reg tweaks for user settings unless you just use the admin account that windows makes.
Numinous Posted October 4, 2003 Posted October 4, 2003 i new i shoulda stuck with the admin account lol ill try it
Guest bitch Posted October 4, 2003 Posted October 4, 2003 HKCR,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",D:\Program Filesis this correct??HKCR = HKEY_Current_User or??i think i must add it to HKLM or ? o_Oand i heared its not good to make a NTFS partitions with PQ Magic for WinXP Installation ??!!
Thanatos Posted October 4, 2003 Posted October 4, 2003 Its HKLM, so HKLM\Software\microsoft\windows\current version\programfilesdir
Guest bitch Posted October 4, 2003 Posted October 4, 2003 i added the Line:HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",D:\Program Filesand treid to install wit vmware...but it says the Line 7 is not correct
Lucky-Striker Posted October 21, 2003 Posted October 21, 2003 @b***hOk, I'm searching for a solution for changing the programm path, too!Pls. tell me, which HIVE*.INF from the five you have modified?I think you must insert in the hive*.inf with following reg entry:HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\"ProgramFilesDir",0x00000002,"D:\Program Files"I think you must these only add to the hivesft.inf, but i don't know it's exactly.Maybe you can try it with VM Ware and post the result here! Perhaps you have found another right Solution, so pls. post it here too!Regards Lucky-Striker
Bachus Posted October 25, 2003 Posted October 25, 2003 Well, Lucky, I just tried your idea and I get a message that Line 7 of hivesft.inf is corrupted.
baliktad Posted October 25, 2003 Posted October 25, 2003 The way you can do what you want is by modifying your unattend.txt/winnt.sif. Modify the following lines as necessary.[unattended] ProgramFilesDir=d:\Programs CommonProgramFilesDir=d:\Programs\CommonWithout specifying those lines, XP will default to \Program Files and \Program Files\Common Files respectively, where \ represents the root of the partition onto which you are installing Windows.Note that the [unattended] section contains items that are applicable during text-mode setup, so you will need to have access to the desired target partition at that time. This may or may not be true in your case.
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