Nepali Posted June 24, 2006 Share Posted June 24, 2006 (edited) i have created UAXP CDto make the autobackup source (485 MB) i have kept same root i386 (485 MB) on "$OEM$\$$\backxp\i386\*.*" so that it will be copied to my "windows\backxp\i386\*.*"and i have created regfiles as which loads on runonceWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"SourcePath"="%systemroot%\\backxp\\""ServicePackSourcePath"="%systemroot%\\backxp\\"every thing went finebut later when i checked the CD "$OEM$\$$\backxp\i386"and the "windows\backup\i386" ,, it differsCD content is just 485 MB but "windows\backup\i386" is 945 MBthen i checked one file E.g "sysdm.cp_"(555 KB) on CD i386but found the same file "sysdm.cp_"(1455 KB) on "%systemroot%\\backupxp\\"i came to know that the CD sysdm.cp_ was compressed one and the "%systemroot%\\backupxp\\" was decompressed one but the file name was on compressed formWhat goes wrong in my process...how did it decompressed,, but the file extension remained the same as raw ?Either it should give exactly same file size and structure or should give correct file name and extension..plz help Edited July 16, 2006 by Nepali Link to comment Share on other sites More sharing options...
T D Posted June 25, 2006 Share Posted June 25, 2006 All I can say is try copying and pasting again!I have no idea... Link to comment Share on other sites More sharing options...
Nepali Posted June 25, 2006 Author Share Posted June 25, 2006 (edited) i have rebuild again..again the same problem..what i want is, it should copy my i386 folder to \\windows\backxp\i386 unattendedand the best idea is to paste my same root i386 to my $oem$\$$\backxp\i386 so that it will make that folder during textmode setup to the desired location.i suspect,, it expands the files but didn't change the file name.but why ???? Edited July 16, 2006 by Nepali Link to comment Share on other sites More sharing options...
pmshah Posted June 25, 2006 Share Posted June 25, 2006 (edited) You should look up some resources on the net relating to creating BartPe with the XP source file being on the hard disk. You can also look up on slipstreaming. All of them very clearly mention then using windows own copy command or functionality will expand the files & you would never be able to get them back on the cdrom 0f700 mb. You have to use some kind of file manager to do it. I use Total Commander. What you might try is using winrar or the like to create one single exe file to contain all the files you want on your hdd. Run this file from runonce to extract to their original size as on the cd & then delete the original copy of the rarsfx. Rarsfx can be programmed to selfdestruct after extraction as well as predefining the extraction destination. Edited June 25, 2006 by pmshah Link to comment Share on other sites More sharing options...
T D Posted June 26, 2006 Share Posted June 26, 2006 You could make a batch that copies i386 to windows.e.g.SetLocal enableextensionsSet xpdsk=%~d0\i386cd %xpdsk%\copy .\i386 "%systemroot%\Backup" I don't think copy.exe can copy folders so you might have to use robocopy from the windows 2003 resource kit. Link to comment Share on other sites More sharing options...
oioldman Posted July 4, 2006 Share Posted July 4, 2006 i use this which i found on here by somebody else, think i used search words of i386 copysave the below as copiesi386.cmd@ECHO OFFfor %%i 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 %%i:\cd.txt SET cdrom=%%i:robocopy %CDROM%\I386 /MIR /V %SystemDrive%\I386reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "Installation Sources" /t REG_MULTI_SZ /d "%SystemDrive%\I386" /freg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v SourcePath /d %SystemDrive% /freg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v ServicePackSourcePath /d %SystemDrive% /freg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v SourcePath /d %SystemDrive%\I386 /fexitensure you have robocopy in system32i use this in runonceex.cmd to call the aboveREG ADD %KEY%\010 /V 1 /D "runhiddenconsole.exe /W %CDROM%\Apps\Misc\copiesi386.cmd" /f Link to comment Share on other sites More sharing options...
Takeshi Posted July 5, 2006 Share Posted July 5, 2006 (edited) Not sure if it's relevant but the folder name keeps changing:In $OEM$\$$\ it's backxp,in windows it's backup,in the registry it's backupxp.What's going on? Edited July 5, 2006 by Takeshi Link to comment Share on other sites More sharing options...
amit_talkin Posted July 5, 2006 Share Posted July 5, 2006 (edited) ummmm....i think it is due to File System! which file system you have? NTFS or FAT32? i m not sure...but just wondering it may be due to this! Edited July 5, 2006 by amit_talkin Link to comment Share on other sites More sharing options...
Nepali Posted July 16, 2006 Author Share Posted July 16, 2006 i have checked on both file systemFAT32 and in NTFS,,same problem Link to comment Share on other sites More sharing options...
xous Posted July 17, 2006 Share Posted July 17, 2006 (edited) Take any file and compute the MD5 hashes of the two files (must be the same file)http://www.slavasoft.com/hashcalc/index.htmIf they are equal then it is probably the result of waste due to the block size of the file system.Edit: FYIOn my current XP disc (SP2 /w all critical updates integrated)File: SYSDM.CP_MD5 HASH: 0747984cf7eb6ad3572fb31d01e831dbThe Windows Calculator Program is the same version for every version of xp that I know of (retail/oem/corp of home/media center/professional) *grin*File: CALC.EX_MD5 HASH: e73cfccd7ddaff487f913f030f89f1d7 (should be the same for very version of xp's calc)Expanded hash: 829e4805b0e12b383ee09abdc9e2dc3c Edited July 17, 2006 by xous 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