Is ClickOnce deployment appropriate for an app where you have to ensure that
the user has the correct framework installed (2.0) and also installs the
SQLExpress plus scripts in the database? I've never used the ClickOnce
technology before and am debating whether to use a batch script, an
InstallShield package or ClickOnce. Any advice is appreciated.

Re: ClickOnce with prerequisites by Markus

Markus
Mon Jan 08 08:01:40 CST 2007

> Is ClickOnce deployment appropriate for an app where you have to
> ensure that the user has the correct framework installed (2.0) and
> also installs the SQLExpress plus scripts in the database? I've never
> used the ClickOnce technology before and am debating whether to use a
> batch script, an InstallShield package or ClickOnce. Any advice is
> appreciated.

Maybe for your case a combination might be the best thing:

- ClickOnce does not work without the .NET framework 2.0. So there is no
chance to check for it with ClickOnce.
- To make the basic installation (.NET Framework, SQLExpess, ...) I
would recommend to use a standard installer (batch script, installer).
- Maybe you also install a shortcut to the ClickOnce location (that is
located on the web).
- For the ongoing updates, I would recommend to use ClickOnce, as it
does the auto-update without that you program anything special...

hth
Markus