I think what you want to do is create 2 separate <moduleDefinition> sections.
Here is an overview of the idea:
package
- components
- component
- desktop module
- module definition (1)
- module controls
- module control (view)
- module control (settings)
- module control (edit)
/ module controls
/ module definition
- module definition (2)
- module controls
- module control (view)
- module control (settings)
- module control (edit)
/ module controls
/ module definition
... and so on.
here is an example from my file:
<!--===============================================-->
<!-- OPS: My Offers -->
<!--===============================================-->
<package name="OPS_MyOffers" type="Module" version="01.00.00">
<friendlyName>OPS: My Offers</friendlyName>
<description>Part of Offer Posting System. Use this module to view, modify and create your offers.</description>
<iconFile>DesktopModules/OfferPostingSystem/images/ITM_48x48.png</iconFile>
<license src="License.txt"/>
<releaseNotes src="ReleaseNotes.txt" />
<dependencies>
<dependency type="CoreVersion">06.00.00</dependency>
</dependencies>
<components>
<component type="Module">
<desktopModule>
<moduleName>OPS_MyOffers</moduleName>
<foldername>OfferPostingSystem</foldername>
<businessControllerClass>OfferPostingSystem.Components.FeatureController</businessControllerClass>
<supportedFeatures />
<moduleDefinitions>
<!--MO Offers-->
<moduleDefinition>
<friendlyName>My Offers</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/OfferPostingSystem/MO_Offers.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>1</viewOrder>
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/OfferPostingSystem/Settings/MO_OffersSettings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
<!--MO Offer Details-->
<moduleDefinition>
<friendlyName>My Offer Details</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/OfferPostingSystem/MO_OfferDetails.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>2</viewOrder>
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/OfferPostingSystem/Settings/MO_OfferDetailsSettings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
</component>
<component type="Assembly">
<assemblies>
<basePath>bin</basePath>
<assembly>
<name>OfferPostingSystem.dll</name>
</assembly>
</assemblies>
</component>
</components>
</package>
Not sure if this is what you want, but I hope it helps.