Provisioning Package not installing .EXE apps

Alan Chou 1 Reputation point
2021-06-23T16:20:22.417+00:00

Hi,

Has anyone had success using provisioning package to install .exe application before? It seems to work with .msi apps but never or so with .exe. Any suggestion would help!!
I use windows imaging configuration designer to set up application to install on lenovo laptop running windows 10; only msi apps work, but not exe apps.

Thank you so much, Alan

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,899 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jenny Feng 14,076 Reputation points
    2021-06-24T02:10:17.317+00:00

    @Alan Chou
    Hi,

    Please tell me which type of exe app is invalid when you install it, and whether there is any error reported.

    Using provisioning package, you can install both .EXE and msi apps.
    Just create a new Project > Provisioning Package > Common to all Windows desktop editions
    Then click on ProvisioningCommands>CommandFiles
    here you need to navigate to the *.exe or msi you want to install
    and then hit on “Add”
    Then you click on “CommandLine” and insert the [FileName].exe with the corresponding installation switches:
    If you export the project as provisioning package afterwards and launch it in the context of an administrator on the client, it will install the application as expected.

    Or you could use a script to install a desktop app in provisioning packages:
    https://learn.microsoft.com/en-us/windows/configuration/provisioning-packages/provisioning-script-to-install-app

    Hope above information can help you.

    ============================================

    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 comments No comments

  2. Alan Chou 1 Reputation point
    2021-06-28T16:42:11.91+00:00

    Hi Jenny,

    Thanks for your reply. I actually is able to find the solution to my issue. When installing exe apps, it couldn't be executed as simply as the msi apps. I need to use the command line as following:

    cmd /c ..\0\myexeapp.exe /silent /norestart...

    That then allow the exe app to be installed.

    Cheers, Alan