c# - ClickOnce cannot find its prerequisites while the files are at the place they have to be -


i want publish application using clickonce prerequisites (.net 4.5 , sql server express).

i did says in how to: include prerequisites clickonce application (note package folders @ v8.1a folder instead of v8a folder), still says can't find files. i've tried both visual studio 2013 , visual studio 2015 rc.

to enable 'download prerequisites same location application' in prerequisites dialog box, must download file 'dotnetfx45\dotnetfx45_full_x86_x64.exe' item 'microsoft .net framework 4.5 (x86 , x64)' local machine. more information, see http://go.microsoft.com/fwlink/?linkid=239883.

to enable 'download prerequisites same location application' in prerequisites dialog box, must download file 'sqlexpress2012\sqlexpr32_x86_enu.exe' item 'sql server 2012 express' local machine. more information, see http://go.microsoft.com/fwlink/?linkid=239883.

to enable 'download prerequisites same location application' in prerequisites dialog box, must download file 'sqlexpress2012\sqlexpr_x64_enu.exe' item 'sql server 2012 express' local machine. more information, see http://go.microsoft.com/fwlink/?linkid=239883.

to enable 'download prerequisites same location application' in prerequisites dialog box, must download file 'dotnetfx40clientkb2468871\dotnetfx40_client_x86_x64.exe' item 'microsoft .net framework 4 client profile (x86 , x64) , update .net framework 4 (kb2468871)' local machine. more information, see http://go.microsoft.com/fwlink/?linkid=239883.

you have wrong idea possible in clickonce deployment. canonical msdn page this one. high-lighting significant sections in web page:

impact user's computer. windows installer deployment, applications rely on shared components, potential versioning conflicts; clickonce deployment, each application self-contained , cannot interfere other applications.
security permissions. windows installer deployment requires administrative permissions , allows limited user installation; clickonce deployment enables non-administrative users install , grants code access security permissions necessary application.

does not affect shared components or other applications: yes
installation of shared files: no
installation global assembly cache: no
installation multiple users: no
install time registry access: limited

these intentional restrictions designed make users feel installing .net programs clickonce. don't need assistance administrator program installed. , installer cannot make drastic changes machine, kind cause other programs malfunction. very, common problem installers.

this grossly incompatible trying do. both .net framework , sql express are shared components , do require administrator access install , do risk destabilizing machine has .net or sql server installed.

so cannot work. can select them prerequisites happens @ install time clickonce installer verifies met. in other words, machine must have correct versions of .net , sql express installed. if doesn't deployment fail , user gets dialog tells him download installer. entirely him (or administrator) download , run installer. after clickonce install completes without trouble.

the deployment wizard crummy, should have hidden radio buttons @ bottom. "from component vendor's web site" valid selection these prerequisites. bootstrapper .xml file format isn't sophisticated enough limit selection.

only way ahead if want provide user these prerequisites included installer create normal msi installer.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -