<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - bug with -OutDir switch and tlink.exe ?</title>
    <link>http://communities.vmware.com/community/vmtn/entdesk/thinapp/forum?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 22 Jun 2009 03:56:16 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-22T03:56:16Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: bug with -OutDir switch and tlink.exe ?</title>
      <link>http://communities.vmware.com/message/1290732?tstart=0#1290732</link>
      <description>&lt;br /&gt;
Hi arodulr,&lt;br /&gt;
&lt;p /&gt;
Have you tried with "OutDir" parameter in Package.ini? The OutDir parameter specifies the directory that stores the build.bat output. By default it is "bin" directory. You can set it with any name.&lt;br /&gt;
&lt;p /&gt;
e.g. &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=BuildOptions"&gt;BuildOptions&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
OutDir=Test1&lt;br /&gt;
&lt;p /&gt;
After setting the parameter in Package.ini, rebuild the package. Virtualized exes are copied in new Output directory specified against "OutDir" parameter.&lt;br /&gt;
&lt;p /&gt;
Thanks &amp;#38; Regards,&lt;br /&gt;
&lt;p /&gt;
Tejashri Khopkar</description>
      <pubDate>Mon, 22 Jun 2009 03:56:16 GMT</pubDate>
      <author>Tejashri</author>
      <guid>http://communities.vmware.com/message/1290732?tstart=0#1290732</guid>
      <dc:date>2009-06-22T03:56:16Z</dc:date>
      <clearspace:dateToText>5 months, 4 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: bug with -OutDir switch and tlink.exe ?</title>
      <link>http://communities.vmware.com/message/1290583?tstart=0#1290583</link>
      <description>Hi Thinstall2,&lt;br /&gt;
&lt;br /&gt;
Thanks for you suggestion: I didn't try to only modify package.ini with a custom bin path, I'll try that ASAP. However building the .tfd files with vftool.exe and vregtool.exe into a custom output dir is not a problem as I wrote. So maybe the temp dir for tlink.exe must be bin and the output dir can be anything else.&lt;br /&gt;
But having to modify package.ini (or having multiple package.ini) in order to build to different directory is not a very cool feature. I think the command line options should allow to do that, and package.ini should reference variables set at the command line ($BIN or something).&lt;br /&gt;
Or maybe I didn't understand how things work.&lt;br /&gt;
&lt;br /&gt;
Any idea ?</description>
      <pubDate>Sun, 21 Jun 2009 19:18:32 GMT</pubDate>
      <author>arodulr</author>
      <guid>http://communities.vmware.com/message/1290583?tstart=0#1290583</guid>
      <dc:date>2009-06-21T19:18:32Z</dc:date>
      <clearspace:dateToText>5 months, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: bug with -OutDir switch and tlink.exe ?</title>
      <link>http://communities.vmware.com/message/1290518?tstart=0#1290518</link>
      <description>Have u ever let ThinApp complete its built? When I supply a custom "bin"-path in package.ini it The temporary buildfiles is still placed in bin, but when theyre completed vftool moves them to the output-path youve specified. Haven't messed with the bat-files yet though.</description>
      <pubDate>Sun, 21 Jun 2009 17:12:12 GMT</pubDate>
      <author>Thinstall2</author>
      <guid>http://communities.vmware.com/message/1290518?tstart=0#1290518</guid>
      <dc:date>2009-06-21T17:12:12Z</dc:date>
      <clearspace:dateToText>5 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>bug with -OutDir switch and tlink.exe ?</title>
      <link>http://communities.vmware.com/message/1289197?tstart=0#1289197</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I was experimenting with a custom build.bat to generate the package into %PROJECT_DIR%\bin2 instead of %PROJECT_DIR%\bin as set up in the default build.bat.&lt;br /&gt;
vregtool and vftool don't seem to have problem with that:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;&amp;quot;%THINSTALL_BIN%\vregtool&amp;quot; &amp;quot;%PROJECT_DIR%\bin2\Package.ro.tvr&amp;quot; ImportDir &amp;quot;%PROJECT_DIR%&amp;quot;
IF ERRORLEVEL 1 GOTO failed

&amp;quot;%THINSTALL_BIN%\vftool&amp;quot; &amp;quot;%PROJECT_DIR%\bin2\Package.ro.tvr&amp;quot; ImportDir &amp;quot;%PROJECT_DIR%&amp;quot;
IF ERRORLEVEL 1 GOTO failed
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
But for some reason, tlink is always searching into the default bin output dir even if I use the -OutDir switch:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;&amp;quot;%THINSTALL_BIN%\tlink&amp;quot; &amp;quot;%PROJECT_DIR%\Package.ini&amp;quot; -OutDir &amp;quot;%PROJECT_DIR%\bin2&amp;quot;
IF ERRORLEVEL 1 GOTO failed
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
I get:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Could not initialize registry file: bin\Package.ro.tvr
Could not obtain lock file bin\Package.ro.tvr.lck
Press any key to continue...
*** Build failed ***
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Moreover, there are path to the build directory inside package.ini, but even if I modify them, tlink is still looking for a bin output dir:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;OutDir=bin2
...
[http://IrfanView 4.23.exe|http://IrfanView 4.23.exe]
ReadOnlyData=bin2\Package.ro.tvr
Source=%ProgramFilesDir%\IrfanView\i_view32.exe
FileTypes=.acr.aif.ani.asf.au.avi.b3d.bmp.cam.clp.cr2.crw.cur.dcm.dcx.dds.dib.djvu.ecw.emf.eps.exr.flv.fpx.fsh.g3.gif.gsm.hdp.icl.ico.iff.img.iw44.j2k.jng.jp2.jpc.jpe.jpeg.jpg.jpm.kdc.lbm.ldf.lwf.med.mid.mng.mov.mp3.mpe.mpeg.mpg.ngg.nlm.nol.ogg.pbm.pcd.pcx.pgm.png.ppm.psd.psp.ra.ras.raw.rgb.rle.rmi.sff.sfw.sgi.sid.snd.sun.swf.tga.tif.tiff.ttf.wav.wbmp.wdp.wma.wmf.wmv.xbm.xpm
Shortcuts=%Programs%\IrfanView
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
So how can I build a same project tree into different output directories without making a full copy of the project tree ?&lt;br /&gt;
The purpose is to build one package with different licensing enforcement scripts.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Alban&lt;br /&gt;
&lt;br /&gt;
PS: I found this same behaviour from Thinstall 3.3 to ThinApp 4.0.3 RC</description>
      <pubDate>Fri, 19 Jun 2009 11:26:00 GMT</pubDate>
      <author>arodulr</author>
      <guid>http://communities.vmware.com/message/1289197?tstart=0#1289197</guid>
      <dc:date>2009-06-19T11:26:00Z</dc:date>
      <clearspace:dateToText>5 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
  </channel>
</rss>

