Question

i need to know how can i embed an exe (for example to check prerequiesties must be installed beore the application installation) before the ClickOne setup.exe which i created for my application to be installed.

Was it helpful?

Solution

There is absolutely no need to do that. ClickOnce can take care of any required prerequisites for you. If you open the startup project's setting page (right click on the project in the Solution Exlorer and select 'Properties', or press Alt+Enter) in Visual Studio, you'll see a number of vertical tabs on the left hand side of the properties window. You can set up your required prerequisites by clicking on the prerequisites button on the 'Publish' tab.


UPDATE >>>

When your users install a click once application, they are shown a web page with a section like this on it:

enter image description here

If they click the Install button, they install all of the prerequisites and if they click the launch link, then they can just install the application.

For more information, please read through the ClickOnce Deployment Overview page on MSDN. Further MSDN resources include:

How to: Include Prerequisites with a ClickOnce Application
How to: Install Prerequisites with a ClickOnce Application

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top