The ScriptComponent task will recreate the list of scripts that your module should execute when it is installed.
Parameters to this task:
  • ManifestFile: the path the the module .dnn manifest file
  • BasePath: Remote path were the module will be installed
  • Path: Relative path on the module folder were you want to store the scripts
  • Files: List of script files that should be included

It will render the full component node on the manifest file, for example:
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\DemoInstalador</basePath>
            <script type="Install">
              <path>Installation</path>
              <name>01.00.00.SqlDataProvider</name>
              <version>01.00.00</version>
            </script>
            <script type="Install">
              <path>Installation</path>
              <name>02.00.00.SqlDataProvider</name>
              <version>02.00.00</version>
            </script>
            <script type="Uninstall">
              <path>Installation</path>
              <name>Uninstall.SqlDataProvider</name>
            </script>
          </scripts>
        </component>

Last edited Apr 28, 2009 at 10:24 PM by vmasanas, version 1

Comments

No comments yet.