pete at mozdevgroup.com
Mon Jun 20 12:00:13 EDT 2005
Eric Jung wrote:
>I'm trying to get my install.js to copy the file
>defaults/passwordmaker.xml, which is inside the XPI, to the profile
>directory (thanks to Phillip Chee for the help so far). Nothing
>happens... is there anyway I can get a log of the install procedure
>to see if there was an error? Here's the code I'm using...
If your xml file was at the top level of your xpi it would be:
var rv = addFile("my xml file", "passwordmaker.xml",
getFolder("Current User"), "");
logComment("add xml file"+rv);
Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions
More information about the Project_owners