Hi,
I'm using ClickOnce to publish my application (MyApp.exe) to a web server.
The application relies on a seperate application (CommonControls.msi), whose
only purpose is to install a few third party components into the GAC. This
application only has to run once on the user's machine.
I created the product.xml and package.xml files, and this CommonControls.msi
correctly appears in the Prerequisites box when I'm getting ready to publish
MyApp.exe.
Since I want CommonControls.msi to be hosted on my web server, I select the
second download option (Download prerequisites from the same location as my
application).
Note that at this point both .Net Frameword 2.0 and CommonControls.msi are
selected.
I now publish MyApp.exe - everything works exactly as expected. The files
dotnetfx.exe and commoncontrols.msi are uploaded to my hosting web server.
However, now every time that I publish MyApp.exe, both these files continue
to be uploaded. This means that instead of a 1.5mb upload, I'm making a 25mb
upload each time.
My question is - how do I tell ClickOnce to upload the prerequisites
manually (i.e. should I ever change CommonControls.msi), yet inform the
client program (MyApp.exe) to download the prerequisites from the same
location as the application?
Many thanks in advance for any thoughts on this.
Regards
Jeremy Holt