How to use 'silent install' and 'silent uninstall' of ReSharper via Command Line?

The installer can generate a command line with all configuration options, which can then be copied and used in a custom installation scenario. More information: Silent installation via command line (Administrative mode).

Install .NET products via the command line

Sample command line: 

{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

Uninstall .NET products via the command line:

The 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 in %LocalAppData%\JetBrains\Installations\, for example:

  • 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. 

For example, to remove the TeamCity plugin only but keep ReSharper in Visual Studio 2010: 

  1. remove the whole integration from VS: {Installer Name}.exe /HostsToRemove=ReSharperPlatformVs10
  2. integrate ReSharper back to VS: {Installer Name}.exe /SpecificProductNames=ReSharper /Silent=True /VsVersion=10.0

 

2 out of 10 found this helpful
4 comments
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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 Permanently deleted user
0
Avatar
Permanently deleted user

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