<?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: Demand Loading Issues. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389859#M84221</link>
    <description>Hi Tim,&lt;BR /&gt;
&lt;BR /&gt;
I use Inno Setup to do the installs.  I would strongly suggest that you use&lt;BR /&gt;
this as your install program if you are not already doing so.&lt;BR /&gt;
&lt;BR /&gt;
I can check for installed versions of AutoCAD with script as follows:&lt;BR /&gt;
&lt;BR /&gt;
function R2006LandFound(): Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
  if RegKeyExists( HKLM, 'SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4008:409')&lt;BR /&gt;
then begin&lt;BR /&gt;
    Result := true;&lt;BR /&gt;
  end&lt;BR /&gt;
    else&lt;BR /&gt;
  begin&lt;BR /&gt;
    Result := false;&lt;BR /&gt;
  end;&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
I have a file "CADAppsFindVersions.txt" containing this (and all the others&lt;BR /&gt;
versions of AutoCAD relevant for our products) and I attach this file to all&lt;BR /&gt;
installation scripts as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Code]&lt;BR /&gt;
#include "C:\Installation\CADApps Install&lt;BR /&gt;
Items\InnoSetupStdScripts\CADAppsFindVersions.txt"&lt;BR /&gt;
&lt;BR /&gt;
Then the scripts from this file are used as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Files]&lt;BR /&gt;
Source: {src}\Programs\Landscape-2006-v5.dvb; DestDir:&lt;BR /&gt;
{app}\Landscape\Programs; Flags: external ignoreversion; Check:&lt;BR /&gt;
R2006LandFound&lt;BR /&gt;
&lt;BR /&gt;
If Land Desktop 2006 is not installed then the line above is not invoked &lt;BR /&gt;
based on the output returned to 'Check' by the function 'R2006LandFound'&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
"Tim Riley" &lt;RILTIM______AT_____GMAIL.COM&gt; wrote in message &lt;BR /&gt;
news:4912244@discussion.autodesk.com...&lt;BR /&gt;
I was just wondering how everyone is dealing with demand loading .dll's for&lt;BR /&gt;
multiple versions of AutoCAD. Basically I want to create an installer that&lt;BR /&gt;
will work for either AutoCAD Mechanical 2005 or the version of Mechanical&lt;BR /&gt;
2005 that comes with Inventor. My problem is they reside under different&lt;BR /&gt;
registry keys, ACAD-305:409 and ACAD-303:409. Is there an easier way other&lt;BR /&gt;
than checking to see if these registry keys exist and then installing? What&lt;BR /&gt;
if I wanted to distribute this to people whom I didn't know what vertical&lt;BR /&gt;
flavor of AutoCAD they were using?&lt;BR /&gt;
&lt;BR /&gt;
I haven't started working on my NSIS script yet but when I do I'd like to&lt;BR /&gt;
know if there's an easier option for me.&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Tim Riley&lt;/RILTIM______AT_____GMAIL.COM&gt;</description>
    <pubDate>Wed, 27 Jul 2005 23:20:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-07-27T23:20:45Z</dc:date>
    <item>
      <title>Demand Loading Issues.</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389858#M84220</link>
      <description>I was just wondering how everyone is dealing with demand loading .dll's for &lt;BR /&gt;
multiple versions of AutoCAD. Basically I want to create an installer that &lt;BR /&gt;
will work for either AutoCAD Mechanical 2005 or the version of Mechanical &lt;BR /&gt;
2005 that comes with Inventor. My problem is they reside under different &lt;BR /&gt;
registry keys, ACAD-305:409 and ACAD-303:409. Is there an easier way other &lt;BR /&gt;
than checking to see if these registry keys exist and then installing? What &lt;BR /&gt;
if I wanted to distribute this to people whom I didn't know what vertical &lt;BR /&gt;
flavor of AutoCAD they were using?&lt;BR /&gt;
&lt;BR /&gt;
I haven't started working on my NSIS script yet but when I do I'd like to &lt;BR /&gt;
know if there's an easier option for me.&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Tim Riley</description>
      <pubDate>Wed, 27 Jul 2005 13:30:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389858#M84220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-27T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Loading Issues.</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389859#M84221</link>
      <description>Hi Tim,&lt;BR /&gt;
