This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How does TC try packer plugins for unregistered extensions?

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
__Vano
Junior Member
Junior Member


Joined: 12 Dec 2006
Posts: 9

PostPosted: Sat Aug 12, 2017 11:06 am    Post subject: How does TC try packer plugins for unregistered extensions? Reply with quote

Could someone describe the algorithm of how TC tries to open a file on Ctrl+PgDn if the extension is not registered in the [PackerPlugins] section? Can a debug output of this process be viewed somehow?

I'm trying to troubleshoot MultiArc not opening a specific exe installer despite the underlying console app opening it okay. The first thing is to pinpoint the problem - if MultiArc even gets control.
Back to top
View user's profile Send private message Send e-mail
deus-ex
Power Member
Power Member


Joined: 10 Feb 2003
Posts: 669
Location: Earth

PostPosted: Sat Aug 12, 2017 2:04 pm    Post subject: Reply with quote

From MultiArc's online helpfile (section Total Commander Plugin Handling):

  1. Total Commander checks, whether it can process a file with the given extension internally.

  2. If Total Commander can handle the file it is processed internally and no further search is done.

  3. If Total Commander cannot handle the file internally, it searches for the extension in the PackerPlugins section of Wincmd.ini.

  4. If a match is found, the file is forwarded to the associated plugin and the search is finished. Even if the plugin returns an error because it cannot handle the file type, no further search is done. For example the file extension EXE not only represents common applications but also self-extracting archives. There exist many different types of self-extracting archives such as RAR, ZIP, MSCAB, Install Shield and InnoSetup.

  5. If the extension is not found Total Commander tries every plugin entry of the PackerPlugins section, beginning from the first one. If a plugin can handle the file and responds to Total Commander, no further search is made. The search terminates after all plugins were checked unsuccessfully.

_________________
Best regards
deus-ex
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group