How do I install multiple clickonce(online only) apps from one clickOnce app? Preferably silently because i don't want a prompt for each installing app

Enkhbold Munkhbold 136 Reputation points
2020-07-28T02:28:40.113+00:00

My company has several ClickOnce(online only) apps that are actively in use and my job is to make an app that installs the necessary apps from one location(my app). All of which run from our local intranet server.

I have found a way to silently install these apps using InPlaceHostingManager and specifying which apps were chosen in the code-behind and then choosing their '.application' files. And it seems to work fine on my test environment.
But doesn't seem to work on the actual server. (I think it might be because it's only running the .application file and can't work without the setup.exe)

So then to install these apps when the users click "install" how do I install these apps as if they were installed individually from the ClickOnce created publish.html page?

I don't think InPlaceHostingManager can install .exe files so how should I install these apps?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
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,915 questions
{count} votes

Accepted answer
  1. Enkhbold Munkhbold 136 Reputation points
    2020-07-31T07:45:51.5+00:00

    Answer to the question I asked seems to be "InPlaceHostingManager" at least on intranet servers.
    Because my App already asked for full trust before, the other apps can use that trust level and install silently(I followed how-tos from Microsoft Learn) using the .application files generated by ClickOnce.

    PowerShell could also install silently but integrating it into my program was too much of a hassle for me.

    0 comments No comments

0 additional answers

Sort by: Most helpful