Sereby Posted October 10, 2005 Posted October 10, 2005 Hii you anybody here can help me with my problem!I changes the compression of all files in the xp-cd. works perf.! but the problem is that the xp setup cant expand the files correctly! for example:original compressed abc.dl_ = 40kbdecompressed abc.dll = maybe 80kbnew compressed abc.dl_ = maybe 31kbdecompressed with ms expand.exe the name is abc.dlØ (or what ever every time the last an special symbol!) = 31kb!so wrong name and not expanded because size is same!so can me anybody say how to say the xp setup to use a other tool and command to expand the files?Sereby
Asin Posted October 10, 2005 Posted October 10, 2005 Is there already a "abc.dll" file in that folder?
Sereby Posted October 10, 2005 Author Posted October 10, 2005 the problem is that the normal expand.exe tool expands it wrong!so no problems with names.. problem with the expand tool and command!
Sereby Posted October 11, 2005 Author Posted October 11, 2005 i do it for a friend.. he need to reduce the size of the cd (dont tell me to use nlite! he wants it ^^)i compress the files with this little toolhttp://ufpr.dl.sourceforge.net/sourceforge...nzip/7za429.zipfor the ms expand.exe is the command the following:expand -r %sourcefile% %destinationfile%but for 7zip it is this command:7za.exe x %sourcefile% -o%destinationfolder%-o = must be added if you want to place the expanded file into another folder!and optional you can add following command too-aoathis overwrites all files without andy questions if this is ok
InTheWayBoy Posted October 11, 2005 Posted October 11, 2005 Well I think your problem might be you are compressing the files with 7zip, but M$ doesn't use 7zip. They have their own compression scheme...unless 7zip has an option to emulate that. I've never really used 7zip all that much other than for SFX, so I don't know if it does...but I doubt it. I have run into an issue before where the expand.exe file was causing me grief...ended up downloading a newer version and that fixed all. But, I have to say I haven't run into an issue with that in quite some time.
Sereby Posted October 11, 2005 Author Posted October 11, 2005 you dont understand me!i know that 7zip compress it new.. better! but the expand.exe from ms cant expand it correct! 7zip has a better compression so i use it to compress the files!now i want that xp setup decompress the files with the 7zip tool not with expand.exe! but with other parameters too!
Zxian Posted October 11, 2005 Posted October 11, 2005 Compression is not simply compression. 7-zip and Microsoft use completely different algorithms to compress/decompress the files. You cannot use 7-zip to compress a file and then expect the expand.exe program to be able to decompress them. You can save some space by using Gosh's method of installation, or by removing the ability to upgrade from Win9x/Me (which I do in any case). With Gosh's method and no nLite, I was able to fit WinXP-SP2 and Office2003 (CD1) onto one CD.
Sereby Posted October 11, 2005 Author Posted October 11, 2005 i know that all!i want to know how i can change this tool and the parameter which xp setup uses!
InTheWayBoy Posted October 11, 2005 Posted October 11, 2005 Well then your answer is you can't...that expand.exe is the only thing that will work with XP setup. You can't just change it to whatever you want. You could try replacing the expand.exe with something else (Like the 7zip expander), but you won't get very far with that.M$ like to make things work their way and only their way...this is a good example.
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