Silent Install - Toolbox App - Windows

Hey,

 

is there anyway to install the Toolbox on Windows 10 x64 - Silently ?

 

Commands like /S / Silent dont work.

 

greetings

Benni

0
5 comments

Same problem here. I need a way to deploy the Toolbox in unattended/silent way. I'm NOT logging into 50 separate machines to install manually!!

0

In my first attemp i created a msi with EMCO MSI BUILDER, which was ok, but i want to keep it simple and only copy the toolbox folder the default place and add the needed registry entrys.

Default Folder: (Yes you could change it, but on the next update it will install it again the the localappdate folder, so dont change it)

%localappdata%\JetBrains\Toolbox\JetBrains\Toolbox

and then you need the following registry values:

create a *.reg with the following content (could be that %username% dont work, normaly the actual user stands there, i set this with my deployment tool):

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"JetBrains Toolbox"="\"C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin\\jetbrains-toolbox.exe\" --minimize"

[HKEY_CURRENT_USER\Software\JetBrains\Platform]
"JetBrains.Accepted.eua"="1.2"
s
[HKEY_CURRENT_USER\Software\JavaSoft\Prefs\jetbrains\privacy_policy]
"eua_accepted_version"="1.2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Jetbrains\Jetbrains - Toolbox]
"{1BDEF017-685B-4456-9B3C-BB692A833CC1}"="C:\\temp\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Jetbrains\Toolbox]
@="C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"JetBrains Toolbox"="\"C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin\\jetbrains-toolbox.exe\" --minimize"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jetbrains\shell\open\command]
@="\"C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin\\jetbrains-toolbox.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UFH\SHC]
"36"=hex(7):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,50,00,75,00,\
62,00,6c,00,69,00,63,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,5c,\
00,4a,00,65,00,74,00,42,00,72,00,61,00,69,00,6e,00,73,00,20,00,54,00,6f,00,\
6f,00,6c,00,62,00,6f,00,78,00,2e,00,6c,00,6e,00,6b,00,00,00,43,00,3a,00,5c,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,\
73,00,20,00,28,00,78,00,38,00,36,00,29,00,5c,00,4a,00,65,00,74,00,42,00,72,\
00,61,00,69,00,6e,00,73,00,5c,00,54,00,6f,00,6f,00,6c,00,62,00,6f,00,78,00,\
5c,00,62,00,69,00,6e,00,5c,00,6a,00,65,00,74,00,62,00,72,00,61,00,69,00,6e,\
00,73,00,2d,00,74,00,6f,00,6f,00,6c,00,62,00,6f,00,78,00,2e,00,65,00,78,00,\
65,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Toolbox]
"Contact"="support@jetbrains.com"
"DisplayIcon"="C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin\\jetbrains-toolbox.exe"
"DisplayName"="JetBrains Toolbox"
"DisplayVersion"="1.13.4801"
"NoModify"="1"
"NoRepair"="1"
"Publisher"="JetBrains"
"UninstallString"="C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\bin\\Uninstall.exe"
"URLInfoAbout"="https://www.jetbrains.com"
"SystemComponent"=dword:00000001

 

 

0

I actually got the /S flag to work. I used the PowerShell commands below:

Install:

Start-Process -FilePath "\Path-to-exe\jetbrains-toolbox-1.16.6016.exe" -ArgumentList "/S" -NoNewWindow -Wait
 
Uninstall:
 
if (Get-Process -Name "jetbrains-toolbox") {
Stop-Process-Name "jetbrains-toolbox"-Force
}

if (Get-Process -Name "jetbrains-toolbox-helper") {
Stop-Process-Name "jetbrains-toolbox-helper"-Force
}

# Run the built-in JetBrains Toolbox uninstaller
Start-Process -FilePath "${env:LOCALAPPDATA}\Jetbrains\Toolbox\bin\Uninstall.exe" -ArgumentList "/S" -NoNewWindow -Wait
 
Hopefully, this helps.
0

Hi again i have a issue with the Uninstallation, it opens a browser Window "https://www.jetbrains.com/toolbox-app/uninstall/" which is realy annoying for reinstallation, is there any commandline to suppress that ?

Iam using now  the Powershell Deployment Toolkit, since its a User install ,i need to use the Execute-ProcessAsUser function ,which has no option for -NoNewWindow.

Any workarounds besides dont use the uninstall and remove all files manually ?

greetings

Benni

0

Here's an open issue about it https://youtrack.jetbrains.com/issue/TBX-3219 

Nevertheless, feel free to comment or upvote. 

0

Please sign in to leave a comment.