Contents
Introduce
This wizard using create XPCOM component in the VC2010 environment.
Download: yuXPCOMwizard
Source Code: git clone git://git.code.sf.net/p/yuxpcomwizard/code yuxpcomwizard-code
Application Environment:
- vc2010
- Gecko SDK 17.0.0 – 19.0.2
Feature
- XPCOM Component Wizard
- Create as services Option;
- Support nsIObserver inheritance;
- Simple UI support;
- Support xpidl custom build;
- Support XUL application start for debugging;
- XPIDL Interface Wizard
Install Step
1. Preprocess
- Install Gecko SDK (Ver 17.0.0 – 19.0.2).
- Install Python( recommended: ver 2.7.3).
2. Create environment variant XPCOM_SDK, point to Gecko SDK install directory.
3. Download this wizard, unzip,then run the script: setup10.wsf.
User Guide
XPCOM Components Wizard
This wizard has 2 pages:
- Overview
- XPCOM Component Features
Page: Overview
This page you shold set the Gecko sdk directory. Here has two method set this path, one is Environment Virant,another is String. If you have Environment virant,you can set the value in the textbox and check the check box.
Page: XPCOM Component Features
This page you can set component’s name, contact id, bleow list is other feature:
- Create the component as Service
- Inheritance nsIObserver interface
XPIDL Interface Wizard
This wizard no UI.
Reference
- Gecko SDK
- Microsoft VC2010 Wizard Reference


