http://msdn.microsoft.com/en-us/library/aa368010.aspx

Use a bootstrapper instead of trying to shoehorn a whole other install into a 
custom action. It works perfectly fine for your product when delivered through 
Steam.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: Sam Morris [mailto:s...@red-redemption.com] 
Sent: 04 May 2011 16:38
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



------------------------------------------------------------------------------
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