<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>InnoSetup on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/innosetup/</link><description>Recent content in InnoSetup on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 17 Jan 2011 09:15:37 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/innosetup/index.xml" rel="self" type="application/rss+xml"/><item><title>Another packaging challenge</title><link>https://remkoweijnen.nl/blog/2011/01/17/another-packaging-challenge/</link><pubDate>Mon, 17 Jan 2011 09:15:37 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/17/another-packaging-challenge/</guid><description>&lt;p&gt;Another post on something that happened last week, this time it&amp;rsquo;s about a Java based Application again.&lt;/p&gt;
&lt;p&gt;This particular application wanted to download three DLL&amp;rsquo;s from the Webserver to the Java bin directory.&lt;/p&gt;
&lt;p&gt;This presents us with several issues on a multi user server such as a Citrix of Terminal Server:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;The user does not have write permissions in this directory&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;If we we give the user write permissions here what happens when the DLL's are in use by another user?&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
I assumed that if I preinstalled the DLL's the application wouldn't try to overwrite them but that didn't work.
&lt;p&gt;Then I monitored with Process Monitor if the Application wrote some kind of check file but at first I didn&amp;rsquo;t find anything.&lt;/p&gt;
&lt;p&gt;So I decided to use the CorrectFilePaths shim to redirect the DLL&amp;rsquo;s to the user&amp;rsquo;s homedirectory (see &lt;a href="https://remkoweijnen.nl/blog/2010/12/28/using-the-correctfilepaths-shim-to-redirect-an-ini-file-to-a-writable-location/" target="_blank"&gt;Using the CorrectFilePaths shim to redirect an ini file to a writable location&lt;/a&gt; for an explanation).&lt;/p&gt;</description></item></channel></rss>