Add to archive "FileName.xpi"

Yaron

New member
Member
VIP
Local time
6:19 AM
Messages
122
I use WinRar.

In Options > Settings > Integration > User defined archive extensions, I've associated XPI and JA files with the program.


I would like to add the following entries to Windows Explorer's context menu:

1) Add to archive "FileName.xpi"
2) Add to archive "FileName.ja"


I'd like the entries to appear below the default "Add to archive 'FileName.zip'", and also the compression format to be in my zip settings.


*

If you know of another Archiver with which I could achieve that, please let me know.


(Win 7, 32 bit).

Thank you.
 
Last edited:

My Computer My Computer

OS
Windows 7 Ultimate x32
You could try posting a request here:
Post New Requests Here - DonationCoder.com

Please see the info about posting requests. Skwire is the moderator of that forum. He's done AutoHotkey programming longer than I. He or another regular on that forum may know a freeware or be able to dash something off to do it for you.

Edit: Of course someone here may have additional suggestions.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Thank you for the kind words. Glad MoveIt is useful to you. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
It has been a few years since I wrote shell extensions. But my recollection is that Explorer calls a function in the handler to get the menu entries. The handler adds items to the menu. But the handler has no control where the items show in the menu in relation to entries from other handlers. For those items to all be grouped would seem to require an archiver that handles all those formats and has options to add them to the context menu.

An easier method would be to use the SendTo menu. You can make a shortcut to anything and add it to SendTo Menu. This article shows how to add a Send To SendTo item to the SendTo Menu. That will copy any existing shortcut to the SendTo Menu. It sounds confusing because you are making a shortcut to a folder and putting it inside the folder. But the article should illustrate how it works:

Using "Send To" feature to add destinations to itself - CodeProject
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Thank you for the detailed explanation. It was helpful and I appreciate it.

I've read some articles about adding entries to Explorer's context menu. The bigger question is how to get WinRar to execute "Compress to xpi".

I'm not a developer. Just making small changes in Firefox extensions.

*

You have some very good tools in Miles Ahead Software

Wouldn't it be a good idea to submit them to Softpedia, Cnet etc?
And could you please add the version and/or the last-updated date next to each product?

Best regards.
 

My Computer My Computer

OS
Windows 7 Ultimate x32
Thanks for the kind words about my software. Most of those utilities are on Softpedia. When I submitted them I had a company named FavesSoft LLC. Since the annual report fees got higher and there isn't income from the software sufficient to cover them, I dropped the company. But if you search Softpedia for one such as Folder Cache that should bring them all up if you click on More Programs.


The Softpedia listings do have version numbers. The milesaheadsoftware.tk site is done by a friend using WordPress and I'm not competent with that tool yet. So updates are tedious for me. Basically I only edit if I add an item or change the description. The table is generated by a tool.

I'm in a bit of disarray with stuff in Real Life and the friend donating the space for the new domain is why I have any page at all. Optimistically things should settle out this year so I can get better organized. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Allow me to thank YOU again for the great programs you've created.
I just wanted more people to enjoy them. I didn't know submitting software to those sites involved a fee.

I wish you the very best both in real and virtual life. :)
 

My Computer My Computer

OS
Windows 7 Ultimate x32
Thank you. Just to be clear, Softpedia never charged me anything. All I meant was the listings were under the name FavesSoft LLC because I designated that as copyright holder for my programs. That was my company at the time. But the state of Florida wants an Annual Report fee over $400. That's too much just to give away software. Now copyright is held by milesaheadsoftware.tk.

But anyway, most of my programs are on Softpedia. They have always been helpful to me and never asked me for any fees. That;s the main reason I update them personally. If a freeware download site gathers my listings with a bot that's fine. They will show up on some others due to that.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
I've read some articles about adding entries to Explorer's context menu. The bigger question is how to get WinRar to execute "Compress to xpi".
I've never purchased WinRar since the decompress has always been available.. but if you can find the command line switches to do what you wish, then placing "%1" in double quotes as shown, after the command line switches, will allow the filename you just clicked on to be tacked onto the end of the command line. You can use the command line in the Registry for Explorer Context Menu, or in a Shortcut added to SendTo Menu.

You perhaps are already aware of the above but it's difficult to tell at times what to suggest as even PHDs in Computer Science don't delve into every area. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Thank you for your kind continuous help. I'm really grateful.

Here is a link to WinRar command line:
Using the WinRAR Command-line tools in Windows

There are 2 bat files examples in that post.
1) I'm not really familiar with that.
2) How can I make WinRar (or any other archiver) compress the selected files in a ZIP format with an XPI extension?

If and when you have the time, I'd appreciate your further assistance.
Slowly but surely we'll get there. :)


BTW, WinRar offers a 40 days trial. After that period it starts with a nag screen.


Best regards.
 

My Computer My Computer

OS
Windows 7 Ultimate x32
I think there may be a crossed wire in that file associations will produce an option to open a file type with a program. But an archiver is supposed to compress files of any type to the archive. So what's needed is a program to put in all files in the registry. The problem with doing that is if you have 10 files selected and click to open program xyz, the program xyz.exe gets launched 10 times with one param as in
xyz file one
xyz file two
etc..

xyz.exe has to be written as a single instance program. The instances after the first just pass the param then exit. You might try http://alternativeto.net/ for a WinRar alternative that can do this.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Thanks again. You are a kind man.

I've checked several archivers, but couldn't find one with the option I want.
 

My Computer My Computer

OS
Windows 7 Ultimate x32
Back
Top