<?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>Installation Developer &#187; How to Access Command-Line Arguments in InstallScript Projects</title>
	<atom:link href="http://www.installationdeveloper.com/570/how-to-access-command-line-arguments-in-installscript-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Sat, 04 Sep 2010 14:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Access Command-Line Arguments in InstallScript Projects</title>
		<link>http://www.installationdeveloper.com/570/how-to-access-command-line-arguments-in-installscript-projects/</link>
		<comments>http://www.installationdeveloper.com/570/how-to-access-command-line-arguments-in-installscript-projects/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:36:51 +0000</pubDate>
		<dc:creator>Rod_Maupin</dc:creator>
				<category><![CDATA[InstallShield Training]]></category>
		<category><![CDATA[installshield class]]></category>
		<category><![CDATA[installshield classes]]></category>
		<category><![CDATA[installshield course]]></category>
		<category><![CDATA[installshield courses]]></category>
		<category><![CDATA[installshield programmer]]></category>
		<category><![CDATA[Installshield Tutorial]]></category>
		<category><![CDATA[installshield tutorials]]></category>

		<guid isPermaLink="false">http://www.installationdeveloper.com/?p=570</guid>
		<description><![CDATA[Have you ever wondered how to access Command-Line Arguments in InstallScript or InstallScript MSI projects? It&#8217;s easy. That is if you know where to look in the Help. When using Setup.exe and you add arguments on the command line, you can access them through the CMDLINE system variable. You must remember that CMDLINE only stores [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how to access Command-Line Arguments in <strong>InstallScript</strong> or <strong>InstallScript MSI</strong> projects?  It&#8217;s easy.  That is if you know where to look in the Help.</p>
<p>When using <strong>Setup.exe</strong> and you add arguments on the command line, you can access them through the <strong>CMDLINE</strong> system variable.  You must remember that <strong>CMDLINE</strong> only stores user-defined command line switches.  InstallShield command line switches are not copied to <strong>CMDLINE</strong>.</p>
<p>Now, in <strong>InstallScript MSI</strong> projects, you pass the command-line data to <strong>Setup.exe</strong> by using the /z switch as follows:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setup.exe /z&#8221;arg1=value1 arg2=value2 arg3=value3&#8243;</p>
<p><strong>Basic MSI</strong> projects are different.  With those you pass public properties through <strong>Setup.exe</strong> to <strong>Msiexec.exe</strong> by using the /v command-line argument.</p>
<p>
&nbsp;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects&amp;bodytext=Have%20you%20ever%20wondered%20how%20to%20access%20Command-Line%20Arguments%20in%20InstallScript%20or%20InstallScript%20MSI%20projects%3F%20%20It%27s%20easy.%20%20That%20is%20if%20you%20know%20where%20to%20look%20in%20the%20Help.%0D%0A%0D%0AWhen%20using%20Setup.exe%20and%20you%20add%20arguments%20on%20the%20command%20line%2C%20you%20can%20access%20" title="Digg"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects&amp;notes=Have%20you%20ever%20wondered%20how%20to%20access%20Command-Line%20Arguments%20in%20InstallScript%20or%20InstallScript%20MSI%20projects%3F%20%20It%27s%20easy.%20%20That%20is%20if%20you%20know%20where%20to%20look%20in%20the%20Help.%0D%0A%0D%0AWhen%20using%20Setup.exe%20and%20you%20add%20arguments%20on%20the%20command%20line%2C%20you%20can%20access%20" title="del.icio.us"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;t=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="Facebook"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;h=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="NewsVine"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="Reddit"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="StumbleUpon"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects&amp;annotation=Have%20you%20ever%20wondered%20how%20to%20access%20Command-Line%20Arguments%20in%20InstallScript%20or%20InstallScript%20MSI%20projects%3F%20%20It%27s%20easy.%20%20That%20is%20if%20you%20know%20where%20to%20look%20in%20the%20Help.%0D%0A%0D%0AWhen%20using%20Setup.exe%20and%20you%20add%20arguments%20on%20the%20command%20line%2C%20you%20can%20access%20" title="Google Bookmarks"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;submitHeadline=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects&amp;submitSummary=Have%20you%20ever%20wondered%20how%20to%20access%20Command-Line%20Arguments%20in%20InstallScript%20or%20InstallScript%20MSI%20projects%3F%20%20It%27s%20easy.%20%20That%20is%20if%20you%20know%20where%20to%20look%20in%20the%20Help.%0D%0A%0D%0AWhen%20using%20Setup.exe%20and%20you%20add%20arguments%20on%20the%20command%20line%2C%20you%20can%20access%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F" title="Twitter"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F" title="Technorati"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="Live"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;title=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=Have%20you%20ever%20wondered%20how%20to%20access%20Command-Line%20Arguments%20in%20InstallScript%20or%20InstallScript%20MSI%20projects%3F%20%20It%27s%20easy.%20%20That%20is%20if%20you%20know%20where%20to%20look%20in%20the%20Help.%0D%0A%0D%0AWhen%20using%20Setup.exe%20and%20you%20add%20arguments%20on%20the%20command%20line%2C%20you%20can%20access%20" title="LinkedIn"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.installationdeveloper.com%2F570%2Fhow-to-access-command-line-arguments-in-installscript-projects%2F&amp;t=How%20to%20Access%20Command-Line%20Arguments%20in%20InstallScript%20Projects" title="MySpace"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/570/how-to-access-command-line-arguments-in-installscript-projects/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
