I wrote an One Click Install file for a console app. I am able to install the file , if the .exe file is present along with .application file.
I kept the files in the server and pointed the file to a html page with INSTALL button to it.
<table>
<tr>
<td>
<a href="setup.exe" id="InstallButton">Install</a>
</td>
</tr>
</table>
However, when i download the .exe file from server to local, .application file is not downloading. As the result, when i run the .exe file , file is not installing and throwing an error as follows ...
+ Downloading file:///C:/Users/MyAccName/Downloads/MyProject.application did not succeed.
+ Could not find file 'C:\Users\MyAccName\Downloads\MyProject.application'
How to download the .exe file and .application file by clicking the Install button?