SaiTeja wrote:
> I have created a WIX installer that works perfectly on XP.
> 
> But When I try in Vista Business, my custom actions are failing
> 
> Below is the custom action
> 
> <CustomAction Id="UninstallLogonHandler" Return="check" Execute="deferred"
> ExeCommand="UninstallLogonHandler" FileKey="xyz.exe">
> </CustomAction>

Let me quess, the xyz.exe depends on the C runtime? And you are
installing the C runtime in the installer via merge module?

If yes, that is the problem. In Vista the runtime will NOT be accessible
to xyz.exe until *after* the installer completes installation. The only
way to correct this is to either link statically, or distribute the
runtime just as you would in the "copy method". Clearly, the preferred
way is to use the merge module and just statically link the custom action.

Pre-Vista OSes acted differently with respect to SxS DLLs hence your
action worked.

- Adam


-- 
Mail Etiquette
==============
* Quote properly or not at all. Top posters, this applies to you!
* When replying to posts on mailing lists, only address the mailing list
  unless poster explicitly requested you include them in CC

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to