packer plugin switcher

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

-
I didn't want to belittle your solution. Not at all. Sorry if it came across that way. I rather asked to check if I understood the scope of it.

I still don't understand how "two" can cover "several different" packer plugins? (quotes from your last post)
User avatar
HolgerK
Power Member
Power Member
Posts: 5408
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Uups, just want to explain in detail how it could work, and mentioned that it already works(under certain circumstances) :shock:

Okay. Let's assume you have three plugins that can be used to open a msi file:
Total7Zip
MSI Plus
NTFS-Streams
Only the msi plugin is registered for the extension msi.

Preparation:
- Define an "Internal association" for "*.msi *.msi2"

- Open command ** (default for system association)

- Add a [New] action:
Verb: Open with 7Zip-plugin
Command: **7z

- Add a [New] action:
Verb: Open with MSI-plugin
Command: **msi

- Add a [New] action:
Verb: Open with NTFS-Streams-plugin
Command: **stream

Now open the context menu of a "*.msi" file.
You will see three entries:
"Open with 7Zip-plugin"
"Open with MSI-plugin"
"Open with NTFS-Stream-plugin"


But no matter which of them you select, the file will always be opened using the msi-Plugin. :cry:

Now do the same with a msi file renamed into "*.msi2".
Everything works as expected and the file can be opened using three different packer plugins. :D

It looks like
**ext Use packer plugin defined for extension "ext" to view contents of file
only works for file extensions which are not already registered by a packer plugin.

2ghisler(Author)
Bug or by design?

Regards
Holger
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

-
ok, thank you for the extra explanation and sorry that I misunderstood you
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

it sure works

Post by *billiebub »

HolgerK i just tried your way and sure it works. This is great and works like a charm. Sorry for not understanding your initial post about the internal associations. cheers
Post Reply