Jump to content

Xp Setups way to expand setup files


Recommended Posts

Posted

Hi

i 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_ = 40kb

decompressed abc.dll = maybe 80kb

new compressed abc.dl_ = maybe 31kb

decompressed 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


Posted

the problem is that the normal expand.exe tool expands it wrong!

so no problems with names.. problem with the expand tool and command!

Posted

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 tool

http://ufpr.dl.sourceforge.net/sourceforge...nzip/7za429.zip

for 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

-aoa

this overwrites all files without andy questions if this is ok

Posted

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.

Posted

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!

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...