Re: [WiX-users] Custom actions working fine in xp - failing in Vista
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 > > ExeCommand="UninstallLogonHandler" FileKey="xyz.exe"> > 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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions working fine in xp - failing in Vista
Hi Thanks for respones. Log says: Action 18:50:25: UninstallLogonHandler. Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: UninstallLogonHandler, location: C:\program files\Client\xyz.exe, command: UninstallLogonHandler DEBUG: Error 2888: Executing the TextStyle view failed The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2888. The arguments are: TextStyle, , The same custom action( UninstallLogonHandler and File Key: XYZ.exe) is working fine with XP Thanks Johan Appelgren wrote: > > On Jan 23, 2008 2:20 PM, SaiTeja <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> 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 >> >> > Execute="deferred" >> ExeCommand="UninstallLogonHandler" FileKey="xyz.exe"> >> >> >> >> Not >> Installed >> >> >> >> I tried with Impersonate="yes" and Impersonate="no". Still it is failing >> >> Any ideas of what might be this issue would be greatly appreciated. >> >> >> I want my installer should work on xp,vista,windows server2003 per >> machine. >> >> >> please suggest solution for general cases like admin check, registry, COM >> objects etc also. > > What does a log of a failed install say? msiexec /i your.msi /lv* > install.log > > What does xyz.exe do? > > /Johan > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Custom-actions-working-fine-in-xp---failing-in-Vista-tp15041566p15041914.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions working fine in xp - failing in Vista
On Jan 23, 2008 2:20 PM, SaiTeja <[EMAIL PROTECTED]> wrote: > > Hi, > > 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 > > ExeCommand="UninstallLogonHandler" FileKey="xyz.exe"> > > > > Not > Installed > > > > I tried with Impersonate="yes" and Impersonate="no". Still it is failing > > Any ideas of what might be this issue would be greatly appreciated. > > > I want my installer should work on xp,vista,windows server2003 per machine. > > > please suggest solution for general cases like admin check, registry, COM > objects etc also. What does a log of a failed install say? msiexec /i your.msi /lv* install.log What does xyz.exe do? /Johan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom actions working fine in xp - failing in Vista
Hi, 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 Not Installed I tried with Impersonate="yes" and Impersonate="no". Still it is failing Any ideas of what might be this issue would be greatly appreciated. I want my installer should work on xp,vista,windows server2003 per machine. please suggest solution for general cases like admin check, registry, COM objects etc also. -- View this message in context: http://www.nabble.com/Custom-actions-working-fine-in-xp---failing-in-Vista-tp15041566p15041566.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users