Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Possible to call a script from ClickOnce Deployment?
 

Possible to call a script from ClickOnce Deployment?

Hi.

Is it possible to edit the Bootstrap of the clickonce deployment in this way, that a script can be called, when the application is installed or updated? I want to generate native images for the dlls delivered with my application and this should be done when installing them.

Can anybody help my with this topic?

Thanks for all hints...

regards

Manuel Büchler
Manuel Büchler  Wednesday, May 09, 2007 2:54 PM
I think you can do that... try using Bootstrapper Manifest Generator at http://www.codeplex.com/bmg to build a bootstrapper package that will run your script... then include your package in your ClickOnce publishing.
David Guyer MSFT  Thursday, May 10, 2007 6:42 AM
Hi

Thanks for the infos. Including these packages into my ClickOnce publishing can be done in visual studio? When I choose publish in the projects properties?

regards
Manuel Büchler
Manuel Büchler  Thursday, May 10, 2007 12:36 PM
If I create a bootstrapper package that runs a script to create/update the client database, will this script be executed if an update occurs? oris itexecuted only when the application is installed the first time?
Also, this custom bootstrapper is included as a prerequisite correct?
Thanks,
Ana
Ana Bell  Friday, January 16, 2009 11:33 PM
The bootstrapper is only run when the user installs the application by clicking on the link to the setup.exe file.

If you want something run or included in the update, you have to include it in the ClickOnce deployment itself.

RobinS.
GoldMail.com
Ts'i mahnu uterna ot twan ot geifur hingts uto.
RobinDotNet  Sunday, January 18, 2009 8:08 PM

You can use google to search for other answers

Custom Search

More Threads

• Bootstrapper Manifest Generator
• .NET 2.0 SP2 Installation for VS 2005 app
• Administrator required to install
• Registry Permissions
• Change Installation URL of ClickOnce deployed project
• Setup/deployment project - conditional installation of shortcuts
• VB.NET2005 ClickOnes:Help me!!
• Update Editbox from CustomAction
• Control Resizing In Deployed Executable !
• Can we insert a shortcut to a web project