<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Question VBScript FileCreation Sandbox in ThinApp</title>
    <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126399#M2316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO if you want do this, you should change isolation mode for root c:\ disk to "WriteCopy".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ondrej Zilinec - Cievo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Good question is half of the answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2010 14:01:43 GMT</pubDate>
    <dc:creator>Cievo</dc:creator>
    <dc:date>2010-01-29T14:01:43Z</dc:date>
    <item>
      <title>Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126397#M2314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to write a vbscript that create a file at first use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working like a charm except that the file is created on the real filesystem and not in the sandbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to write the file inside the sandbox ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my basic script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim filesys, filetxt&lt;/P&gt;&lt;P&gt;Set filesys = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function OnFirstSandboxOwner&lt;/P&gt;&lt;P&gt;	FileName = "c:\FirstTimeUse.txt"&lt;/P&gt;&lt;P&gt;	if Not filesys.FileExists(FileName) Then&lt;/P&gt;&lt;P&gt;			MsgBox "!!! Attention !!!" &amp;amp; vbCrLf &amp;amp; "The first time use may take severals seconds to open databases." &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp;"La première utilisation peu prendre plusieurs secondes à ouvrir les bases de données."&lt;/P&gt;&lt;P&gt;	End If&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;	Set filetxt = filesys.CreateTextFile(FileName, True)&lt;/P&gt;&lt;P&gt;	filetxt.WriteLine("True")&lt;/P&gt;&lt;P&gt;	filetxt.Close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 19:16:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126397#M2314</guid>
      <dc:creator>snantel</dc:creator>
      <dc:date>2010-01-28T19:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126398#M2315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, I want to create the file in the virtual c: drive and not the real c: drive...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 19:33:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126398#M2315</guid>
      <dc:creator>snantel</dc:creator>
      <dc:date>2010-01-28T19:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126399#M2316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO if you want do this, you should change isolation mode for root c:\ disk to "WriteCopy".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ondrej Zilinec - Cievo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Good question is half of the answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 14:01:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126399#M2316</guid>
      <dc:creator>Cievo</dc:creator>
      <dc:date>2010-01-29T14:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126400#M2317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey hey... God damn thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometime we lost so much times looking for simple things...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forget to follow my own rules... Looks for simple solution first !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to bring me back to the right track !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's so simple now !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileName = "c:\ThinLogs\" + SandboxName + ".txt"&lt;/P&gt;&lt;P&gt;if Not filesys.FileExists(FileName) Then&lt;/P&gt;&lt;P&gt;			MsgBox "!!! Attention !!!" &amp;amp; vbCrLf &amp;amp; "The first time use may take severals seconds to open databases." &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp;"La première utilisation peu prendre plusieurs secondes à ouvrir les bases de données."&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'MsgBox FileName&lt;/P&gt;&lt;P&gt;Set filetxt = filesys.CreateTextFile(FileName, True)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filetxt.WriteLine("True")&lt;/P&gt;&lt;P&gt;filetxt.Close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I create the directory&lt;/P&gt;&lt;P&gt;%drive_C%\ThinLogs&lt;/P&gt;&lt;P&gt;create the files ##Attributes.ini&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/Isolation"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;DirectoryIsolationMode=WriteCopy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my Boss want a licence tracking and software usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking to create an SQL database and insert a vbscript that will insert a line into this SQL database, So after that, he will be able to generate report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 14:49:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126400#M2317</guid>
      <dc:creator>snantel</dc:creator>
      <dc:date>2010-01-29T14:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126401#M2318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad it helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it's good to implement SQL software-usage tracking. ThinApp said that new software-usage tracking system will be implemented into new version of ThinApp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It this things helped you, just mark my answer as Answer, so this thread can be closed and marked as solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ondrej Zilinec - Cievo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Good question is half of the answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 12:11:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126401#M2318</guid>
      <dc:creator>Cievo</dc:creator>
      <dc:date>2010-02-01T12:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question VBScript FileCreation Sandbox</title>
      <link>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126402#M2319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should check out &lt;A href="http://www.softwarekey.com/metering-system/"&gt;SoftwareKey&lt;/A&gt; for license tracking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 12:38:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Question-VBScript-FileCreation-Sandbox/m-p/1126402#M2319</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-02-01T12:38:01Z</dc:date>
    </item>
  </channel>
</rss>

