We've been using this method sinceVS2005 daysand have about ten program thatare deployed via ClickOnce as onlline only applications that installfrom a network file share.
We use online only because we have a user role based program launcherthat sits in the system tray to provide access to the ClickOnce deployed programs. The user clicks on the program they want to start from the system tray menu and its installed and launched via a Process.Start() call. The program launcheritself isdepoyed as an MSI package via group policy.The system has been working very well for awhile now.
Its just the most recently developed programthat Ican't get to installbecause of the above mentioned deployment manifest issue. I can go back and re-publish any of the other programs (from the same dev machine) and they don't havethe <deploymentProvider> element in their manifests. Instead, they have the following line as would be expected:
<deployment install="false" mapFileExtensions="true" />
There is no <deploymentProvider> element to be found and the programs all install and run just fine.
If I set the publish properties tomake the SafetyStockAnalysis programavailable offline the generated deployment also fails. Here is the <deployment> section from the manifest:
<deployment install="true" mapFileExtensions="true">
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
<deploymentProvider codebase="
http://devmachinename/SafetyStockAnalysis/SafetyStockAnalysis.application" />
</deployment>
The manifest contains a <deployementProvider> element with a codebase attribute that is not correct.