How can I perform a 'silent install' and 'silent uninstall' of ReSharper via Command Line?

Install .NET products via command line:

e.g. 

{Installer Name}.exe /SpecificProductNames=ReSharper;dotTrace /Silent=True /VsVersion=16.0;12.0;10.0

where:

SpecificProductNames it can be: ReSharper, ReSharperAI, dotCover, dotPeek, teamCityAddin, etc.
VsVersion it can be: 17.0, 16.0, 15.0, 14.0, 12.0, 11.0, 10.0.  0 is for standalone products like dotPeek
LogFile

To customize a path to installer log file e.g./LogFile=foobar.txt

How to perform AllUsers installation - https://resharper-support.jetbrains.com/hc/en-us/articles/206545259

 

Uninstall .NET products via command line:

Recommended method is using the following command line:

{Installer Name}.exe /SpecificProductNamesToRemove=ReSharper;dotTrace /Silent=True /VsVersion=14.0;12.0;10.0

SpecificProductNamesToRemove

it can be: ReSharper, dotCover, dotPeek, teamCityAddin, etc.
For selecting everything use '*' symbol

VsVersion it can be: 17.0, 16.0, 15.0, 14.0, 12.0, 11.0, 10.0.  0 is for standalone products like dotPeek

The other method can be done by specifying the HostsToRemove directly:

{Installer Name}.exe /HostsToRemove={ProductID1;ProductID2;...}

ProductsIDs installed on a PC are specified here %LocalAppData%\JetBrains\Installations\. It can be:

dotCover07
dotMemory07
dotPeek07
dotTrace07
ReSharperPlatformVs14
ReSharperPlatformVs11
ReSharperPlatformVs12
ReSharperPlatformVs15_{Visual Studio Instance ID}
ReSharperPlatformVs16_{Visual Studio Instance ID}

ReSharperPlatformVs{Version} consists of ReSharper, TeamCity plugin and VS integrated part of dotTrace, dotCover and dotMemory. E.g. if you would like to remove TemCity plugin only, but keep ReSharper in Visual Studio 2010, you will need to remove whole integration from VS: {Installer Name}.exe /HostsToRemove=ReSharperPlatformVs10 and then integrate ReSharper back to VS: {Installer Name}.exe /SpecificProductNames=ReSharper /Silent=True /VsVersion=10.0

 

Prior 9.0:

Since ReSharper is installed via Microsoft Installer, you may launch a silent install with a standard "/qn" command line key for MSI Installer.

 

1 out of 9 found this helpful
4 comments

Hello Alex,

This seems to work however installs to "AppData" as opposed to ProgramFiles, I have tried running the install not as a package and I still can't find an option to specify where to install to. How do I specify and installation path and how do I set this via command line?

Thanks,

Rhys

0

we are trying to automate our environment setup.

{Installer Name}.exe /SpecificProductNames=teamCityAddin /Silent=True /VsVersion=15.0

installs ALL products, not just the TeamCity Add-in.

Tried:
TeamCityVsAdminSetup.web.exe (downloaded from our TC instance)
JetBrains.ResharperUltimate.2019.1.1.exe (current version at the time of this comment)

Is there something about this article's content I am misunderstanding or is there a direct VSIX for the teamCity plugin available? 


Edited by Charles Strong
0

Hello! qq, how can I install the ReSharper C++, what is the SpecificProductName of this tool?

0

Please sign in to leave a comment.

Have more questions?

Submit a request