<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Using the ThinApp SDK from PowerShell	</title>
	<atom:link href="https://www.lucd.info/2010/08/21/using-the-thinapp-sdk-from-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lucd.info/2010/08/21/using-the-thinapp-sdk-from-powershell/</link>
	<description>My PowerShell ramblings</description>
	<lastBuildDate>Wed, 08 Apr 2020 10:54:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.10</generator>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>
		By: LucD		</title>
		<link>https://www.lucd.info/2010/08/21/using-the-thinapp-sdk-from-powershell/#comment-1150</link>

		<dc:creator><![CDATA[LucD]]></dc:creator>
		<pubDate>Thu, 04 Aug 2011 09:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=2602#comment-1150</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.lucd.info/2010/08/21/using-the-thinapp-sdk-from-powershell/#comment-1145&quot;&gt;Laurensius&lt;/a&gt;.

@Laurensius, you can&#039;t change the package itself, the SDK is mostly read-only.
But you can set an environment variable to change the location (see Chap 6 of the ThinApp User&#039;s Manual).
Something like this
&lt;code&gt;
$ThinAppPackage = &quot;\\share\app\app.exe&quot;
$thinMgmt = New-Object -ComObject ThinApp.Management
$package = $thinMgmt.OpenPackage($ThinAppPackage)
$options = $package.GetOptions()
$name = ($options &#124; where {$_.Name -eq &quot;InventoryName&quot;}).Value
cd env:
New-Item -Name ($name + &quot;_SANDBOX_DIR&quot;) -Value &quot;C:\Sandbox&quot;
cd c:\
Invoke-Item $ThinAppPackage
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>@Laurensius, you can&#8217;t change the package itself, the SDK is mostly read-only.<br />
But you can set an environment variable to change the location (see Chap 6 of the ThinApp User&#8217;s Manual).<br />
Something like this<br />
<code><br />
$ThinAppPackage = "\\share\app\app.exe"<br />
$thinMgmt = New-Object -ComObject ThinApp.Management<br />
$package = $thinMgmt.OpenPackage($ThinAppPackage)<br />
$options = $package.GetOptions()<br />
$name = ($options | where {$_.Name -eq "InventoryName"}).Value<br />
cd env:<br />
New-Item -Name ($name + "_SANDBOX_DIR") -Value "C:\Sandbox"<br />
cd c:\<br />
Invoke-Item $ThinAppPackage<br />
</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Laurensius		</title>
		<link>https://www.lucd.info/2010/08/21/using-the-thinapp-sdk-from-powershell/#comment-1145</link>

		<dc:creator><![CDATA[Laurensius]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 08:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucd.info/?p=2602#comment-1145</guid>

					<description><![CDATA[Good article on ThinApp SDK. Just wondering if using SDK and powershell we can modify ThinApp executable? for example I&#039;d like to change location of the sandbox and I no longer have the project files to change it in package.ini. Thank you.]]></description>
			<content:encoded><![CDATA[<p>Good article on ThinApp SDK. Just wondering if using SDK and powershell we can modify ThinApp executable? for example I&#8217;d like to change location of the sandbox and I no longer have the project files to change it in package.ini. Thank you.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
