In this post, let us look at the Merge Selected feature of Revit Manifest Organizer. It is to merge the selected manifest files into one and remove the merged files (which are duplicate and not necessary anymore) automatically by default.
The Merge Selected button will be enabled when more than one manifest file are checked off. The button locates at the right side of the Revit Manifest Organizer window:
After some files are selected in the Available list and the Merge Selected button is pressed, a File Save dialog will pop up and prompt for a file name input for the resultant host manifest file. If a name like RevitAddinVB_AllInOne.addin is given, all application/command definitions in the chosen manifest files will be merged into it.
The final all-in-one manifest file may look like:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<RevitAddIns>
<AddIn Type="Application">
<Assembly>C:\Temp\RevitAddinVB1\bin\Debug\RevitAddinVB1.dll</Assembly>
<FullClassName>RevitAddinVB1.ExtApp</FullClassName>
<ClientId>09467e9a-b298-4bfa-89b7-83a8c11cd7b9</ClientId>
<Name>ExtApp</Name>
</AddIn>
<AddIn Type="Application">
<Assembly>C:\Temp\RevitAddinVB2\bin\Debug\RevitAddinVB2.dll</Assembly>
<FullClassName>RevitAddinVB2.ExtApp</FullClassName>
<ClientId>9dfe4fa5-10e8-437f-a4d0-9093f3d0812c</ClientId>
<Name>RevitAddinVB2</Name>
</AddIn>
<AddIn Type="Application">
<Assembly>C:\Temp\RevitAddinVB3\bin\Debug\RevitAddinVB3.dll</Assembly>
<FullClassName>RevitAddinVB3.ExtApp</FullClassName>
<ClientId>59c7f68c-170b-4414-879d-5ab944c107bd</ClientId>
<Name>RevitAddinVB3</Name>
</AddIn>
<AddIn Type="Command">
<Assembly>C:\Temp\RevitAddinVB4\RevitAddinVB4\bin\Debug\RevitAddinVB4.dll</Assembly>
<FullClassName>RevitAddinVB4.Class1</FullClassName>
<ClientId>41cedd6b-ca40-41ef-a8cf-d1ff3dee0a16</ClientId>
<Text>Command Class1</Text>
<Description>My Test command</Description>
<VisibilityMode>AlwaysVisible</VisibilityMode>
</AddIn>
<AddIn Type="Application">
<Assembly>C:\Temp\RevitAddinVB5\RevitAddinVB5\bin\Debug\RevitAddinVB5.dll</Assembly>
<FullClassName>RevitAddinVB5.ExtApp</FullClassName>
<ClientId>2e4316b5-5444-45ea-853c-6d474c8aca59</ClientId>
<Name>RevitAddinVB5</Name>
</AddIn>
<AddIn Type="Application">
<Assembly>C:\Temp\RevitAddinVB6\RevitAddinVB6\bin\Debug\RevitAddinVB6.dll</Assembly>
<FullClassName>RevitAddinVB6.ExtApp</FullClassName>
<ClientId>41e7b2b7-1b19-4bbc-be33-6ae17f2fbbe0</ClientId>
<Name>RevitAddinVB6</Name>
</AddIn>
</RevitAddIns>
By the way, you may want to back up all the selected files with a single click on the [Cp>] button as the demonstration already did in case those separate manifest files are still needed in the future.
By default, merged files will be removed from the working addin folder automatically so as to avoid duplicate issues. The behaviour can be changed through un-checking the Remove Merged Files option from the Other Options dialog:
Revit Manifest Organizer of RevitAddinWidget provides various ways to organize Revit manifest files.
Related posts:
Deploy & Install: Revit Application Addin Manifest
Deploy & Install: Revit Command Addin Manifest
Deploy & Install: Revit Addin Roaming Folders
Deploy & Install: The Registry of Revit 2011
Deploy & Install: The Registry of Revit 2012
Deploy & Install: Where Are Revit Products Installed
Deploy & Install: Manifest Navigator of RevitAddinWidget
Deploy & Install: RegEdit Launcher of RevitAddinWidget
Deploy & Install: Revit Locator of RevitAddinWidget
Deploy & Install: Manifest Encoding
Deploy & Install: Manifest Loading
Deploy & Install: Manifest ClientId
Deploy & Install: Manifest ClientId and AddinId
Deploy & Install: Manifest Integrity
Deploy & Install: Revit Manifest Organizer
Deploy & Install: Create New Of Revit Manifest Organizer
Deploy & Install: Check Integrity New Of Revit Manifest Organizer
Deploy & Install: Detect Duplicate New Of Revit Manifest Organizer
Deploy & Install: View Selected Of Revit Manifest Organizer
Deploy & Install: Edit Selected Of Revit Manifest Organizer
Deploy & Install: Merge Selected Of Revit Manifest Organizer
Deploy & Install: Dismantle Selected Of Revit Manifest Organizer
Deploy & Install: Copy/Move/Delete Selected Of Revit Manifest Organizer
Deploy & Install: Miscellaneous Of Revit Manifest Organizer
Deploy & Install: Create Revit Manifest Files Programmatically With C#
Deploy & Install: Programmatically Detect Windows Versions And Find Revit Addin Roaming Folders
Deploy & Install: Revit Addin Project Output And API Dependencies
Deploy & Install: Revit Addin Projects and Visual Studio Setup Custom Actions
Deploy & Install: Deploy Revit Manifest Files with C# Using Installer Custom Actions
Recent Comments