RE: matlab in extension

Ilia Fainshtroy <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout,gmane.comp.mozilla.devel.xpfe
Message-ID <6AB151AD074C18409E0CA3CD8D43123051134009C9@EXVMBX017-12.exch017.msoutlookonline.net>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.