mozilla

WinProfile Object

Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension.

WinProfile

(Windows only) Windows developers use this object to manipulate the content of a Windows .ini file.

Overview

This object does not have a public constructor. Instead, you construct an instance of this object by calling the getWinProfile method of the Install object.

The two methods of the WinProfile object, getString and writeString, allow you to read and write the data in the key/value pairs of a Windows .ini file.

Document Tags and Contributors

Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley, Daniel Veditz
Last updated by: Sheppy,
Hide Sidebar