How to publish NET winforms app many questions/problems
Posted on 2011-02-19
Created my distributed files with publishing wizard, burned to CD. Installed disk in target machine.
(All Windows XP). Setup detects that machine does not have Net 4.0, attempts to install it. Apparently this fails without error message, since when I attempt setup again, it complains that
Unable to install or run this application. This application
requires version 4.0 Full or other compatible Net Framework.
Please contact your system administrator
Add/remove programs does not show my application or Net 4.0 framework. Windows Update only provides up to 3.5 in list.
Back to development machine, choices to build include:
.Net Framework 4
.Net Framework Client Profile
.Net Framework 3.5
.Net Framework 3.5 Client Profile
What is this "Client Profile" thing? I do not understand that.
Only 3 build errors if I downgrade to 3.5 which can be fixed, though more
problems might show up when I try to run the app. Have not tried that yet.
If I do not downgrade, I need setup to install .Net Framework 4 if it is missing.
Is there a reason Net Framework 4 does not appear on target machine Windows Update?
Perhaps every 3.5 service pack needs to be installed first?
Application is meant for mass market, installation must be of commercial simplicity to compete. (Stick the disk in or extract download from website, click setup, wait, use app...) Uses Speech SDK, SQLServer CE, does not use WPF. Will use my url for updates. Other than that, does not use any web services.
So where to from here? Any and all suggestions appreciated.