How to use SFXEHAD.SFX to create a custom installer?
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 7
- Joined: 2015-08-27, 14:49 UTC
How to use SFXEHAD.SFX to create a custom installer?
I am trying to use the SFXEHAD.SFX from
https://plugins.ghisler.com/addons/newinstaller.zip
to create a custom installer , but at install I get the message
"The setup information file not found!"
I've done the same steps as I used , everything worked then
George Mpouras
https://plugins.ghisler.com/addons/newinstaller.zip
to create a custom installer , but at install I get the message
"The setup information file not found!"
I've done the same steps as I used , everything worked then
George Mpouras
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Did you follow the instructions in readme.txt, especially this one:
Compression ratio: 0 (stored)
?
Compression ratio: 0 (stored)
?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2015-08-27, 14:49 UTC
It was the compression level. I set it to 0 and then worked.
But I notice a problematic behavior on an other test , that I am not sure it is my mistake.
I uncompress the tc900x64_rc1.exe installer , and copy there also the SFXHEAD.SFX from newinstaller.zip (64bit) as install.exe
when I run the install.exe it complaints about "The setup information file not found!" .This does not make sense
But I notice a problematic behavior on an other test , that I am not sure it is my mistake.
I uncompress the tc900x64_rc1.exe installer , and copy there also the SFXHEAD.SFX from newinstaller.zip (64bit) as install.exe
when I run the install.exe it complaints about "The setup information file not found!" .This does not make sense
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The sfxhead.sfx cannot work as standalone install.exe - it always looks for the install files appended to itself, not as separate files within the same directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2015-08-27, 14:49 UTC
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is planned for the CD installer too, but I haven't had the time yet. Why not use the new install method with installer and appended data?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2015-08-27, 14:49 UTC
It might seem so, but it's not true. I scripted it about 1.5 years ago using WinRAR. I did it like this:George Mpouras wrote:e.g. you can not pack the new install unattended , you have to do it manually
Code: Select all
WinRAR.exe a -m0 -afzip -ep1 -sfxH:\path\to\install32.exe -- "H:\unattended_tc_setup.exe" "H:\directory\with\tc\unattended\files\*.*"
- WinRAR must support all switches shown above (I used version 4.20).
- install32.exe is the installer from https://plugins.ghisler.com/addons/newinstaller.zip - I find it much more meaningful to name the files install32.exe/install64.exe instead of sfxhead.sfx.
- unattended_tc_setup.exe is the target file that gets created
But: you can still use the old installer if you want to. I still use it, because it's indeed easier to set up and it supports command line parameters like "install.exe unattended.inf".
[EDIT]
Added path to install32.exe
[/EDIT]
Regards
Dalai
Last edited by Dalai on 2016-10-21, 19:27 UTC, edited 2 times in total.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, here the updated installer:
https://plugins.ghisler.com/addons/installer.zip
It cannot be used as sfxhead.sfx!
https://plugins.ghisler.com/addons/installer.zip
It cannot be used as sfxhead.sfx!
Last edited by ghisler(Author) on 2016-10-20, 13:55 UTC, edited 1 time in total.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I thought that I was in the German forum. Fixed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2015-08-27, 14:49 UTC