jiller / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

Agent Smith is installed into wrong folder #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It was installed into
C:\Program Files\JetBrains\ReSharper\v3.1\vs8.0\Bin\Plugins\Agent Smith\

However it could be installed into:
Settings\paul\Application Data\JetBrains\ReSharper\v3.1\vs8.0
\Plugins\AgentSmith

Original issue reported on code.google.com by forever....@gmail.com on 3 Mar 2008 at 2:12

GoogleCodeExporter commented 8 years ago
Use the following wix fragment to figure out a folder the ReSharper installed 
in:

    <Fragment>
        <Property Id="RESHARPER31VS2005_DIR" Secure="yes">
            <RegistrySearch Id="ReSharper31VS2005DirSearch" Root="HKLM"
Key="SOFTWARE\JetBrains\ReSharper\v3.1\vs8.0" Name="InstallDir" Type="raw" />
        </Property>

        <Property Id="RESHARPER31VS2005" Secure="yes">
            <RegistrySearch Id="ReSharper31VS2005DirSearch" Root="HKLM"
Key="SOFTWARE\JetBrains\ReSharper\v3.1\vs8.0" Name="InstallDir" 
Type="directory">
                <FileSearch Id="ReSharperFile31VS2005Search"
Name="$(var.ReSharperFileToCheck)" MinVersion="3.0.517.8" 
MaxVersion="3.1.65535.65535" />
            </RegistrySearch>
        </Property>
    </Fragment>

This will search for ReSharper 3.1 for VS2005. Same way to search other 
versions.
Just change some numbers.

Original comment by pblu...@gmail.com on 8 Apr 2008 at 10:03

GoogleCodeExporter commented 8 years ago
Thanks, I will try. I've tried something similar, but it didn't work

Original comment by forever....@gmail.com on 8 Apr 2008 at 4:35

GoogleCodeExporter commented 8 years ago

Original comment by forever....@gmail.com on 21 Apr 2008 at 9:03