MuleSoft Anypoint Studio Silent Install (How-To Guide)

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

  1. Navigate to: https://www.mulesoft.com/lp/dl/studio
  2. Download the ZIP file to a folder created at (C:\Downloads)
  3. Navigate to: https://www.7-zip.org/download.html
  4. Click the Download link for the 64-bit x64 .exe
  5. Download the EXE to a folder created at (C:\Downloads)
  6. Navigate to: https://adoptopenjdk.net/
  7. Download the Windows x64 version of your choice
  8. Download the MSI to a folder created at (C:\Downloads)
  9. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  10. Navigate to the C:\Downloads folder
  11. 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)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. 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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts