MuleSoft Anypoint Studio is a user-friendly IDE (integration development environment) used for designing and testing Mule applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of MuleSoft Anypoint Studio from the command line using the ZIP file.
How to Install MuleSoft Anypoint Studio Silently
MuleSoft Anypoint Studio Silent Install
- Navigate to: https://www.mulesoft.com/lp/dl/studio
- Download the ZIP file to a folder created at (C:\Downloads)
- Navigate to: https://www.7-zip.org/download.html
- Click the Download link for the 64-bit x64 .exe
- Download the EXE to a folder created at (C:\Downloads)
- Navigate to: https://adoptopenjdk.net/
- Download the Windows x64 version of your choice
- Download the MSI to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following commands:
7z2107-x64.exe /S |
MsiExec.exe /i OpenJDKxxx-jdk_x64_windows_hotspot_x.y.z_x.msi ALLUSERS=1 /qn |
"%ProgramFiles%\7-Zip\7z.exe" x -o"C:\" ".\AnypointStudio-x.y.z-win64.zip" |
Create an Anypoint Studio Start Menu Shortcut with Windows PowerShell
- Open Notepad or your favorite text editor
- Add the following lines:
$TargetFile = "$envSystemDrive\AnypointStudio\AnypointStudio.exe"
$ShortcutFile = "$envAllUsersProfile\Microsoft\Windows\Start Menu\Programs\Anypoint Studio.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
- Save the file to C:\Downloads\AnypointStudio and name it: AnypointStudioStartMenuSC.ps1
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\AnypointStudio folder
- Enter the following command:
Powershell.exe -ExecutionPolicy ByPass -File ".\AnypointStudioStartMenuSC.ps1"
Create an Anypoint Studio Desktop Shortcut with Windows PowerShell
- Open Notepad or your favorite text editor
- Add the following lines:
$TargetFile = "$envSystemDrive\AnypointStudio\AnypointStudio.exe"
$ShortcutFile = "$envCommonDesktop\Anypoint Studio.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
- Save the file to C:\Downloads\AnypointStudio and name it: AnypointStudioDesktopSC.ps1
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\AnypointStudio folder
- Enter the following command:
Powershell.exe -ExecutionPolicy ByPass -File ".\AnypointStudioDesktopSC.ps1"
Software Title: | Anypoint Studio |
Vendor: | MuleSoft |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch (Step1) | 7z2107-x64.exe /S |
Silent Install Switch (Step2) | MsiExec.exe /i OpenJDKxxx-jdk_x64_windows_hotspot_x.y.z_x.msi ALLUSERS=1 /qn |
Silent Install Switch (Step3) | "%ProgramFiles%\7-Zip\7z.exe" x -o"C:\" ".\AnypointStudio-x.y.z-win64.zip" |
Silent Uninstall Switch: | RMDIR /Q /S "C:\AnypointStudio" |
Download Link: | https://www.mulesoft.com/lp/dl/studio |
PowerShell Script: | https://silentinstallhq.com/mulesoft-anypoint-studio-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-mulesoft-anypoint-studio-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website.
How to Uninstall MuleSoft Anypoint Studio Silently
Check out the following posts for a scripted solution:
MuleSoft Anypoint Studio Install and Uninstall (PowerShell) |
MuleSoft Anypoint Studio Silent Uninstall (PowerShell) |
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following sets of commands:
MuleSoft Anypoint Studio Silent Uninstall
TASKKILL /F /IM AnypointStudio.exe |
RMDIR /Q /S "C:\AnypointStudio" |
DEL "%PUBLIC%\Desktop\Anypoint Studio.lnk" |
DEL "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Anypoint Studio.lnk" |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.