The PublishDir decides where the files are copied to, the InstallUrl where the ClickOnce application is intalled and where the "setup.exe" is looking for the files. I also force that a web bootstrapper is created, which knows how to download. Depending on the build, if it's locally or on the build server, different variables are used (installFrom can be "Web" or "Unc".
For ClickTwice I am missing how I can specify the InstallUrl? And how does ClickTwice know it's a web-installation?
Before I knew of ClickTwice, I did the publishing from a cake build myself.
This is essentially the code I used from the build.cake:
The PublishDir decides where the files are copied to, the InstallUrl where the ClickOnce application is intalled and where the "setup.exe" is looking for the files. I also force that a web bootstrapper is created, which knows how to download. Depending on the build, if it's locally or on the build server, different variables are used (installFrom can be "Web" or "Unc".
For ClickTwice I am missing how I can specify the InstallUrl? And how does ClickTwice know it's a web-installation?