|
Hi,
Please help me to solve the following problem.
When trying to runthe setup application for my C# project from a CD, the MSI reports error:
"Setup has detected that the publisher of the file msxml6.msi cannot be verified", and the setupwas not able to continue.
When trying to install from the C:\ drive, the setup reported the same error.
The OS is Win XP and the PC is DELL Inspiron 1525 laptop.
Regards,
Paul Tomov | | Paul Tomov Monday, June 15, 2009 10:59 PM | Hi Bruce,
Obviously the setup problem was related to this particular laptop. I made many other installations successfully.
Thanks for your help.
Paul - Marked As Answer byPaul Tomov Monday, July 27, 2009 11:09 PM
-
| | Paul Tomov Monday, July 27, 2009 11:08 PM | Check the installer log for details. Search for "MSI log" if you need instructions. If you need help in Windows Installer troubleshooting, find a MSI newsgroup. MSMVP VC++ | | Sheng Jiang 蒋晟 Monday, June 15, 2009 11:22 PM | Hi Paul, How about installing msxml6.msi manually? If it doesn't succeed, msxml6.msi might be corrupted. Try to download this file from Microsoft Download center, and install it again. If it still doesn't work, pleasepost the error log here. Best regards, Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Tuesday, June 16, 2009 10:14 AM | Hi everybody,
Thank you very much. After rebuilding my setup project the problem didn't show anymore.
But now I have a more serious problem. My application uses IP/UDP communication.
I built my setup projectwith two separate options:
1- Property Pages|Prerequisites|"Download prerequisites from the component vendor's web site"
2- Property Pages|Prerequisites|"Download prerequisites from the same location as my application". For this option I use the en_.net_framework_3.5_service_pack_1_x86_x64_ia64.exe download from MSDN, but this problem happens with other downloads, such as dotnetfx35.exe.
When I install my application using the setup built with the 1st option, it is able to run and communicate OK.
But when I install my application using the setup built with the 2nd option, my application just hangs on when trying to communicate.
The same happens with my application installed using the 1st option when the communication is very unreliable.
I don't have this problem in my development environment when running my application in Debug or even in Release mode.
Please, help me to solve this problem. Thanks,
Paul - Edited byPaul Tomov Friday, June 19, 2009 12:18 AM
- Edited byPaul Tomov Friday, June 19, 2009 12:17 AM
- Edited byPaul Tomov Friday, June 19, 2009 12:20 AM
- Edited byPaul Tomov Friday, June 19, 2009 12:16 AM
- Edited byPaul Tomov Friday, June 19, 2009 12:18 AM
-
| | Paul Tomov Thursday, June 18, 2009 11:58 PM | Hi Paul, Did you mean that if build the setup with the second option, your application will hang after it is installed? Based on my experience, the problem is less possible caused by using these two different options. When we are developing network applications, please make sure the firewall will not block your application from connecting the internet. Best regards, Bruce Zhou Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Friday, June 19, 2009 1:43 AM | Thank you, Bruce.
Yes, I had in mind the second option. I have my installations in different computers than my development one.
I my development one I was not able to observe the problemsI list below when I run my application in my (C#) development environment.
I mentioned that for the installations in a computer with WinXP Professional SP3, after installing and starting my application, it hangs on, despite that the firewall is enabled tor it.
Actually there are two problems:
1-For some installations my applicationhangs immediately after it is started, despite it is anabled in the firewall. Even worse, it causes the system to hang on.
2- For other installations (e.g. in a computer with WinXP Professional SP2) my application hangs on after some time (hours), then it recoversafter some time and starts again, or completely hangs on. This is probably because of the garbage collection. Hopefully not because of a memory leak I missed to fix.
In all the cases my application is registered and enabled in the firewall.
I am concerned more about the 1st case hwen the application behavior depends of the setup.
Please advice me.
Regards,
Paul
| | Paul Tomov Friday, June 19, 2009 2:51 PM | What does your MSI log say? Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
This posting is provided "AS IS" with no warranties, and confers no rights.
Visual C++ MVP | | Sheng Jiang 蒋晟 Friday, June 19, 2009 5:49 PM | Hi,
This is the setup.log file contents for the last few days installations of .NET framework.
It shows all the add/remove activities but no any errors.
[Setup run at 14:51:56 on 06/16/09] Component Name: Microsoft .NET Framework 3.5 'package' Version: NA Installation Status: Success Error Message: NA Component Name: Microsoft .NET Framework 3.5 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: FT_NetFX_Core_CRT_x86 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Servicing Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Core .NET Framework Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: CSharp Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Source Resiliency Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: .NET Framework Assembly List Version: 3.5.21022 Installation Status: Success Error Message: NA
[Setup run at 09:35:17 on 06/17/09] Component Name: Microsoft .NET Framework 3.5 'package' Version: NA Installation Status: Success Error Message: NA Component Name: Microsoft .NET Framework 3.5 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: FT_NetFX_Core_CRT_x86 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Servicing Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Core .NET Framework Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: CSharp Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Source Resiliency Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: .NET Framework Assembly List Version: 3.5.21022 Installation Status: Success Error Message: NA
[Setup run at 16:24:51 on 06/18/09] Component Name: Microsoft .NET Framework 3.5 'package' Version: NA Installation Status: Success Error Message: NA Component Name: Microsoft .NET Framework 3.5 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: FT_NetFX_Core_CRT_x86 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Servicing Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Core .NET Framework Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: CSharp Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Source Resiliency Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: .NET Framework Assembly List Version: 3.5.21022 Installation Status: Success Error Message: NA
[Setup run at 17:16:36 on 06/18/09] Component Name: Microsoft .NET Framework 3.5 'package' Version: NA Installation Status: Success Error Message: NA Component Name: Microsoft .NET Framework 3.5 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: FT_NetFX_Core_CRT_x86 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Servicing Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Core .NET Framework Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: CSharp Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Source Resiliency Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: .NET Framework Assembly List Version: 3.5.21022 Installation Status: Success Error Message: NA
[Setup run at 09:25:04 on 06/19/09] Component Name: Microsoft .NET Framework 3.5 'package' Version: NA Installation Status: Success Error Message: NA Component Name: Microsoft .NET Framework 3.5 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: FT_NetFX_Core_CRT_x86 Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Servicing Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Core .NET Framework Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: CSharp Components (x86) Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: Source Resiliency Version: 3.5.21022 Installation Status: Success Error Message: NA Component Name: .NET Framework Assembly List Version: 3.5.21022 Installation Status: Success Error Message: NA
I think that most likely my application communication problems are related to the Win XP SP versions 2 or 3.
SP3 causes the problems, despite I carefully enable all firewall options for my application.
Meanwhile on http://blogs.technet.com/networking/archive/2008/09/19/windows-firewall-service-starts-automatically-after-installing-windows-xp-service-pack-3.aspxI found interesting statements regarding Win XP SP3, such as:
'This action of enabeling the FW service after it has been specifically disabeled by GP has some serious effects! Any news gathering agency that uses AP's ENPS newsroom application will be stoppewd dead by installation of SP3. Since ENPS uses udp to communicate with it's server and the firewall, by default blocks udp packets, this is a serious issue and needs to be addressed by MS ASAP. The process of re-enabeling services specifically disabeled by GP has got to stop. The SP should specifically check GP for services before taking any action.'
Please advice solve this problem.
Regards,
Paul - Edited byPaul Tomov Friday, June 19, 2009 9:01 PM
- Unmarked As Answer byBruce.ZhouMSFT, ModeratorSaturday, June 20, 2009 12:10 AM
- Edited byPaul Tomov Friday, June 19, 2009 9:00 PM
- Marked As Answer byBruce.ZhouMSFT, ModeratorSaturday, June 20, 2009 12:10 AM
- Edited byPaul Tomov Friday, June 19, 2009 10:03 PM
- Edited byPaul Tomov Friday, June 19, 2009 9:31 PM
- Edited byPaul Tomov Friday, June 19, 2009 11:53 PM
- Edited byPaul Tomov Friday, June 19, 2009 10:03 PM
- Edited byPaul Tomov Friday, June 19, 2009 9:27 PM
-
| | Paul Tomov Friday, June 19, 2009 8:58 PM | Hi Paul, Are you sure you configure the firewall for your applicaiton correctly? What if you turn off the firewall instead off configurating it? If turn off the firewall is OK, you can try the steps here to add exceptions for your application. Best regards, Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Saturday, June 20, 2009 12:14 AM | Thank you, Bruce.
Yes, I had in mind the second option. I have my installations in different computers than my development one.
I my development one I was not able to observe the problemsI list below when I run my application in my (C#) development environment.
I mentioned that for the installations in a computer with WinXP Professional SP3, after installing and starting my application, it hangs on, despite that the firewall is enabled tor it.
Actually there are two problems:
1-For some installations my applicationhangs immediately after it is started, despite it is anabled in the firewall. Even worse, it causes the system to hang on.
2- For other installations (e.g. in a computer with WinXP Professional SP2) my application hangs on after some time (hours), then it recoversafter some time and starts again, or completely hangs on. This is probably because of the garbage collection. Hopefully not because of a memory leak I missed to fix.
In all the cases my application is registered and enabled in the firewall.
I am concerned more about the 1st case hwen the application behavior depends of the setup.
Please advice me.
Regards,
Paul
Hi Paul, Please make sure it is not the problem of your application. As you know, network applications can easily block theapplications sometimes. For example, the application needs to wait another client to response to continue. So please try log some useful information from your code, so that we can know if it is caused by your application. Best regards, Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Saturday, June 20, 2009 1:31 AM | Hi Bruce,
Thank you for your advice.
I carefullyverified my application setup with XP SP2 and SP3. It was installed correctly without errors. I tried the two possible ways of setup- the .NET 3.5 was downloaded from MSDN and when it was incorporated (standalone) in my setup application.
I tried a setup downloading .NET 3.5 from the MSDN in both SP2 and SP3- based computers. My application worked well for many hours with SP2 communicating on UDP but blocked immediately after initializing the communication onthe SP3 machine. Even worse, it freezed the system, engaging all the CPU power. I am not sure how SP3 applies protection, but it shouldn't block the rest of the running applications just because of some UDP/IP traffic.
The settings I made for the firewall with SP2 and SP3 were exactly the same. I enabled the same ports in the firewall setting exceptions option.
Also, I browsed the net for answers and there were other serious complaints about the SP3 regarding IP/UDP protocols overprotection and the difficulties to make the proper settings in order to enable these communications.
I will try to log some information from my application, but probably it will not be much since the system freezes with SP3.
Please advice me how to verify in some other way that the SP3 is not the problem. For now every clue points to this. In any case, please advice me how to solve this problem.
Regards,
Paul - Edited byPaul Tomov Monday, June 22, 2009 7:25 PM
-
| | Paul Tomov Monday, June 22, 2009 3:09 PM | Windows XP SP3's install program change some default settings, including the windows firewall service's start up type. Make sure your program do not hog the CPU if connection is blocked.
Please mark the post answered your question as the answer, and mark other helpful posts as helpful. This posting is provided "AS IS" with no warranties, and confers no rights.
Visual C++ MVP | | Sheng Jiang 蒋晟 Monday, June 22, 2009 5:10 PM | Hi Bruce,
Please see an excerption from the XP firewall log file i just got when truying to strt my applicationin a SP3 machine:
#Version: 1.5 #Software: Microsoft Windows Firewall #Time Format: Local #Fields: date time action protocol src-ip dst-ip src-port dst-port size tcpflags tcpsyn tcpack tcpwin icmptype icmpcode info path
. . . 2009-06-22 15:53:22 OPEN UDP 166.154.83.148 174.145.152.193 1057 5150 - - - - - - - - - 2009-06-22 15:55:19 CLOSE UDP 166.154.83.148 174.145.152.193 1057 5150 - - - - - - - - - . . .
2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:09 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:58:10 DROP ICMP 166.154.83.148 174.145.152.193 - - 176 - - - - 3 3 - SEND 2009-06-22 15:59:19 CLOSE UDP 166.154.83.148 69.78.96.14 57117 53 - - - - - - - - - 2009-06-22 15:59:19 CLOSE UDP 166.154.83.148 66.174.92.14 57117 53 - - - - - - - - - 2009-06-22 15:59:36 CLOSE TCP 166.154.83.148 65.55.11.179 1060 80 - - - - - - - - - 2009-06-22 15:59:59 CLOSE TCP 166.154.83.148 65.55.11.179 1061 80 - - - - - - - - - 2009-06-22 16:07:37 OPEN TCP 166.154.83.148 65.55.11.179 1062 80 - - - - - - - - - 2009-06-22 16:07:37 OPEN TCP 166.154.83.148 65.55.11.179 1063 80 - - - - - - - - - 2009-06-22 16:09:35 CLOSE TCP 166.154.83.148 65.55.11.179 1062 80 - - - - - - - - - 2009-06-22 16:09:35 CLOSE TCP 166.154.83.148 65.55.11.179 1063 80 - - - - - - - - - My computer IP address is: 166.154.83.148 and the Port No should be: 5150.
Regards,
Paul - Edited byPaul Tomov Monday, June 22, 2009 11:36 PM
- Edited byPaul Tomov Monday, June 22, 2009 11:37 PM
- Edited byPaul Tomov Monday, June 22, 2009 11:37 PM
-
| | Paul Tomov Monday, June 22, 2009 11:26 PM | Hi Paul, Thanks for your information. By now, I should believe you are configuring the firewall right. To make sure if the firewall causes this problem, can you verify if the problem exists when the firewall is disabled? Besides, if you try to use a different port for communication, will there be any changes? Best regards, Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Tuesday, June 23, 2009 7:54 AM | Hi Bruce,
Thank you.
I disabled the firewall. The problem persisted. Then Iinstalled my application in a separate computer having XP and SP3. It worked fine.
So, the SP3 shouldn't be an issue. In the computer with the problem I had McAfee antivirus software installed earlier, but I removed it completely in order to verify if it wascausing theproblem.
What are your suggestions?
Regards,
Paul | | Paul Tomov Tuesday, June 23, 2009 3:37 PM | Hi Bruce,
I tried installing my application in differend desktops having SP3. It ran without a problem.
Still I am not sure what caused this problem in the laptop with SP3. I will use similar environment to test the setup further.
Thanks,
Paul | | Paul Tomov Tuesday, June 23, 2009 11:14 PM | Well, thanks for your confirmation. In your laptop, you can use Process Monitior to capture the stack of your application when your applicaiton gets hung. At the same time, I am waiting for your further test result.
Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Tuesday, June 23, 2009 11:48 PM | Hi Bruce,
Thank you. I will send you the results of my tests.
Thanks,
Paul | | Paul Tomov Wednesday, June 24, 2009 5:37 PM | Hi Paul,
How's your problem now? If you need further assistance, please feel free to let me know.
Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Monday, June 29, 2009 9:09 AM | Hi Bruce,
Obviously the setup problem was related to this particular laptop. I made many other installations successfully.
Thanks for your help.
Paul - Marked As Answer byPaul Tomov Monday, July 27, 2009 11:09 PM
-
| | Paul Tomov Monday, July 27, 2009 11:08 PM | Hi Paul, I thought you would forget this thread. Thanks for letting me know the final result. Best regards, Bruce Zhou Please mark the replies as answers if they help and unmark if they don't. | | Bruce.Zhou Monday, July 27, 2009 11:58 PM |
|