does an api exist to automatically execute EXE installation files

金昊 杨 21 Reputation points
2021-05-12T03:50:59.757+00:00

Is there any way that I can write a script program to automatically start the EXE installation program and execute the installation process

Windows development Windows API - Win32
Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,239 questions
0 comments No comments
{count} votes

Accepted answer
  1. Song Zhu - MSFT 906 Reputation points
    2021-05-12T05:41:56.22+00:00

    You can use PowerShell script. But it depends on the installer, not all installers have a silent installation method.

    You will need to find out the appropriate command-line parameters for a silent installer from whoever built that installer.

    More references: EXE silent installation, How to silently install exe using powershell, Silent run installer (.exe) with parameters on Windows


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.