Cannot modify install.inf - zip error returned
Moderators: Hacker, petermad, Stefan2, white
Cannot modify install.inf - zip error returned
Hi,
I'm trying to modify install.inf - (inside latest exe - tcmd756a.exe) to my needs.
Using CTRL+pgdown - adding wincmd.ini + wincmd.key and modifying install.inf)
However repacking the exe-fil fails.
(Windows title - Error Creating ZIP!)
Error Text: ZIP file contains errors or has unknown format, cannot change!
Can anyone help?
I'm trying to modify install.inf - (inside latest exe - tcmd756a.exe) to my needs.
Using CTRL+pgdown - adding wincmd.ini + wincmd.key and modifying install.inf)
However repacking the exe-fil fails.
(Windows title - Error Creating ZIP!)
Error Text: ZIP file contains errors or has unknown format, cannot change!
Can anyone help?
It sure looks that way
Previously it was possible - Christian Ghisler himself gave the directions how to change install.inf inside the exe-file.
(Tried to post 2 links - but am not allowed - yet)
It was even possible in version 7.55 - where I was able to add my license-key, my wincmd.ini and edit the install.inf...
Previously it was possible - Christian Ghisler himself gave the directions how to change install.inf inside the exe-file.
(Tried to post 2 links - but am not allowed - yet)
It was even possible in version 7.55 - where I was able to add my license-key, my wincmd.ini and edit the install.inf...
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You need to:
1. Get the installer SFX EXE:
https://plugins.ghisler.com/addons/sfxhead_installer.zip
2. Unpack new sfxhead.sfx file to TC dir
3. Unpack the installer
4. Add your files
5. Create new ZIP with option "self-extracting"
1. Get the installer SFX EXE:
https://plugins.ghisler.com/addons/sfxhead_installer.zip
2. Unpack new sfxhead.sfx file to TC dir
3. Unpack the installer
4. Add your files
5. Create new ZIP with option "self-extracting"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Interesting. You can change:steyrs wrote:It was even possible in version 7.55 - where I was able to add my license-key, my wincmd.ini and edit the install.inf...
tcmdr650.exe
tcmdr651.exe
tcmdr652.exe
tcmdr653.exe
tcmdr654.exe
tcmd654a.exe
tcmdr700.exe (unsigned version, originally released)
tcmd750.exe
tcmd750a.exe
tcmd755.exe
tcmd755a.exe
You cannot change:
tcmdr655.exe
tcmd655a.exe
tcmdr656.exe
tcmdr657.exe
tcmdr658.exe
tcmdr700.exe (signed version)
tcmdr701.exe
tcmdr702.exe
tcmd702a.exe
tcmdr703.exe
tcmdr704.exe
tcmd704a.exe
tcmd756.exe
tcmd756a.exe
Unless you use an older version of TC (< TC 7). Then you can change all files.
Christian wrote
White wrote:
Great forum by the way - quick answers, and great help
TC is one of the best tools ever - can't live without it - use it every single day!
Excellent Christian - Thank you! I will try that.You need to:
1. Get the installer SFX EXE:
Link removed - cannot post yet
2. Unpack new sfxhead.sfx file to TC dir
3. Unpack the installer
4. Add your files
5. Create new ZIP with option "self-extracting"
White wrote:
Thanx White - Nice list - great overview!Interesting. You can change:
tcmdr650.exe
tcmdr651.exe
tcmdr652.exe
tcmdr653.exe
tcmdr654.exe
tcmd654a.exe
tcmdr700.exe (unsigned version, originally released)
tcmd750.exe
tcmd750a.exe
tcmd755.exe
tcmd755a.exe
You cannot change:
tcmdr655.exe
tcmd655a.exe
tcmdr656.exe
tcmdr657.exe
tcmdr658.exe
tcmdr700.exe (signed version)
tcmdr701.exe
tcmdr702.exe
tcmd702a.exe
tcmdr703.exe
tcmdr704.exe
tcmd704a.exe
tcmd756.exe
tcmd756a.exe
Unless you use an older version of TC (< TC 7). Then you can change all files.

Great forum by the way - quick answers, and great help
TC is one of the best tools ever - can't live without it - use it every single day!
Last edited by steyrs on 2011-03-04, 09:17 UTC, edited 1 time in total.
Personal License: 109213
Mission accomplished
I have now tried the suggestion from Christian.
Works perfectly (as expected)
Thanx!
Works perfectly (as expected)

Thanx!
Personal License: 109213
Seems this issue has been raised before. See Cannot modify TC7 installation package. In that thread Christian Ghisler wrote:white wrote:Unless you use an older version of TC (< TC 7). Then you can change all files.
ghisler(Author) wrote:This happens because the EXE is signed (including the ZIP part). Changing the archive would break the signature, therefore it's not supported by TC.
However that does not explain why it does seem to work fine when using other programs or when using older TC versions. It also does not explain why current versions of TC can change certain digitally signed installation packages and others not.ghisler(Author) wrote:Signing an EXE patches the EXE headers with the offsets of the signature. You cannot use it unsigned any more.
White wrote:
Guess the only one who can really answer that is Christian..
You've got a point White!However that does not explain why it does seem to work fine when using other programs or when using older TC versions. It also does not explain why current versions of TC can change certain digitally signed installation packages and others not.
Guess the only one who can really answer that is Christian..
Personal License: 109213
-
- New Member
- Posts: 1
- Joined: 2015-08-21, 07:36 UTC
Plase provide an advise
I am sorry, but I don't get it, could you please decribe/explain how to do it (for stupid like me)? I need an unattended instalation, but the install.inf files cannot be simply edited, because of the package "signature".
Thank you in advance
Thank you in advance
ghisler(Author) wrote:You need to:
1. Get the installer SFX EXE:
2. Unpack new sfxhead.sfx file to TC dir
3. Unpack the installer
4. Add your files
5. Create new ZIP with option "self-extracting"
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
5a. before you click OK in the "pack" dialog, click on "configure". Then set the "Internal zip compression" to "other" and 0 (zero compression).
Why? The installer cannot actually unpack zip. Instead, it looks inside itself for the inf, cab etc. files and reads them uncompressed from itself.
Why? The installer cannot actually unpack zip. Instead, it looks inside itself for the inf, cab etc. files and reads them uncompressed from itself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 3
- Joined: 2016-10-14, 13:38 UTC
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The 7.x installer uses a different method than the 8.5x installer. Which installer do you want to modify exactly?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 3
- Joined: 2016-10-14, 13:38 UTC
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You need to follow the guide in the Wiki. Modifying the exe directly will not work because it is digitally signed.
http://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F
http://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com