Skip to content

featuremerger.exe howto

Media Explorer edited this page Feb 27, 2023 · 5 revisions

FeatureMerger Usage Description

Required parameter 'InputFile' was not assigned a value

Usage: featuremerger InputFile OutputPackageDir OutputPackageVersion OutputFMDir [/InputFMDir:x] [/Critical:x] [/FMID:x] [/Languages:x] [/Resolutions:x] [/MergePackageRootReplacement:x] [/OwnerType:x] [/OwnerName:x] [[+|-]Incremental] [[+|-]Compress] [[+|-]ConvertToCBS] [/variables:x] [/?]

InputFile Specify the input file. Can be either a FMFileList XML

                     file or a single Feature Manifest XML file.. Values:

                     free text

OutputPackageDir Directory where merged packages will be placed..

                     Values: free text

OutputPackageVersion Version string in the form of ...<b

                     uild>. Values: free text

OutputFMDir Directory where Feature Manifests will be place.

                     Feature Manifests are generated with the same file

                     name as the original Feature Manifest.. Values: free

                     text

[/InputFMDir] Directory where source Feature Manifests can be found.

                     Required with FMFileList XML file.. Values: free text;

                     default= 

[/Critical] Reserved. Values: free text; default=

[/FMID] Required short ID for Feature Manifest used in merged

                     package name to ensure features from different FM

                     files don't collid.. Values: free text; default= 

[/Languages] Supported UI language identifier list, separated by

                     ';'. Required with single FM as InputFile.. Values:

                     free text; default= 

[/Resolutions] Supported resolutions identifier list, separated by

                     ';'. Required with single FM as InputFile.. Values:

                     free text; default= 

[/MergePackageRootReplacement] Specifies a string to be used in the generated

                     FM file for packages.  Replaces the OutputPackageDir

                     in the package paths.. Values: free text; default= 

[/OwnerType] Resulting Package owner type: Microsoft or OEM.

                     Ignored when specifying FM File List. Values: free

                     text; default= 

[/OwnerName] Name of package owner. Ignored when specifying FM

                     File List. Values: free text; default= 

[Incremental] Specifies to only remerge existing merged packages

                     when one of the sources packages has changed. Default

                     is rebuild all.. Values: precede by [+] or [-];

                     default= False

[Compress] Specifies to compress merged packages.. Values:

                     precede by [+] or [-]; default= False

[ConvertToCBS] Convert all output to CBS. Default is SPKG and no CBS

                     packages allowed in FMs. Values: precede by [+] or

                     [-]; default= False

[/variables] Additional variables used in the project file,

                     syntax:<name>=<value>;<name>=<value>;.... Values: free

                     text; default= 

[/?] Displays this usage string

Examples

FeatureMerger C:\PreMergeFMs\OEMFM.xml C:\MergedPackages 8.0.0.1 C:\MergedFMs /Languages:en-us;de-de

/Resolutions:480x800;720x1280;768x1280;1080x1920 /variables:_cputype=arm;buildtype=fre;releasetype=production

FeatureMerger C:\FMFileList.xml C:\MergedPackages 8.0.0.1 C:\MergedFMs /InputFMDir:C:\PreMergeFMs

/MergePackageRootReplacement:$(MSPackageRoot)\Merged /variables:_cputype=arm;buildtype=fre