Silent install - include plugin (sftp)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
steyrs
Junior Member
Junior Member
Posts: 17
Joined: 2011-03-03, 12:41 UTC

Silent install - include plugin (sftp)

Post by *steyrs »

Hey fellow TC users :o

I have already searched the forum - but with no luck.

Is it possible to include your favorite plugin when creating a silent install of TC?

In this particular case, I would like to include the plugin for SFTP (plugin created by Ghisler himself).
I would need to copy the needed files to the subfolder: plugins\wfx\sftpplug in the TC "root" folder.

What do I need to add in the install.inf to make that work?
Anyone knows?
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

You can add your files to [Install] section of install.inf. Please note that TC will overwrite the files listed in this section without any confirmation, so you could potentially lose files when TC is installed over an existing installation.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
steyrs
Junior Member
Junior Member
Posts: 17
Joined: 2011-03-03, 12:41 UTC

Post by *steyrs »

Hi Dalai.

I tried that already..
My install sections looks as follows:

[Install]
1=install.cab,c
2=wincmd.key
3=wincmd.ini
4=plugins

plugins is a folder - containing subfolders with the necessary files.
Nothing gets copied though during installation..

Maybe I need to tinker with a bit more - and see if I can get it working..

Will report back in this thread if I find a solution.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

steyrs wrote:My install sections looks as follows:

[Install]
1=install.cab,c
2=wincmd.key
3=wincmd.ini
4=plugins

plugins is a folder - containing subfolders with the necessary files.
Nothing gets copied though during installation..
Well, because it's a directory and the installer doesn't know this. It's just a guess: maybe you can add ",d" after the directory - so it becomes "plugins,d" - which is similar to the ",c" for compressed/cab files. If it doesn't work, there are several options: specify every single file in the plugins directory (may become tedious), or write some script that calls the TC installer and copies the plugins and other files afterwards. The latter is what I do to install TC including plugins, make some settings and so on.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
steyrs
Junior Member
Junior Member
Posts: 17
Joined: 2011-03-03, 12:41 UTC

Post by *steyrs »

Ok - thx for sharing Dalai.

I will tinker with it some more :)

Might end up doing it with some script as you suggest.
Personal License: 109213
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Just add your plugin folder with SFTP plugin to install.cab archive and add corresponding INI settings to [Ini] section of install.inf in form (all numbers must be sequential):

Code: Select all

number=ini_file,section,parameter,value
E.g. for SFTP plugin:

Code: Select all

[ini]
1=wincmd.ini,configuration,languageini
2=wincmd.ini,configuration,Mainmenu
3=wincmd.ini,FileSystemPlugins,Secure FTP,%COMMANDER_PATH%\plugins\wfx\sftpplug\sftpplug.wfx
User avatar
steyrs
Junior Member
Junior Member
Posts: 17
Joined: 2011-03-03, 12:41 UTC

Post by *steyrs »

Thx MVV

Have already tried to add files to the install.cab - without luck.
Tried adding using TC itself - and 7Zip - but no luck.

How can you add extra files to the cab file?
Personal License: 109213
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You need CAB packer of course. 7-Zip and TC itself can't pack CAB files. You can use MSCab tool (that may be used via MultiArc plugin) or e.g. Power Archiver tool, also years ago I've used to create CAB archives with WinAce tool.
User avatar
steyrs
Junior Member
Junior Member
Posts: 17
Joined: 2011-03-03, 12:41 UTC

Post by *steyrs »

Excellent info MVV!

Thanks a lot - will give it a go in near future!
Personal License: 109213
Post Reply