mkdesktop=1 not working with Install.inf file In V10.00

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
NKPeet
Junior Member
Junior Member
Posts: 2
Joined: 2021-06-30, 20:13 UTC

mkdesktop=1 not working with Install.inf file In V10.00

Post by *NKPeet »

Dear author!

If i making silent installer by this description :
"
2. Download the new self-extracting installer
Download from here: sfxhead_installer.zip This is the new installer from Total Commander 10.
http://ghisler.fileburst.com/addons/sfxhead_installer.zip

a) To create a pure 64-bit installer, unpack the 64-bit sfxhead.sfx to the Total Commander folder.
or
b) To create a 32-bit or combined 32+64-bit installer, unpack the 32-bit sfxhead.sfx to the Total Commander folder.

Now open the installer file tcmd9xy.exe with Ctrl+PageDown
Unpack all the files with F5 to an empty directory
Edit the install.inf file with F4.
There is a section [auto], where you need to set auto= to 1.
You can also make changes to the default settings there, and change the target location in [Destination]. The installer will ignore this location if a previous installation is found, unless you set the option IgnoreOldLocation=1.
In menu Configuration - Options - ZIP packer, set the pack rate to '0' (store)
Select all the unpacked files
Pack them with Alt+F5, and check the option to create a self-extracting archive. This will use the sfxhead.sfx installer from the first two steps described above.
"
....then not created shortcut icon on desktop.
And Install.INF file included mkdesktop=1.
Every working, only icon isn't nowhere.
This setting it worked well before. Example Ver. 9.51, 9.50

Congratulation For This Amazing Application!

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

Re: mkdesktop=1 not working with Install.inf file In V10.00

Post by *ghisler(Author) »

Thanks for your report. Does it create the desktop icon when you
1. Run the unmodified installer and choose to install normally (not update)
2. Set auto=0 in your installer and then run it with option "normal install"?
Author of Total Commander
https://www.ghisler.com
NKPeet
Junior Member
Junior Member
Posts: 2
Joined: 2021-06-30, 20:13 UTC

Re: mkdesktop=1 not working with Install.inf file In V10.00

Post by *NKPeet »

Dear Author!

Thank you for your quick answer!
I tried both solutions. For me, the first option was the solution.

1.
So, if you want to create a silent installer and place an icon on your desktop, you still need to use the following parameter:
update = 0 (not update)
2.
The second solution also does not create an icon on the desktop if update = 1.
This would not be a perfect solution for me either, because my primary goal is to create a silent installer.

But despite all this, thank you very much for the answer and the solution!

Have a nice day!

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

Re: mkdesktop=1 not working with Install.inf file In V10.00

Post by *ghisler(Author) »

The second solution also does not create an icon on the desktop if update = 1.
Yes, if update=1 and the installer detects a previous version of Total Conmander, it just replaces it without creating any shortcuts! This is intentional, because the user may have removed (or moved) the shortcuts. It would be annoying to get them back with every update.
Author of Total Commander
https://www.ghisler.com
Post Reply