Hi everyone..
I have finished a few days ago to develop my first DNN module in my local environment.. now I'm going to package it and try to install on other environments for testing.. here start the problems..
first, I tried to create the package using the wizard in Host->Module Definistions, it gave me an error.. So I decided to manually create the .zip file, but something seems to be wrong withe the manifest.
My package is composed of two "Sub Modules", wich use the same App_Code, but different controls. When I try to install the package, everything goes well without errors, but the files of the "second module" won't be copied in the moduel folder, and the relative Definition is not created.
(Note: both modules are created during the installations, just the second definition - the controller module - and the relative files)
I'm posting the module definition file.. can anyone help me with that?
__________________________________________________HERE STARTS THE MANIFEST______________________________________
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="MYMODULE" type="Module" version="1.0.0">
<friendlyName>MYMODULE</friendlyName>
<description>This module allows to use different contents.</description>
<owner>
<name>IV</name>
<organization />
<url />
<email />
</owner>
<license />
<releaseNotes />
<components>
<component type="Script">
<scripts>
<basePath>DesktopModules\MYMODULE</basePath>
<script type="Install">
<name>01.00.00.SqlDataProvider</name>
<version>01.00.00</version>
</script>
<script type="UnInstall">
<name>Uninstall.SqlDataProvider</name>
<version>0.0.0</version>
</script>
</scripts>
</component>
<component type="Module">
<desktopModule>
<moduleName>MYMODULE</moduleName>
<foldername>MYMODULE</foldername>
<businessControllerClass />
<codeSubDirectory>MYMODULE</codeSubDirectory>
<supportedFeatures />
<moduleDefinitions>
<moduleDefinition>
<friendlyName>MYMODULE</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/MYMODULE/ViewMYMODULE.ascx</controlSrc>
<supportsPartialRendering>True</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
</moduleControl>
<moduleControl>
<controlKey>Edit</controlKey>
<controlSrc>DesktopModules/MYMODULE/EditMYMODULE.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Edit</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/MYMODULE/Settings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
</component>
<component type="File">
<files>
<basePath>App_Code\MYMODULE</basePath>
<file>
<name>DataProvider.vb</name>
</file>
<file>
<name>MYMODULEController.vb</name>
</file>
<file>
<name>MYMODULEInfo.vb</name>
</file>
<file>
<name>SqlDataProvider.vb</name>
</file>
</files>
</component>
<component type="File">
<files>
<basePath>DesktopModules\MYMODULE</basePath>
<file>
<path>App_LocalResources</path>
<name>EditMYMODULE.ascx.resx</name>
</file>
<file>
<path>App_LocalResources</path>
<name>Settings.ascx.resx</name>
</file>
<file>
<path>App_LocalResources</path>
<name>ViewMYMODULE.ascx.resx</name>
</file>
<file>
<name>EditMYMODULE.ascx</name>
</file>
<file>
<name>EditMYMODULE.ascx.vb</name>
</file>
<file>
<name>Settings.ascx</name>
</file>
<file>
<name>Settings.ascx.vb</name>
</file>
<file>
<name>ViewMYMODULE.ascx</name>
</file>
<file>
<name>ViewMYMODULE.ascx.vb</name>
</file>
</files>
</component>
</components>
</package>
<package name="MYMODULE Controller" type="Module" version="0.0.0">
<friendlyName>MYMODULE Controller</friendlyName>
<description />
<owner>
<name>IV</name>
<organization />
<url />
<email />
</owner>
<license />
<releaseNotes />
<components>
<component type="Module">
<desktopModule>
<moduleName>MYMODULE Controller</moduleName>
<foldername>MYMODULE</foldername>
<businessControllerClass />
<codeSubDirectory>MYMODULE</codeSubDirectory>
<supportedFeatures />
<moduleDefinitions>
<moduleDefinition>
<friendlyName>MYMODULE Controller</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/MYMODULE/MYMODULE_Controller.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
</moduleControl>
<moduleControl>
<controlKey>Edit</controlKey>
<controlSrc>DesktopModules/MYMODULE/EditMYMODULE_Controller.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Edit Controller</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/MYMODULE/ControllerSettings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Controller Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
</component>
<component type="File">
<files>
<basePath>DesktopModules\MYMODULE</basePath>
<file>
<path>App_LocalResources</path>
<name>ControllerSettings.ascx.resx</name>
</file>
<file>
<path>App_LocalResources</path>
<name>EditMYMODULE_Controller.ascx.resx</name>
</file>
<file>
<path>App_LocalResources</path>
<name>MYMODULE_Controller.ascx.resx</name>
</file>
<file>
<name>ControllerSettings.ascx</name>
</file>
<file>
<name>ControllerSettings.ascx.vb</name>
</file>
<file>
<name>EditMYMODULE_Controller.ascx</name>
</file>
<file>
<name>EditMYMODULE_Controller.ascx.vb</name>
</file>
<file>
<name>MYMODULE_Controller.ascx</name>
</file>
<file>
<name>MYMODULE_Controller.ascx.vb</name>
</file>
</files>
</component>
</components>
</package>
</packages>
</dotnetnuke>
_________________________________________________HERE FINISHES THE MANIFEST______________________________________
Thanks in advance!
Alberto.