Clickonce: setup.exe opens the .application file in a browser. Normal?

I just deployed our first ClickOnce application. Unfortunately, installing our application requires no more than one click.

  • The user downloads the setup.exe file and executes it
  • A default popup browser (e.g. Firefox) and the user must download the ourapp.application file
  • After that, he can run this file and, after some security warnings, starts the normal setup.

I think this is very similar to me, and I believe that most of our customers will be really confused by this rather unusual method.

I saw in Seesmic (the Seesmic Desktop application) that it is really possible for setup.exe to immediately launch the ClickOnce procedure. Is this possible with .NET 2.0? Or are there workarounds?

Yours faithfully,

Intrance

+3
source share
2 answers

This usually means that you did not define MIME types on the server. These are the MIME types you need to host the ClickOnce application:

.application -> application / x-ms-application

.manifest → application / x-ms-application

.deploy -> application / octet stream

If you install .Net 3.5 as a prerequisite, you also need:

.msp → application / microsoftpatch

.msu → application / microsoftupdate

If you have vsto applications, you need the following:

.vsto → application/x-ms-vsto

RobinDotNet

+3

Firefox, ClickOnce.

+1

Source: https://habr.com/ru/post/1734629/


All Articles