<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Module Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/module/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/module/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How does the Import and Export module work in JavaScript?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-does-the-import-and-export-module-work-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-does-the-import-and-export-module-work-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 12:05:42 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Module]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8035</guid>

					<description><![CDATA[<p>What is Module In JavaScript, a Module is a JavaScript file where we write codes. The object is a module [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-does-the-import-and-export-module-work-in-javascript/">How does the Import and Export module work in JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>What is Module</strong></h2>



<p class="wp-block-paragraph">In JavaScript, a Module is a JavaScript file where we write codes. The object is a module that is not available for use unless the module file exports them.</p>



<h2 class="wp-block-heading"><strong>Exporting Module</strong></h2>



<p class="wp-block-paragraph">export &#8211; The export statement is used when creating JavaScript modules to export functions, objects, or primitive values from the module so they can be used by other programs with the import statement.</p>



<p class="wp-block-paragraph">There are two different types of export &#8211; named and default. You can have multiple named exports per module but only one default export.</p>



<h2 class="wp-block-heading"><strong>Default Export</strong></h2>



<p class="wp-block-paragraph">You can have only one default export per module. A default export can be imported with any name.</p>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/e27fd4a53c4afe7031f59e4cee42ed6f.js"></script>



<h2 class="wp-block-heading"><strong>Named Export</strong></h2>



<p class="wp-block-paragraph">You can have multiple named exports per module. Named exports are useful to export several values. During the import, it is mandatory to use the same name of the corresponding object.</p>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/fda5d2801c015ec1f3007030ca38ae87.js"></script>



<h2 class="wp-block-heading"><strong>Named Export</strong></h2>



<p class="wp-block-paragraph">You can have multiple named exports per module. Named exports are useful to export several values. During the import, it is mandatory to use the same name of the corresponding object.</p>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/b7354d25186a5a4e80934a280f5d44aa.js"></script>



<h2 class="wp-block-heading"><strong>Importing Module</strong></h2>



<p class="wp-block-paragraph">import &#8211;  The static import statement is used to import bindings that are exported by another module. Imported modules are in strict mode whether you declare them as such or not.</p>



<h2 class="wp-block-heading"><strong>Importing Defaults</strong></h2>



<p class="wp-block-paragraph">You can have only one default export per module. A default export can be imported with any name.</p>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/76527b487f1809518a9152f9fed21353.js"></script>



<p class="wp-block-paragraph"><strong>app.js</strong></p>



<script src="https://gist.github.com/vijaypk376/755c7dcbbcd4ada2f918a7da01f27cc8.js"></script>



<h2 class="wp-block-heading"><strong>Importing Named</strong></h2>



<p class="wp-block-paragraph">You can have multiple named exports per module. Named exports are useful to export several values. During the import, it is mandatory to use the same name of the corresponding object.</p>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/9e48d2e806d2149b4f4556de93a1f0bd.js"></script>



<p class="wp-block-paragraph"><strong>app.js</strong></p>



<script src="https://gist.github.com/vijaypk376/dfb3834b694d7fa97061e48e7d439834.js"></script>



<h2 class="wp-block-heading"><strong>Importing All</strong></h2>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/0af62339a17e70e62b4afe0040c543bf.js"></script>



<p class="wp-block-paragraph"><strong>app.js</strong></p>



<script src="https://gist.github.com/vijaypk376/583de7bbf52bc8964aaa870a02deba75.js"></script>



<h2 class="wp-block-heading"><strong>Importing Default and Named</strong></h2>



<p class="wp-block-paragraph"><strong>mobile.js</strong></p>



<script src="https://gist.github.com/vijaypk376/1dfef39ec1ba40684401113396a21d6c.js"></script>



<p class="wp-block-paragraph"><strong>app.js</strong></p>



<script src="https://gist.github.com/vijaypk376/ea6936168e80911505359282b49348a8.js"></script>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-does-the-import-and-export-module-work-in-javascript/">How does the Import and Export module work in JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-does-the-import-and-export-module-work-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ansible Playbook Lab &#038; Excercise – Part 2</title>
		<link>https://www.scmgalaxy.com/tutorials/ansible-playbook-lab-excercise-part-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ansible-playbook-lab-excercise-part-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 05 Sep 2018 08:55:39 +0000</pubDate>
				<category><![CDATA[Ansible]]></category>
		<category><![CDATA[excercise]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Module]]></category>
		<category><![CDATA[Playbook]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5289</guid>

					<description><![CDATA[<p>Execution Mode – Remote Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ansible-playbook-lab-excercise-part-2/">Ansible Playbook Lab &#038; Excercise – Part 2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Execution Mode – Remote</p>
<ol>
<li>
<h4>Write a Ansible Playbook to create a group called “deploy”</h4>
</li>
<li>
<h4>Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “group” and with /bin/bash shell.</h4>
</li>
<li>
<h4>Write a Ansible Playbook to install package named “httpd” in RHEL/centos.</h4>
</li>
<li>
<h4>Write a Ansible Playbook to start and enable the service named “httpd”</h4>
</li>
<li>
<h4>Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents.</h4>
</li>
<li>
<h4>Write a Ansible Playbook to reboot a self machine.</h4>
</li>
<li>
<h4>Write a Ansible Playbook to install a package called “git”, “wget”.</h4>
</li>
<li>
<h4>Write a Ansible Playbook to clone git repo. thttps://github.com/scmgalaxy/ansible-role-template</h4>
</li>
<li>
<h4>Now Merge all Top Playbook into one and run and verify</h4>
</li>
</ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ansible-playbook-lab-excercise-part-2/">Ansible Playbook Lab &#038; Excercise – Part 2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ansible-playbook-lab-excercise-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Puppet Module Lab &#038; Excercise – Part 1</title>
		<link>https://www.scmgalaxy.com/tutorials/puppet-module-lab-excercise-part-1/</link>
					<comments>https://www.scmgalaxy.com/tutorials/puppet-module-lab-excercise-part-1/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 27 Aug 2018 11:53:03 +0000</pubDate>
				<category><![CDATA[Puppet]]></category>
		<category><![CDATA[excercise]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Module]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[Puppet Module]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5266</guid>

					<description><![CDATA[<p>Puppet Module Lab &#38; Excercise – Part 1 Write a puppet module to setup a webserver(httpd) only in RHEL and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/puppet-module-lab-excercise-part-1/">Puppet Module Lab &#038; Excercise – Part 1</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Puppet Module Lab &amp; Excercise – Part 1</strong></p>
<ol>
<li>
<h4>Write a puppet module to setup a webserver(httpd) only in RHEL and use the HEREDOC to craete a html code of index.html inside a directory called &#8220;/var/www/html/index.html&#8221;</h4>
</li>
<li>
<h4>Write a puppet module to setup a webserver(httpd) only in RHEL and use the puppet template to create a html code of index.html inside a directory called &#8220;/var/www/html/index.html&#8221;</h4>
</li>
<li>
<h4>Write a puppet module to install git, ntp and wget tools.</h4>
</li>
<li>
<h4>Write a puppet module which has file named with deploy.sh under module&#8217;s files directory. the file should be copied to /opt</h4>
</li>
</ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/puppet-module-lab-excercise-part-1/">Puppet Module Lab &#038; Excercise – Part 1</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/puppet-module-lab-excercise-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Parenthesis After Module Name And Without Parenths</title>
		<link>https://www.scmgalaxy.com/tutorials/parenthesis-after-module-name-and-without-parenths/</link>
					<comments>https://www.scmgalaxy.com/tutorials/parenthesis-after-module-name-and-without-parenths/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 12:36:08 +0000</pubDate>
				<category><![CDATA[Perl Script]]></category>
		<category><![CDATA[Module]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2513</guid>

					<description><![CDATA[<p>scmuser created the topic: parenthesis after module name and without parenths What is the difference between having a parenthesis after [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/parenthesis-after-module-name-and-without-parenths/">Parenthesis After Module Name And Without Parenths</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: parenthesis after module name and without parenths</strong></p>
<p>What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e</p>
<p><code>Package::Module();</code></p>
<p><code>Package::Module;</code></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/parenthesis-after-module-name-and-without-parenths/">Parenthesis After Module Name And Without Parenths</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/parenthesis-after-module-name-and-without-parenths/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Error: Cannot find module &#8216;graceful-fs&#8217;</title>
		<link>https://www.scmgalaxy.com/tutorials/error-cannot-find-module-graceful-fs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/error-cannot-find-module-graceful-fs/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 11:50:31 +0000</pubDate>
				<category><![CDATA[Other build Tools]]></category>
		<category><![CDATA[Module]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2158</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Error: Cannot find module &#8216;graceful-fs&#8217; Error &#8211; Error: Cannot find module &#8216;graceful-fs&#8217; at Function.Module._resolveFilename (module.js:331:15) at [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-cannot-find-module-graceful-fs/">Error: Cannot find module &#8216;graceful-fs&#8217;</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Error: Cannot find module &#8216;graceful-fs&#8217;</strong><br />
Error &#8211; </p>
<p>Error: Cannot find module &#8216;graceful-fs&#8217;<br />
at Function.Module._resolveFilename (module.js:331:15)<br />
at Function.Module._load (module.js:273:25)<br />
at Module.require (module.js:357:17)<br />
at require (module.js:373:17)<br />
at Object.<anonymous> (/usr/share/npm/lib/utils/ini.js:32:10)<br />
at Module._compile (module.js:449:26)<br />
at Object.Module._extensions..js (module.js:467:10)<br />
at Module.load (module.js:349:32)<br />
at Function.Module._load (module.js:305:12)<br />
at Module.require (module.js:357:17)<br />
root@mtv-ubld-39:~/node/npm/scripts# export NODE_PATH=/usr/lib/nodejs/graceful-fs.js<br />
root@mtv-ubld-39:~/node/npm/scripts# echo $NODE_PATH<br />
/usr/lib/nodejs/graceful-fs.js<br />
root@mtv-ubld-39:~/node/npm/scripts# echo $NODE_PATH<br />
/usr/lib/nodejs/graceful-fs.js</p>
<p>Solution </p>
<p>Your npm isn&#8217;t properly installed. Execute (as root):</p>
<p>curl npmjs.org/install.sh | bash</p>
<p>This reinstalls npm on your computer, it should work afterwards.</p>
<p>You might need to restart your shell after that for the changes to take effect.</p>
<p>In some cases even the installer fails because of the graceful-fs error, in this case you might need to remove npm using your distribution&#8217;s package manager first, e.g.</p>
<p>sudo apt-get remove npm</p>
<p>Or</p>
<p><a href="http://www.scmgalaxy.com/48-other-build-tools/2...ind-local-grunt.html">www.scmgalaxy.com/48-other-build-tools/2&#8230;ind-local-grunt.html</a><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-cannot-find-module-graceful-fs/">Error: Cannot find module &#8216;graceful-fs&#8217;</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/error-cannot-find-module-graceful-fs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Merge Module for msvcr71.dll</title>
		<link>https://www.scmgalaxy.com/tutorials/merge-module-for-msvcr71-dll/</link>
					<comments>https://www.scmgalaxy.com/tutorials/merge-module-for-msvcr71-dll/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 05:24:28 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Module]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1222</guid>

					<description><![CDATA[<p>InstallerExpert created the topic: Merge Module for msvcr71.dll I am trying to use a merge module for msvcr71.dll since its [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/merge-module-for-msvcr71-dll/">Merge Module for msvcr71.dll</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>InstallerExpert created the topic: Merge Module for msvcr71.dll</strong><br />
I am trying to use a merge module for msvcr71.dll since its strongly recommended to use merge models for re-distributing c runtime libraries.<br />
But i want to copy this msvcr71.dll to 2 different folders on installation.<br />
But using the same merge module reference twice would cause the same file to be included twice in the final msi, which causes conflict in the File table , since file id is the primary key. (Since same file would be included twice<br />
)<br />
Here is a sample of the code:</p>
<p><
Directory Id="TARGETDIR" Name="SourceDir"></p>
<p><Directory Id="ProgramFilesFolder"></p>
<p><Directory Id="Merg" Name="Merg"></p>
<p><Directory Id="INSTALLDIR" Name="Merge Mod32"></p>
<p><Directory Id="Folder1" Name="Folder1"/></p>
<p><Directory Id="Folder2" Name="Folder2"/></p>
<p></Directory></p>
<p></Directory></p>
<p></Directory></p>
<p></Directory></p>
<p><DirectoryRef Id="Folder1"></p>
<p><
Merge Id="msvcr71dll" Language="1033" DiskId="1" SourceFile="My_MSM.msm"></p>
<p></
Merge></p>
<p></
DirectoryRef></p>
<p><
DirectoryRef Id="Folder2"></p>
<p><
Merge Id="msvcr71dllF2" Language="1033" DiskId="1" SourceFile="My_MSM.msm"></p>
<p></
Merge></p>
<p></DirectoryRef></p>
<p><
Feature Id="ProductFeature1" Title="MergeMod321" Level="1"></p>
<p><
MergeRef Id="msvcr71dll"/></p>
<p></
Feature></p>
<p><
Feature Id="ProductFeature2" Title="MergeMod322" Level="1"></p>
<p><
MergeRef Id="msvcr71dllodbc"/></p>
<p></
Feature/><br />
Above code gives obvious error that File/Id is duplicated(which is the file id in the msm.</p>
<p>Now i have to use the merge module and i cannot even modify the merge module in anyway and need to copy the file in both the folders.</p>
<p>Is there a way to do so?</p>
<p>I saw the CopyFile element but that can be used only under a Component or File Element.</p>
<p><strong>InstallerGeek replied the topic: Re: Merge Module for msvcr71.dll</strong><br />
Doesn&#8217;t the merge module install the file to the Windows system folder?  If that&#8217;s the case then you shouldn&#8217;t need to install the file anywhere else.</p>
<p><strong>InstallerExpert replied the topic: Re: Merge Module for msvcr71.dll</strong><br />
  <Directory Id="TARGETDIR" Name="SourceDir"><br />
      <Merge
Id="msvcr71dll"Language="1033"DiskId="1"SourceFile="My_MSM.msm" /><br />
    </Directory><br />
    <FeatureId="ProductFeature1"Title="MergeMod321"Level="1"><br />
      <MergeRefId="msvcr71dll"/><br />
    </Feature></p>
<p>That is all you should Ricky need assuming you&#8217;re using the VC++ 7 merge modules provided with Visual Studio 2003. Your convoluted directory structure is totally unnecessary as the merge module is going to put the files into the WinSXS area regardless of where you would like it to go.<br />
You can&#8217;t install those merge modules in an arbitrary directory even if you want to.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/merge-module-for-msvcr71-dll/">Merge Module for msvcr71.dll</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/merge-module-for-msvcr71-dll/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use of Merge Module</title>
		<link>https://www.scmgalaxy.com/tutorials/use-of-merge-module/</link>
					<comments>https://www.scmgalaxy.com/tutorials/use-of-merge-module/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 05:22:27 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Module]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1220</guid>

					<description><![CDATA[<p>InstallerExpert created the topic: Use of Merge Module Reposting this question : Is it possible to use the same merge [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-merge-module/">Use of Merge Module</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>InstallerExpert created the topic: Use of Merge Module</strong><br />
Reposting this question :<br />
Is it possible to use the same merge module twice in the same source file.</p>
<p><Directory Id="TARGETDIR" Name="SourceDir"><br />
  <Directory Id="ProgramFilesFolder"><br />
    <Directory Id="MergeModuleSample" Name="Merge Module Sample"><br />
      <Directory Id="INSTALLDIR" Name="Merge Mod32"><br />
            <Directory Id="F1" Name="F1"/><br />
            <Directory Id="F2" Name="F2"/><br />
        </Directory><br />
      </Directory><br />
</Directory><br />
</Directory></p>
<p><DirectoryRef Id="F1"><br />
      <Merge Id="merge1" Language="1033" DiskId="1" SourceFile="abc.msm"><br />
      </Merge><br />
</DirectoryRef></p>
<p><DirectoryRef Id="F2"><br />
      <Merge Id="merge2" Language="1033" DiskId="1" SourceFile="abc.msm"><br />
      </Merge><br />
</DirectoryRef></p>
<p><Feature Id="ProductFeature2" Title="MergeMod322" Level="1"><br />
      <MergeRef Id="merge1"/><br />
</Feature><br />
<Feature Id="ProductFeature1" Title="MergeMod321" Level="1"><br />
      <MergeRef Id="merge2"/><br />
</Feature><br />
The above code is giving error:<br />
Error 1 The merge module &#8216;merge2&#8217; contains a file identifier, &#8216;m&#8217;, that is duplicated either in another merge module or in a File/@Id attribute.  File identifiers must be unique.  Please change one of the file identifiers to a different value.</p>
<p>Code in the merge module:</p>
<p><Directory Id="TARGETDIR" Name="SourceDir"><br />
            <Directory Id="Folder1"><br />
                <Component Id="Comp1" Guid=""><br />
                    <File Id="m" Name="file1.txt" KeyPath="yes" Vital="no"
Checksum="yes" Source="F:\file1.txt" /><br />
                </Component><br />
            </Directory><br />
  </Directory></p>
<p>Basically i want to copy the file (file1.txt) in F1 and F2 using the mereg module.How can it be done?</p>
<p><strong>InstallerGeek replied the topic: Re: Use of Merge Module</strong><br />
You can&#8217;t merge a Merge Module twice. You can connect the Merge Module to multiple Features but that won&#8217;t get what you want. I think in your case, you&#8217;ll have to use a CopyFile element to copy the decorated File/@Id from the Merge Module.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-merge-module/">Use of Merge Module</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/use-of-merge-module/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Steps to Import Module Process by using WinCVS</title>
		<link>https://www.scmgalaxy.com/tutorials/import-module-process-using-wincvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/import-module-process-using-wincvs/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 23 Nov 2008 17:53:57 +0000</pubDate>
				<category><![CDATA[Version Control Systems]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to import module using WinCVS]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[Import Module Process using WinCVS]]></category>
		<category><![CDATA[Importing module with WinCVS]]></category>
		<category><![CDATA[Module]]></category>
		<category><![CDATA[Module Import]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Through]]></category>
		<category><![CDATA[Using]]></category>
		<category><![CDATA[Version Control system]]></category>
		<category><![CDATA[Ways]]></category>
		<category><![CDATA[WinCVS]]></category>
		<category><![CDATA[WinCVS Guide]]></category>
		<category><![CDATA[WinCVS Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2008/11/23/import-module-process-using-wincvs/</guid>

					<description><![CDATA[<p>Import Normally refers to the process of creating a new module in the repository by sending an entire directory structure. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/import-module-process-using-wincvs/">Steps to Import Module Process by using WinCVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-3627 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2008/11/wincvs.png" alt="wincvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2008/11/wincvs.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2008/11/wincvs-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Import </span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Normally refers to the process of creating a new module in the repository by sending an entire directory structure. </span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Module </span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">A directory hierarchy. A software project normally exists as a single module in the repository. </span></span></span></p>
<p><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;"><strong>Step 1:</strong> Navigate to Remote/Import Module</span></span></span></p>
<p><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;"><strong>Step 2:</strong> Define Import Filter Operation…</span></span></span></p>
<p><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;"><strong>Step 3:</strong> Set following basic Import Setting.</span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">            </span></span></span></p>
<ul>
<li><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Repository Path</span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">            </span></span></span></li>
<li><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Vendor Tag</span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">            </span></span></span></li>
<li><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">Release Tag</span></span></span><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">    C</span></span></span></li>
<li><span style="font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><span style="font-family: verdana, geneva;">VSROOT</span></span></span></li>
</ul>
<p><span style="font-size: medium;"><span style="font-size: 12pt;"><span style="font-family: verdana, geneva;"><strong>Step 4:</strong> And press OK. The desired source code will get add in CVS server…</span></span></span><span style="color: #5f5f5f; font-family: verdana, geneva; font-size: medium;"><span style="font-size: 12pt; color: #5f5f5f; font-family: 'Century Gothic';"> </span></span></p>
<p><span style="color: #5f5f5f; font-family: verdana, geneva; font-size: medium;"><span style="font-size: 12pt; color: #5f5f5f; font-family: 'Century Gothic';"> </span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/import-module-process-using-wincvs/">Steps to Import Module Process by using WinCVS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/import-module-process-using-wincvs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
