Jump to content

Burning self-extracting installer files to cd


Recommended Posts

Posted

Hi, I've extracted files from a self-extracting installer (.exe file with winrar) on my HDD, so that I can burn them on a cd, but the files become corrupt as soon as they are extracted. When I click on setup, a message warns me of fatal error.

Where can this come from? Can anyone please inform me of what I should do exactly?

Thanks in advance

Sid


Posted (edited)

There are probably hidden switches being applied to the setup file.

such as: setup.exe /qb /norestart

to see these switches, run the following command from a command prompt:

Find /I "RunProgram=" "FullPath\to\SelfExtractNameHere.exe"

of course, replace FullPath\to\SelfExtractNameHere with the appropriate information.

shark

Edited by Shark007
Posted

Burning at high speeds is known for corrupting compressed files. The more compressed the data that you burn, the slower you should burn for success. Low quality CD media can also cause some problems.

Posted

Thanks for your replies.

Shark007, the path of the file is E:\OfficeSTD.exe

So I entered Find /I "RunProgram=" " E:\OfficeSTD.exe" in cmd (following E:)

Is that what I had to do?

Thanks

Posted
Thanks for your replies.

Shark007, the path of the file is E:\OfficeSTD.exe

So I entered Find /I "RunProgram=" " E:\OfficeSTD.exe" in cmd (following E:)

Is that what I had to do?

Yep, except i noticed a SPACE just before the E:\

" E:\OfficeSTD.exe"

This woud cause the command to fail.

shark

Posted
.....

to see these switches, run the following command from a command prompt:

Find /I "RunProgram=" "FullPath\to\SelfExtractNameHere.exe"

of course, replace FullPath\to\SelfExtractNameHere with the appropriate information.

shark

works this with every installer/setup ?

Posted (edited)
works this with every installer/setup ?

No. This command only works on switchless installers crearted with 7zip.

shark

Edited by Shark007
Posted

I tried that command, and the only thing I get is

---------- E:\OFFICESTD.EXE

Is that because it wasn't created with 7zip (the file is the office 2003 trial found on MS website)?

Thanks

Posted
I tried that command, and the only thing I get is---------- E:\OFFICESTD.EXE

Is that because it wasn't created with 7zip (the file is the office 2003 trial found on MS website)?

correct.

shark

Posted

No solution?

Should I try another extractor or something like that?

That's the only problem I am having, once I extract the files they won't work correctly. Only does when I run the self-extracting installer (SFX CAB archive)

Posted

Tools:

1. Winrar

2. Programs that you want to compress and autoinstall.

3. Winrar:

select create SFX

select advance tab

select sfx option

select general tab

select setup program: enter your string i.e. exe /s or msi/qn etc.

select modes tab

select unpack to temp folder

select hide all

select overwrite all

click ok.

Posted

Thanks for your answer, but I don't want to compress files and autoinstall, but Uncompress an SFX archive so that I can burn the files.

When I open the SFX installer, it unpack to a temp folder and works fine but if I unpack these files manually (using winrar or whatever) it won't work. That is the problem.

Thanks

Sid

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...