|
Hello, Using Visual Studio 2005 professional, I created adistribution kit of my MFC application, that use .net framework 2.0. In the prerequisite windows of the solution property page, I checked the Microsoft .net framework 2.0 option. Then,I tried to install the application on a PC without the .net framework 2.0 installed, and correctly the installer asked me to install it. So, I stopped the application installation, I installed the .net framework 2.0 on the PC, and then I tried again the installation, but seems that the distribution kit didn't detects that the .net framework has been intalled. I also tried to re-boot the PC, but with no effect. On the PC where I developed the aplpication, the installation works.
I also tried this: I removed the prerequirement condition andI rebuilded the distribution kit. This new installer installe correctly the application, but the application doesn't work: Appears a OS message, saying that the application configuration is wrong, and a new installation could solve the problem.
Thanks!
- Moved byKarel ZikmundMSFTThursday, July 09, 2009 7:14 PMWrong forum (From:Building Development and Diagnostic Tools for .Net)
- Moved byYiChun ChenMSFTMonday, July 13, 2009 6:49 AMDeployment issue (From:.NET Framework Setup)
-
| | ValeSamy Thursday, July 09, 2009 12:04 PM | VC++ MFC apps are pretty much nothing to do with the .NET framework. You need the Visual C++ run time support for Visual Studio 2005, this kind of thing (depending on your VS SP level ). http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en However the Prerequisites button should give you an option to install this as a prerequisite.
Phil Wilson - Marked As Answer byValeSamy Tuesday, July 14, 2009 2:03 PM
-
| | PhilWilson Monday, July 13, 2009 7:57 PM | Hi ValeSamy, You mean only one pc have the problem to detect .NET Framework? So please look into the register to see if special key is locate there. Look at the following picture, you can know where the key is located. http://www.codeproject.com/KB/mcpp/DotNetTester.aspx I do not mean let you develop an application to check the key, use your eye to check will be ok. If the key is missing, that seems the .NET not register correctly, you need to reinstall it. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer byValeSamy Tuesday, July 14, 2009 2:09 PM
-
| | Kira Qian Tuesday, July 14, 2009 2:17 AM | Hi ValeSamy, I am moving this thread from Base ".NET FrameworkSetup" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum. Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. | | YiChun Chen Monday, July 13, 2009 6:49 AM | Hi ValeSamy, Do you mean the .NET Framework 2.0 installed by the bootstrapper cannot be detected by the installation? >"On the PC where I developed the aplpication, the installation works." From this I think you have used something beside .NET Framework component. So the computer only install .NET Framework doesn't have enough condition to run your "distribution kit" (I don't know what is your distribution kit works for). The develop computer has install VS, may be you have used some components of VS, so it only works on develop pc. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't. | | Kira Qian Monday, July 13, 2009 9:27 AM | Hi, I mean that the installation don't detects the .net framework 2.0 on the PC. I also tried on another PC,without VS, and on this PC the installation works. So, for clarification:
1 - Itried the installer on a PC without .net framework 2.0, andthe installer correctly ask me toinstall it; 2 - I installed the .net framework 2.0 on that PC; 3 - I tried again the installer on that PC, but the installer didn't detects the .net framework installation, and ask me to install it. 4 - Then, I tried the installer on the PC with VS, and it works correclty on it; 5 - Moreover, I tried on another PC, without VS, but with the .net framework already installed, an it works.
So, why alfer the installation on the first PC, the installer doesn't work?
thanks,
| | ValeSamy Monday, July 13, 2009 10:37 AM | VC++ MFC apps are pretty much nothing to do with the .NET framework. You need the Visual C++ run time support for Visual Studio 2005, this kind of thing (depending on your VS SP level ). http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en However the Prerequisites button should give you an option to install this as a prerequisite.
Phil Wilson - Marked As Answer byValeSamy Tuesday, July 14, 2009 2:03 PM
-
| | PhilWilson Monday, July 13, 2009 7:57 PM | Hi ValeSamy, You mean only one pc have the problem to detect .NET Framework? So please look into the register to see if special key is locate there. Look at the following picture, you can know where the key is located. http://www.codeproject.com/KB/mcpp/DotNetTester.aspx I do not mean let you develop an application to check the key, use your eye to check will be ok. If the key is missing, that seems the .NET not register correctly, you need to reinstall it. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer byValeSamy Tuesday, July 14, 2009 2:09 PM
-
| | Kira Qian Tuesday, July 14, 2009 2:17 AM | Hi, Thanks you very much for the help! I supposed to need the .net framework 2.0 but I was wrong! As you said, what the application need is the Visual C++ run time support for Visual Studio 2005, and the windows installer 3.1, that is needed to install the Visual C++ run time support for Visual Studio 2005.
So now I have another little question: On the PC where the istaller worked, looking in the installed application lists, I don't find the Visual C++ run time support for Visual Studio 2005, but my installer woks anyway. So, could you tell me if the Visual C++ run time support for Visual Studio 2005 is included in the XP SP3, or in another windows package, update, or what?
Thanks,
Valerio. | | ValeSamy Tuesday, July 14, 2009 2:09 PM | Hi ValeSamy, I think not. May be some of your other software install these run time dll. Please mark the replies as answers if they help and unmark if they don't. | | Kira Qian Wednesday, July 15, 2009 1:38 AM |
|