# ClickOnce deployment

**URL:** https://www.finalbuilder.com/forums/t/clickonce-deployment/961
**Category:** Discussion
**Created:** [September 8, 2008, 2:55am UTC](https://www.finalbuilder.com/forums/t/clickonce-deployment/961 "2008-09-08T02:55:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![class-a](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/class-a/32/95_2.png) [@class-a](https://www.finalbuilder.com/forums/u/class-a)
#### Post date: [September 8, 2008, 2:55am UTC](https://www.finalbuilder.com/forums/t/clickonce-deployment/961/1 "2008-09-08T02:55:40Z")

</div>

I'd really, really like to know how to automate the build of a ClickOnce deployed application.

I'd like to use MAGE inside FinalBuilder, but so far I haven't been able to reproduce something that actually creates a ClickOnce enabled application, just like I'm able to do in VS2008.

I'd like to be able to create a certificate if it's not already there, etc, etc...

Can anyone help? Thanks!

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [September 9, 2008, 1:40am UTC](https://www.finalbuilder.com/forums/t/clickonce-deployment/961/2 "2008-09-09T01:40:53Z")

</div>

Hi Dennis,   
  
You will need to use the 'MSBuild Project' action and specify the target as 'Publish' to deploy the ClickOnce application. I would suggest first configuring the publish settings within the Visual Studio IDE (Project Properties -\> Publish) as this will write the necessary properties to the project file, otherwise you will need to provide them to the action.   
  
  
The following options can be set from the action to change how the application will be published:   
  
- AssemblyOriginatorKeyFile   
- GenerateManifests   
- TargetZone   
- PublisherName   
- ProductName   
- PublishUrl   
- Install   
- ApplicationVersion   
- ApplicationRevision   
- UpdateEnabled   
- UpdateRequired   
- UpdateMode   
- UpdateInterval   
- UpdateIntervalUnits   
- UpdateUrlEnabled   
- IsWebBootstrapper   
- BootstrapperEnabled   
  
Information on these properties can be found at: [http://msdn.microsoft.com/en-us/library/ms165431(VS.80).aspx](http://msdn.microsoft.com/en-us/library/ms165431(VS.80).aspx)  
  
Regards,   
Paul.

---

<div class="post-metadata">

### Author: ![thebigsot](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/ecc23a/32.png) [@thebigsot](https://www.finalbuilder.com/forums/u/thebigsot)
#### Post date: [September 30, 2015, 7:54am UTC](https://www.finalbuilder.com/forums/t/clickonce-deployment/961/3 "2015-09-30T07:54:25Z")

</div>

I tried many times, failed all of them.   
 I’m switching to copy the deployment to the publish location.
