Make a silent/unattended installaion file

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
most
Junior Member
Junior Member
Posts: 14
Joined: 2004-01-28, 10:11 UTC
Location: Stockholm / Sweden

Make a silent/unattended installaion file

Post by *most »

I've been trying to create a silent/unattended installaion file, I follow the guide at...
https://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F
I've tried both with WinRar and sfxhead_installer to repack but I get same error.
All I changed in INSTALL.INF is...

Code: Select all

auto=1
"The Setup information file was not found! You need to unpack the whole archive before running Install.exe!"

What am I doing wrong?

regards
Marcus

most
Junior Member
Junior Member
Posts: 14
Joined: 2004-01-28, 10:11 UTC
Location: Stockholm / Sweden

Re: Make a silent/unattended installaion file

Post by *most »

I jump the gun, I also added/changed these lines and now it works, not sure why.

Code: Select all

[auto]
alllang=0
iniloc=%ProgramFiles%\TotalCmd
iniall=1

[Destination]
Dir=%ProgramFiles%\TotalCmd

[Install]
2=wincmd.key

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Make a silent/unattended installaion file

Post by *ghisler(Author) »

What am I doing wrong?
You need to set the ZIP compression rate to 0 (zero). The installer does not contain the functions to unpack ZIP archives, just to read the list of files inside the archive. The reason is that these functions are larger than the space gained by packing the files. The CAB file containing the actual data has better compression than ZIP, and cannot be compressed any further.
Author of Total Commander
http://www.ghisler.com

Post Reply