You can run any executable from extension, just don't forget that in Window 
Vista and 7, in order to install software it should run in high integrity level 
and Firefox runs in medium (or low). So it will popup elevation dialog.
Example how to run exe file.

var oFile = Components.classes["@mozilla.org/file/local;1"]
                                                                        
.createInstance(Components.interfaces.nsILocalFile);

            oFile.initWithPath(strAppPath);

            if (oFile.exists()) {
                // create an nsIProcess
                var oProcess = Components.classes["@mozilla.org/process/util;1"]
                                                                        
.createInstance(Components.interfaces.nsIProcess);

                oProcess.init(oFile);

                oProcess.run(false, args, argsLen);

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
paniz alipour
Sent: Saturday, July 30, 2011 5:26 PM
To: [email protected]; [email protected]; 
[email protected]
Subject: matlab in extension

Hello all,

I want to know whether it is possible to use some installation file in
extension ,i.e. use an installation file of matlab,

so after install extension matlab can be installed,or maybe it would be
better to ask the question in this way ,

is it possible to use matlab in extension?

Best Regards

-- 
Paniz Alipour
_______________________________________________
dev-extensions mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-extensions
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to