&lt;BR /&gt;
I use Inno Setup to do the installs.  I would strongly suggest that you use&lt;BR /&gt;
this as your install program if you are not already doing so.&lt;BR /&gt;
&lt;BR /&gt;
I can check for installed versions of AutoCAD with script as follows:&lt;BR /&gt;
&lt;BR /&gt;
function R2006LandFound(): Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
  if RegKeyExists( HKLM, 'SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4008:409')&lt;BR /&gt;
then begin&lt;BR /&gt;
    Result := true;&lt;BR /&gt;
  end&lt;BR /&gt;
    else&lt;BR /&gt;
  begin&lt;BR /&gt;
    Result := false;&lt;BR /&gt;
  end;&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
I have a file "CADAppsFindVersions.txt" containing this (and all the others&lt;BR /&gt;
versions of AutoCAD relevant for our products) and I attach this file to all&lt;BR /&gt;
installation scripts as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Code]&lt;BR /&gt;
#include "C:\Installation\CADApps Install&lt;BR /&gt;
Items\InnoSetupStdScripts\CADAppsFindVersions.txt"&lt;BR /&gt;
&lt;BR /&gt;
Then the scripts from this file are used as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Files]&lt;BR /&gt;
Source: {src}\Programs\Landscape-2006-v5.dvb; DestDir:&lt;BR /&gt;
{app}\Landscape\Programs; Flags: external ignoreversion; Check:&lt;BR /&gt;
R2006LandFound&lt;BR /&gt;
&lt;BR /&gt;
If Land Desktop 2006 is not installed then the line above is not invoked &lt;BR /&gt;
based on the output returned to 'Check' by the function 'R2006LandFound'&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
"Tim Riley" &lt;RILTIM______AT_____GMAIL.COM&gt; wrote in message &lt;BR /&gt;
news:4912244@discussion.autodesk.com...&lt;BR /&gt;
I was just wondering how everyone is dealing with demand loading .dll's for&lt;BR /&gt;
multiple versions of AutoCAD. Basically I want to create an installer that&lt;BR /&gt;
will work for either AutoCAD Mechanical 2005 or the version of Mechanical&lt;BR /&gt;
2005 that comes with Inventor. My problem is they reside under different&lt;BR /&gt;
registry keys, ACAD-305:409 and ACAD-303:409. Is there an easier way other&lt;BR /&gt;
than checking to see if these registry keys exist and then installing? What&lt;BR /&gt;
if I wanted to distribute this to people whom I didn't know what vertical&lt;BR /&gt;
flavor of AutoCAD they were using?&lt;BR /&gt;
&lt;BR /&gt;
I haven't started working on my NSIS script yet but when I do I'd like to&lt;BR /&gt;
know if there's an easier option for me.&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Tim Riley&lt;/RILTIM______AT_____GMAIL.COM&gt;</description>
      <pubDate>Wed, 27 Jul 2005 23:20:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389859#M84221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-27T23:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Loading Issues.</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389860#M84222</link>
      <description>"Laurie Comerford" &lt;LAURIE.COMERFORD&gt; wrote &lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
function R2006LandFound(): Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
  if RegKeyExists( HKLM, 'SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4008:409')&lt;BR /&gt;
then begin&lt;BR /&gt;
    Result := true;&lt;BR /&gt;
  end&lt;BR /&gt;
    else&lt;BR /&gt;
  begin&lt;BR /&gt;
    Result := false;&lt;BR /&gt;
  end;&lt;BR /&gt;
