<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>SCOTT-HILL.CO.UK - Installshield</title>
    <link>http://www.scott-hill.co.uk/blog/</link>
    <description>Software design and other ramblings</description>
    <language>en-us</language>
    <copyright>Scott Hill</copyright>
    <lastBuildDate>Thu, 07 May 2009 16:00:58 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>scott@scott-hill.co.uk</managingEditor>
    <webMaster>scott@scott-hill.co.uk</webMaster>
    <item>
      <trackback:ping>http://www.scott-hill.co.uk/blog/Trackback.aspx?guid=12eff0e2-b47b-4b24-b7d7-e1905c179064</trackback:ping>
      <pingback:server>http://www.scott-hill.co.uk/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.scott-hill.co.uk/blog/PermaLink,guid,12eff0e2-b47b-4b24-b7d7-e1905c179064.aspx</pingback:target>
      <dc:creator>Scott Hill</dc:creator>
      <wfw:comment>http://www.scott-hill.co.uk/blog/CommentView,guid,12eff0e2-b47b-4b24-b7d7-e1905c179064.aspx</wfw:comment>
      <wfw:commentRss>http://www.scott-hill.co.uk/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=12eff0e2-b47b-4b24-b7d7-e1905c179064</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font color="#000000">I had an issue today with installing assemblies into the GAC
through installshield. My installer has several components configured with a
Destination of <strong>[GlobalAssemblyCache]</strong> which is the recommended way
of performing a GacUtil through installshield. Now previously, the <strong>".NET Scan
at Build"</strong> property for these components had been set to <strong>"Dependencies
and Properties"</strong> and everything worked fine. Recently we have been updating
the installers to work for 64 bit installations (managed by altering the ISM as part
of our build process). As a result of this I had to remove the dependancy scan as
this was causing issues on 64 bit servers. I set this field to <strong>"None"</strong> and
soon found that all the assemblies I had targeted at the GAC ended up on the root
of the install drive (i.e. c:\) instead of in the GAC :o</font>
        </p>
        <p>
          <font color="#000000">Anyway, I eventually managed to solve this issue by setting
the <strong>".NET Scan at Build"</strong> property to "<strong>Properties Only</strong>".
It seems that this has to be set for GACed assemblies as it causes the MsiAssembly
table to be populated.</font>
        </p>
        <p>
          <font color="#000000">Hope this helps anyone else with similar issues.</font>
        </p>
        <img src="http://www.scott-hill.co.uk/blog/content/binary/Installshield.jpg" border="0" />
        <img width="0" height="0" src="http://www.scott-hill.co.uk/blog/aggbug.ashx?id=12eff0e2-b47b-4b24-b7d7-e1905c179064" />
      </body>
      <title>Installshield - GlobalAssemblyCache Install Location</title>
      <guid isPermaLink="false">http://www.scott-hill.co.uk/blog/PermaLink,guid,12eff0e2-b47b-4b24-b7d7-e1905c179064.aspx</guid>
      <link>http://www.scott-hill.co.uk/blog/2009/05/07/InstallshieldGlobalAssemblyCacheInstallLocation.aspx</link>
      <pubDate>Thu, 07 May 2009 16:00:58 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font color=#000000&gt;I had an issue today with installing assemblies into the GAC through
installshield. My installer&amp;nbsp;has several components configured with a Destination
of &lt;strong&gt;[GlobalAssemblyCache]&lt;/strong&gt; which is the recommended way of performing
a GacUtil through installshield. Now previously, the &lt;strong&gt;".NET Scan at Build"&lt;/strong&gt; property
for these components had been set to &lt;strong&gt;"Dependencies and Properties"&lt;/strong&gt; and
everything worked fine. Recently we have been updating the installers to work for
64 bit installations (managed by altering the ISM as part of our build process). As
a result of this I had to remove the dependancy scan as this was causing issues on
64 bit servers. I set this field to &lt;strong&gt;"None"&lt;/strong&gt; and soon found that all
the assemblies I had targeted at the GAC ended up on the root of the install drive
(i.e. c:\) instead of in the GAC :o&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#000000&gt;Anyway, I eventually managed to solve this issue by setting the &lt;strong&gt;".NET
Scan at Build"&lt;/strong&gt; property to "&lt;strong&gt;Properties Only&lt;/strong&gt;". It seems that
this has to be set for GACed assemblies as it causes the MsiAssembly table to be populated.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#000000&gt;Hope this helps anyone else with similar issues.&lt;/font&gt;
&lt;/p&gt;
&lt;img src="http://www.scott-hill.co.uk/blog/content/binary/Installshield.jpg" border=0&gt;&lt;img width="0" height="0" src="http://www.scott-hill.co.uk/blog/aggbug.ashx?id=12eff0e2-b47b-4b24-b7d7-e1905c179064" /&gt;</description>
      <comments>http://www.scott-hill.co.uk/blog/CommentView,guid,12eff0e2-b47b-4b24-b7d7-e1905c179064.aspx</comments>
      <category>Installshield</category>
    </item>
  </channel>
</rss>