<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" tabindex="0" fpstyle="1" aria-label="Meddelelsestekst">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<div style="color: rgb(40, 40, 40); background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">Suggestion: </span></font><span style="color: rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif;">Addition of additional command line switch: /pkgroot:<pathtofilename></span></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB"><br>
</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB"><br>
</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<span style="color: rgb(31, 73, 125); font-family: Calibri, sans-serif; font-size: 14.545454025268555px;">In some environments using wpkg package definition syntax is much more flexible than writing long scripts to do what wpkg does so great.</span></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB">We are using wpkg to install packages one by one directly from a local directory, apart from the central location of wpkg. Therefore, we need to
 be able to specify a specific pakcage-directory on the commandline. We have developed (what i nice word for a 2-line patch) to the current 1.3.0 release, allowing us to do so. </span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB"><br>
</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB">I kindly ask this patch (or an improved version if anyone find that smarter) to be included in further releases.</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB"><br>
</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB">/Thomas Bøge</span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<br>
</div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<br>
</div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-GB"> </span></font></span></font></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<br>
</div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<span style="color: rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif;"> </span></div>
<div style="color: rgb(40, 40, 40); font-family: 'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif; font-size: 15.454545021057129px; background-color: rgb(255, 255, 255); margin: 0px;">
<font face="Calibri,sans-serif" size="2"><span style="font-size: 11pt;"><font color="#1F497D"><span lang="en-US"> </span></font></span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">--- D:/Downloads/wpkg.js<span class="Apple-tab-span" style="white-space: pre;">
</span>Thu Dec 08 15:03:24 2011</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">+++ D:/Downloads/wpkg-itx.js<span class="Apple-tab-span" style="white-space:pre">
</span>Thu Jan 09 11:21:06 2014</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">@@ -8024,7 +8024,8 @@</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span></span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>// get argument list</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>var argv = getArgv();</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">-</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">+<span class="Apple-tab-span" style="white-space:pre">
</span>var argn = argv.Named;</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">+<span class="Apple-tab-span" style="white-space:pre">
</span></span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>// Will be used for file operations.</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>var fso = new ActiveXObject("Scripting.FileSystemObject");</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> </span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">@@ -8059,6 +8060,7 @@</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>// Append the settings file names to the end of the base path.</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>packages_file = fso.BuildPath(base, packages_file_name);</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>var packages_folder = fso.BuildPath(base, "packages");</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;">+<span class="Apple-tab-span" style="white-space:pre">
</span>if (argn.Item("pkgroot") != null)  {packages_folder = argn.Item("pkgroot")};</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>profiles_file = fso.BuildPath(base, profiles_file_name);</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space:pre">
</span>var profiles_folder = fso.BuildPath(base, "profiles");</span></font></div>
<div style="background-color: rgb(255, 255, 255); margin: 0px;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 14.545454025268555px;"> <span class="Apple-tab-span" style="white-space: pre;">
</span>hosts_file = fso.BuildPath(base, hosts_file_name);</span></font></div>
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:#000000; margin:0">
</div>
</div>
</body>
</html>