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.0where:
| 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:
- remove the whole integration from VS: {Installer Name}.exe /HostsToRemove=ReSharperPlatformVs10
- integrate ReSharper back to VS: {Installer Name}.exe /SpecificProductNames=ReSharper /Silent=True /VsVersion=10.0
Comments
0 comments
Please sign in to leave a comment.