0
votes

I have prepared a ClickOnce application. All my files and a folder in the same location includes application files (folder), connexionDeployment_V2.application, connexionsetup.msi (my setup to call in default.htm), default.htm (to setup the application), setup.exe (redundant).

Default.htm includes a command line that is

<a href="./connexionsetup.msi"> run application </a> 

After finishing project, my ClickOnce project does not behave like a ClickOnce project. That is, it is not doing the setup process by itself; it is doing the setup process normal setup application by waiting for my click "next-next-next", but a ClickOnce application, as you know, begins the setup process by itself and it does not look like a normal download project and it does not tell me to click next click next to continue because it does all steps by itself.

How can I fix this problem? How can my application behave like an original ClickOnce application?

Pictures of my steps

My command line:

Enter image description here

After clicking run application:

Enter image description here

1

1 Answers

0
votes

Your link is trying to install using an msi which is not the ClickOnce application you are looking for. ClickOnce.

connexionDeployment_V2.application is used to run the application if all prerequisites are installed.

setup.exe is use to install the application if you do not have prerequisites installed.

msi is usually a standalone installer like you are seeing.

Why not use the default generated page for ClickOnce publishing? How are you creating the ClickOnce deployment?