joomla/com_wk1_2/wk1.xml

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.7.0" method="upgrade">
 
    <name>com_wk1</name>
    <!-- The following elements are optional and free of formatting constraints -->
    <creationDate>April 2017</creationDate>
    <author>Walter Keller</author>
    <authorEmail>wa@wlkl.ch</authorEmail>
    <authorUrl>http://www.wlkl.ch</authorUrl>
    <copyright>Copyright Info</copyright>
    <license>License Info</license>
    <!--  The version string is recorded in the components table -->
    <version>0.0.2</version>
    <!-- The description is optional and defaults to the name -->
    <description>my first joomla component ...</description>
 
    <update> <!-- Runs on update; New since J2.5 -->
        <schemas>
            <schemapath type="mysql">sql/updates/mysql</schemapath>
        </schemas>
    </update>
 
    <!-- Site Main File Copy Section -->
    <!-- Note the folder attribute: This attribute describes the folder
        to copy FROM in the package to install therefore files copied
        in this section are copied from /site/ in the package -->
    <files folder="site">
        <filename>index.html</filename>
        <filename>wk1.php</filename>
        <filename>controller.php</filename>
        <folder>models</folder>
        <folder>views</folder>
    </files>

    <administration>
        <!-- Administration Menu Section -->
        <menu link='index.php?option=com_wk1'>component wk1 menu link</menu>
        <!-- Administration Main File Copy Section -->
        <!-- Note the folder attribute: This attribute describes the folder
            to copy FROM in the package to install therefore files copied
            in this section are copied from /admin/ in the package -->
        <files folder="admin">
            <!-- Admin Main File Copy Section -->
            <filename>index.html</filename>
            <filename>wk1.php</filename>
            <folder>sql</folder>
        </files>
    </administration>

</extension>