Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Crashing on double clicking setup.exe
 

Crashing on double clicking setup.exe

Hello,

VS 2005 SP3

I have developed application and used the setup project to create the msi.

When I go to install on the users computer it crashes when I double click the setup.exe. It displays a message box saying to you want to send this error message to microsoft.

This happens on only 2 machines out of 6.

The 2 machines that are having this problem are running windows XP ProSP2, and the other one SP3.

The information I get from the crash is below for both machines.

Many thanks for any advice,

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="CATSoftphone.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="CATSoftphone.msi" SIZE="1458688" CHECKSUM="0xA819F3CD" />
    <MATCHING_FILE NAME="CATSoftphone.exe" SIZE="329312" CHECKSUM="0xDB3CECF0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x80164D54" LINKER_VERSION="0x80000" LINK_DATE="09/23/2005 10:45:29" UPTO_LINK_DATE="09/23/2005 10:45:29" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="989696" CHECKSUM="0x2D998938" BIN_FILE_VERSION="5.1.2600.5781" BIN_PRODUCT_VERSION="5.1.2600.5781" PRODUCT_VERSION="5.1.2600.5781" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFE572" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.5781" UPTO_BIN_PRODUCT_VERSION="5.1.2600.5781" LINK_DATE="03/21/2009 14:06:58" UPTO_LINK_DATE="03/21/2009 14:06:58" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>



<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="CATSoftphone.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="CATSoftphone.msi" SIZE="1458688" CHECKSUM="0xA819F3CD" />
    <MATCHING_FILE NAME="CATSoftphone.exe" SIZE="329312" CHECKSUM="0xDB3CECF0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x80164D54" LINKER_VERSION="0x80000" LINK_DATE="09/23/2005 10:45:29" UPTO_LINK_DATE="09/23/2005 10:45:29" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="986112" CHECKSUM="0xEBE25B3D" BIN_FILE_VERSION="5.1.2600.3119" BIN_PRODUCT_VERSION="5.1.2600.3119" PRODUCT_VERSION="5.1.2600.3119" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.3119 (xpsp_sp2_qfe.070416-1259)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xF995F" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.3119" UPTO_BIN_PRODUCT_VERSION="5.1.2600.3119" LINK_DATE="04/16/2007 16:07:27" UPTO_LINK_DATE="04/16/2007 16:07:27" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>








steve1_rm  Thursday, July 30, 2009 3:51 AM
Hi steve1_rm,

When you click *.msi to install your application, it won't check .NET Framework and other prereuqisite. But if you click the Setup.exe, it will check all prerequisites and install them if missing. That is the difference between these two file.

Since other computer doesn't have that problem, I think the problem is related to the system, not your application. Could you please made a simple setup project(add a program which is do nothing) and try to install it on the problem computer, does it also cause error?

If the error remain, you'd better think of reinstall the OS.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
  • Marked As Answer bysteve1_rm Thursday, August 06, 2009 2:10 PM
  •  
Kira Qian  Tuesday, August 04, 2009 3:49 AM
Hi steve1_rm,

At what point did the installation crash? Does it crash when you just going to run?

What type of account did you login to Windows? Domain account or local administrator?

Does that crash pc have .NET Framework installed?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, August 03, 2009 2:27 AM
Hello,

The crash immediately occurred after double clicking the setup.exe.

The .Net framework is installed on all computers.

I was logged in as administrator.

I have installed using the same setup.exe on about 9 other machines. Those installed ok without any problem.

Many thanks for getting back to me.

steve1_rm  Monday, August 03, 2009 9:08 AM
Hello,

One thing I have noticed is that when I double click the *.msi it installs without any problems.

However, the problem still remains when I double click the setup.exe.

Any more advice would be most helpfull,

Thanks,
steve1_rm  Tuesday, August 04, 2009 3:40 AM
Hi steve1_rm,

When you click *.msi to install your application, it won't check .NET Framework and other prereuqisite. But if you click the Setup.exe, it will check all prerequisites and install them if missing. That is the difference between these two file.

Since other computer doesn't have that problem, I think the problem is related to the system, not your application. Could you please made a simple setup project(add a program which is do nothing) and try to install it on the problem computer, does it also cause error?

If the error remain, you'd better think of reinstall the OS.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
  • Marked As Answer bysteve1_rm Thursday, August 06, 2009 2:10 PM
  •  
Kira Qian  Tuesday, August 04, 2009 3:49 AM
Hello,

Thanks for your response.

I have created an setup with a program that does nothing. I will get the client to test.

Just a quick couple of questions about the difference between the setup.exe and the setup.msi. If the user doesn't have the required prerequisites and tries to install by double clicking the *.msi. Would this cause the system to crash?

When I created my setup the only prerequisites I included was just the .Net framework thatI include with my distribution. Is it possible for the setup.exe to look for other prerequisites that I didn't include with my setup? When I created my setup I didn't include any other prerequisites.

Many thanks
steve1_rm  Tuesday, August 04, 2009 5:42 AM
Hi steve1_rm,

If you sure that your user computer have prepared for all prerequisites, you can right click the msi file to run it as administrator. That will be equal to click setup.exe to install.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Wednesday, August 05, 2009 8:13 AM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce start time from Start Menu link
• Click Once Problem
• How do I change the setup.exe icon?
• MSI Logging
• publish error when checking 'download prerequisites from the same location as my application
• Installer was interrupted before <AppName> could be installed...
• Conditional installation with ClickOnce
• Controlling publish configuration
• MSI uninstall won't delete registry entrys
• AppUpdater Component