Solved

How to publish NET winforms app many questions/problems

Posted on 2011-02-19
2
853 Views
Last Modified: 2012-05-11
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.




0
Comment
Question by:codefinger
  • 2
2 Comments
 

Accepted Solution

by:
codefinger earned 0 total points
ID: 34933398
Figured it all out on my own!   I am getting good at this!

My application should have been built to the Net4 Client Profile.  That's the one I needed for a purely winforms app.   I would need the complete Net4 Framework if it was a web app instead.  

The Net4 Client profile DID install, so when I changed the target of the build correctly, I was able to install the application to the target machine smooth as silk.  

Problem SOLVED!
0
 

Author Comment

by:codefinger
ID: 34933482
Oops, spoke a little too soon here.  It did install at least, but it looks like I am getting database problems I was not having earlier, now on BOTH the development and target machine. Weird.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now