Re: How to execute setup.exe using install.rdf?

Benjamin Smedberg <[email protected]> Mon, 04 May 2009 09:47:25 -0400
Newsgroups gmane.comp.mozilla.devel.xpinstall
Message-ID <[email protected]>
On 5/4/09 9:27 AM, varsha wrote:

 I don't how to install or execute setup.exe using install.rdf.
> Is it equivivallent option availbale in install.rdf like install.js
> contains execute("setup.exe", "-s", true);
> 
> If any one has solution for this ,please provide me?

When Firefox installs an extension it unpacks your XPI within the user's
profile/extensions/<extensionID> directory. You cannot perform arbitrary
actions on install.

What does your installer executable need to do? If you really need to have a
binary installer, why not just have the user download and run it, instead of
packing it within an XPI file?

--BDS