It won't install it if the version is the same, that's what the docs say (MSDN 
Both Files Have a Version). That log is just a diag log, not documentation. 

Error 2753 just means that you've asked to run a custom action that's a program 
being installed, except that the program ISN'T actually being installed. 

Phil Wilson 


-----Original Message-----
From: Sam Morris [mailto:s...@red-redemption.com] 
Sent: Wednesday, May 04, 2011 8:38 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problems with CustomAction and major upgrade

I am running into difficulty making an installer support major
upgrades. My installer has a CustomAction that installs DirectX. When
installing a newer version of the product, during CostFinalize(!),
Windows Installer decides not to install the components that contain
DXSETUP.EXE and dsetup32.dll:

  Disallowing installation of component: {67628ECC-9735-503B-9EC1-148280D3BE95} 
since the same component with higher versioned keyfile exists
  Disallowing installation of component: {83BFB124-42B3-5F67-8801-9D73B55EC4A9} 
since the same component with higher versioned keyfile exists

By the time it comes to run the action that installs DirectX, the files
no longer exist and the installation fails:

  DEBUG: Error 2753:  The File 'directx_redist_DXSETUP.exe_f' is not marked for 
installation.
  The installer has encountered an unexpected error installing this package. 
This may indicate a problem with this package. The error code is 2753. The 
arguments are: directx_redist_DXSETUP.exe_f, , 
  MSI (s) (48:64) [15:14:36:309]: Product: Fate of the World -- The installer 
has encountered an unexpected error installing this package. This may indicate 
a problem with this package. The error code is 2753. The arguments are: 
directx_redist_DXSETUP.exe_f, , 

I am puzzled for the following reasons:

 1. The error message says that 'the same component with higher versioned
    keyfile exists', but this is not the case. The files installed by
    both versions of the product are identical. Is the error message
    correct, or does it really mean 'with equal or higher versioned
    keyfile'?

 2. If I'm reading the log correctly, the InstallDirectX action is being
    run before any of the new versions' files have been copied into
    place. The target installation directory is empty if I look for it
    while the installer is displaying the 'error 2753' dialog box.

I'm uploading the relevant bits of the installer source, and the log
file produced from a failed installation to
<http://albion.red-redemption.com/~sam/wix>. I'd be grateful if someone
could take a look.

Regards,

-- 
Sam Morris
Red Redemption

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to