end;&lt;BR /&gt;
&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;
&lt;BR /&gt;
Yes, except that the above can be distilled down to this:&lt;BR /&gt;
&lt;BR /&gt;
Function R2006LandInstalled: Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
    Result := RegKeyExists( HKLM, 'SOFTWARE\Autodesk\... blah blah");&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;/LAURIE.COMERFORD&gt;</description>
      <pubDate>Thu, 28 Jul 2005 03:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389860#M84222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-28T03:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Loading Issues.</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389861#M84223</link>
      <description>Hi Tony,&lt;BR /&gt;
&lt;BR /&gt;
Thanks.  That makes complete sense.&lt;BR /&gt;
&lt;BR /&gt;
All my pascal script is based on "minimal understanding - semi-guesswork - &lt;BR /&gt;
trial and error" till it works - then leave alone.&lt;BR /&gt;
&lt;BR /&gt;
&lt;SNIP&gt;&lt;BR /&gt;
&lt;BR /&gt;
Yes, except that the above can be distilled down to this:&lt;BR /&gt;
&lt;BR /&gt;
Function R2006LandInstalled: Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
    Result := RegKeyExists( HKLM, 'SOFTWARE\Autodesk\... blah blah");&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;/SNIP&gt;</description>
      <pubDate>Thu, 28 Jul 2005 03:26:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389861#M84223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-28T03:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Loading Issues.</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389862#M84224</link>
      <description>Laurie:&lt;BR /&gt;
&lt;BR /&gt;
Thanks I'll check out Inno Setup.&lt;BR /&gt;
&lt;BR /&gt;
Tim Riley&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE.COMERFORD&gt; wrote in message &lt;BR /&gt;
news:4913033@discussion.autodesk.com...&lt;BR /&gt;
Hi Tim,&lt;BR /&gt;
&lt;BR /&gt;
I use Inno Setup to do the installs.  I would strongly suggest that you use&lt;BR /&gt;
this as your install program if you are not already doing so.&lt;BR /&gt;
&lt;BR /&gt;
I can check for installed versions of AutoCAD with script as follows:&lt;BR /&gt;
&lt;BR /&gt;
function R2006LandFound(): Boolean;&lt;BR /&gt;
begin&lt;BR /&gt;
  if RegKeyExists( HKLM, 'SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4008:409')&lt;BR /&gt;
then begin&lt;BR /&gt;
    Result := true;&lt;BR /&gt;
  end&lt;BR /&gt;
    else&lt;BR /&gt;
  begin&lt;BR /&gt;
    Result := false;&lt;BR /&gt;
  end;&lt;BR /&gt;
end;&lt;BR /&gt;
&lt;BR /&gt;
I have a file "CADAppsFindVersions.txt" containing this (and all the others&lt;BR /&gt;
versions of AutoCAD relevant for our products) and I attach this file to all&lt;BR /&gt;
installation scripts as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Code]&lt;BR /&gt;
#include "C:\Installation\CADApps Install&lt;BR /&gt;
Items\InnoSetupStdScripts\CADAppsFindVersions.txt"&lt;BR /&gt;
&lt;BR /&gt;
Then the scripts from this file are used as follows:&lt;BR /&gt;
&lt;BR /&gt;
[Files]&lt;BR /&gt;
Source: {src}\Programs\Landscape-2006-v5.dvb; DestDir:&lt;BR /&gt;
{app}\Landscape\Programs; Flags: external ignoreversion; Check:&lt;BR /&gt;
R2006LandFound&lt;BR /&gt;
&lt;BR /&gt;
If Land Desktop 2006 is not installed then the line above is not invoked&lt;BR /&gt;
based on the output returned to 'Check' by the function 'R2006LandFound'&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
"Tim Riley" &lt;RILTIM______AT_____GMAIL.COM&gt; wrote in message&lt;BR /&gt;
news:4912244@discussion.autodesk.com...&lt;BR /&gt;
I was just wondering how everyone is dealing with demand loading .dll's for&lt;BR /&gt;
multiple versions of AutoCAD. Basically I want to create an installer that&lt;BR /&gt;
will work for either AutoCAD Mechanical 2005 or the version of Mechanical&lt;BR /&gt;
2005 that comes with Inventor. My problem is they reside under different&lt;BR /&gt;
registry keys, ACAD-305:409 and ACAD-303:409. Is there an easier way other&lt;BR /&gt;
than checking to see if these registry keys exist and then installing? What&lt;BR /&gt;
if I wanted to distribute this to people whom I didn't know what vertical&lt;BR /&gt;
flavor of AutoCAD they were using?&lt;BR /&gt;
&lt;BR /&gt;
I haven't started working on my NSIS script yet but when I do I'd like to&lt;BR /&gt;
know if there's an easier option for me.&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Tim Riley&lt;/RILTIM______AT_____GMAIL.COM&gt;&lt;/LAURIE.COMERFORD&gt;</description>
      <pubDate>Thu, 28 Jul 2005 14:14:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-issues/m-p/1389862#M84224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-28T14:14:10Z</dc:date>
    </item>
  </channel>
</rss>

