Prerequisites and ClickOnce Application

Hi All,

I deployed ClickOnce application with prerequisites(.Net FrameWork,Sql Express etc..). The application is working fine.
In the long run if I have to upgrade my application and if it needs some other prerequisites, is there any way to include prerequisites with application updates

Plz suggest any solution for these scenario.
Thanks in advance
Srinivas


Answer this question

Prerequisites and ClickOnce Application

  • Vb Fan

    Hi Srinivas,
    Unfortunately there is no way to have ClickOnce auto-install updated prerequisites with update of application. This is something that is on our radar for future releases. 

    ClickOnce app updates are meant to be isolated, per-user, non-impactful updates which are different in nature from prerequisite updates which are usually system-wide impactful shared components. The application can specify a prerequisite dependency on GAC assemblies and on app update ClickOnce will check to make sure these dependencies are met. But beyond that there is no support as such for auto-installing the prerequisite update, this is something the app may need to check for at first run. If you do choose to do this ClickOnce exposes an API that app can use to determine if it's the first time it's been run.

    Regards,
    Sameer

  • Prerequisites and ClickOnce Application