source: AE/Setup/Windows/JRE/lib/deploy/jqs/ff/chrome/content/overlay.js

Last change on this file was 818, checked in by alloc, 12 years ago

AEI2 Setup Win

File size: 802 bytes
RevLine 
[818]1// @(#)overlay.js 1.4 10/03/29
2//
3// Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
4// ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
5//
6
7// get the JQS extension directory
8const id = "jqs@sun.com";
9var ext = Components.classes["@mozilla.org/extensions/manager;1"]
10 .getService(Components.interfaces.nsIExtensionManager)
11 .getInstallLocation(id)
12 .getItemLocation(id);
13
14// create an nsILocalFile for the executable
15var file = Components.classes["@mozilla.org/file/local;1"]
16 .createInstance(Components.interfaces.nsILocalFile);
17
18// construct command line
19file.initWithPath(ext.path + "\\..\\..\\..\\..\\bin\\jqsnotify.exe");
20
21// and launch it
22file.launch();
23
Note: See TracBrowser for help on using the repository browser.