question

AlanChou-6042 avatar image
0 Votes"
AlanChou-6042 asked JennyFeng-MSFT commented

Provisioning Package not installing .EXE apps

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AlanChou-6042
Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·
AlanChou-6042 avatar image
0 Votes"
AlanChou-6042 answered JennyFeng-MSFT commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Glad to hear that you have found a solution and thank you for sharing it here.
Please help to "accept your reply as answer" to close this question. It would make this reply easier to be found for other people who has the similar problem.

Thank you for your cooperation.

0 Votes 0 ·
JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered

@AlanChou-6042
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://docs.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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.