<?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 installing update 9 trashes path in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798116#M1389</link>
    <description>Installation of VTune update 9 'slightly' trashed the path in VS.&lt;BR /&gt;My prior update of Parallel Studio XE did the same thing (could have been the VTune component)&lt;BR /&gt;&lt;BR /&gt;The Parallel Studio XE update symptom was that some of the .DLLs that my app uses could not be located in Debug run nor other build configurations.&lt;BR /&gt;&lt;BR /&gt;The VTune update resulted in the same thing.&lt;BR /&gt;&lt;BR /&gt;In inspecting environment variables via Control Pannel | System... the required path is present.&lt;BR /&gt;&lt;BR /&gt;However, in using the VS Property manager to observe the path, the path is truncated.&lt;BR /&gt;&lt;BR /&gt;I am not sure as to if this is a VS issue or a VTune/PS XE installation issue where the project property for PATH has a buffer size problem. In my case PATH= contains ~3755 charactes.&lt;BR /&gt;&lt;BR /&gt;Please check your code to see if it uses a fixed size buffer for manipulating PATH in the Project Property within Visual Studio during installation.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
    <pubDate>Wed, 20 Jun 2012 13:08:01 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2012-06-20T13:08:01Z</dc:date>
    <item>
      <title>installing update 9 trashes path</title>
      <link>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798116#M1389</link>
      <description>Installation of VTune update 9 'slightly' trashed the path in VS.&lt;BR /&gt;My prior update of Parallel Studio XE did the same thing (could have been the VTune component)&lt;BR /&gt;&lt;BR /&gt;The Parallel Studio XE update symptom was that some of the .DLLs that my app uses could not be located in Debug run nor other build configurations.&lt;BR /&gt;&lt;BR /&gt;The VTune update resulted in the same thing.&lt;BR /&gt;&lt;BR /&gt;In inspecting environment variables via Control Pannel | System... the required path is present.&lt;BR /&gt;&lt;BR /&gt;However, in using the VS Property manager to observe the path, the path is truncated.&lt;BR /&gt;&lt;BR /&gt;I am not sure as to if this is a VS issue or a VTune/PS XE installation issue where the project property for PATH has a buffer size problem. In my case PATH= contains ~3755 charactes.&lt;BR /&gt;&lt;BR /&gt;Please check your code to see if it uses a fixed size buffer for manipulating PATH in the Project Property within Visual Studio during installation.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Wed, 20 Jun 2012 13:08:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798116#M1389</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-06-20T13:08:01Z</dc:date>
    </item>
    <item>
      <title>installing update 9 trashes path</title>
      <link>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798117#M1390</link>
      <description>I met this problem before, the reason is limited length of PATH; Ithink that this is not the issuefrominstalling the Parallel Studio XE. I forget how to fix this issue, knowledge from Microsoft...&lt;BR /&gt;&lt;BR /&gt;Aquick workaround is - open a cmd, or Command PromptfromParallel Studio XE,&lt;BR /&gt;set PATH= truncated_path;%PATH%&lt;BR /&gt;devenv&lt;BR /&gt;&lt;BR /&gt;Then,variable of PATH in cmd will beinheritedinVS IDEfor all projects.&lt;BR /&gt;&lt;BR /&gt;Regards, Peter&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2012 08:06:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798117#M1390</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2012-06-21T08:06:06Z</dc:date>
    </item>
    <item>
      <title>installing update 9 trashes path</title>
      <link>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798118#M1391</link>
      <description>&amp;gt;&amp;gt;set PATH= truncated_path;%PATH%&lt;BR /&gt;&lt;BR /&gt;I haven't but it likely will not work. 'caus....&lt;BR /&gt;&lt;BR /&gt;When you start VS, it's PATH starts with the the SYSTEM variable PATH&lt;BR /&gt;... However, VS now has each Project containing a property sheet containing PATH (and environment variables). Presumably (my guess) is when you creat a project, VS imports the global environment variables, including PATH, friom the system/user environment. From thereon, the user, OR some installation update (VTune, Parallel Studio) updates the project property sheet environment variables, and in this case VTune update and Parallel Studio update is truncating the extra long environment variables.&lt;BR /&gt;&lt;BR /&gt;The "set PATH= truncated_path;%PATH%" would produce the incorrect results. You would end up with something like&lt;BR /&gt;&lt;BR /&gt;PATH=Mares eat oats, does eat oats but li;Mares eat oats, does eat oats but little lambs eat ivy.&lt;BR /&gt;&lt;BR /&gt;Please look at your installer, the VS integration part, that manipulates the environment variables. I am guessing that somewhere in there you have a fixed size buffer, perhaps containing MAXPATH, which by the way is the maximum path length &lt;STRONG&gt;for each token&lt;/STRONG&gt; in PATH (IOW not the maximum number of characters in the environment variable PATH). It doesn't take too many tokens such as:&lt;BR /&gt;&lt;BR /&gt; C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;&lt;BR /&gt;&lt;BR /&gt;to fill up a fixed length buffer.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Thu, 21 Jun 2012 15:49:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798118#M1391</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-06-21T15:49:50Z</dc:date>
    </item>
    <item>
      <title>installing update 9 trashes path</title>
      <link>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798119#M1392</link>
      <description>This is a real problem created by the Intel Windows compiler installers, but I have become used to it. Sometimes, an installation fails in the first attempt and one fixes the problem and repeats the installation, successfully the second time, and now %PATH% has two sets of identical substrings pointing to the compiler and VS directories. Similarly for %LIB% and %INCLUDE%.&lt;BR /&gt;&lt;BR /&gt;Other vendors' installers ask for the user's permission before changing %PATH% and other environmental variables.</description>
      <pubDate>Fri, 22 Jun 2012 23:24:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/installing-update-9-trashes-path/m-p/798119#M1392</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-22T23:24:59Z</dc:date>
    </item>
  </channel>
</rss>

