Classification: Public I agree, however for simple installs, yes having no custom actions is best. But, for installs that require more work, i.e. web sites, databases not using custom actions is not easy...
There are a lot of things that WIX can't handle. Steve -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: March-12-13 10:57 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is using Powershell script as a Wix Custom Action a good idea? My personal point of view: write custom actions in native code, statically link the CRT and have as few dependencies on the machine as possible. Actually, best option is to have no custom actions. <smile/> On Mon, Mar 11, 2013 at 9:57 PM, Hoover, Jacob <jacob.hoo...@greenheck.com>wrote: > Which is fine as long as you don't mind the added dependency of .Net. > I seem to remember some issues with newer os's not liking the standard > .net installer as it is an optional feature of the OS. > > On Mar 11, 2013, at 9:57 PM, "Christopher Painter" <chr...@iswix.com> > wrote: > > > Check out C# / DTF for managed custom action support instead of > PowerShell. > > > > > > I have millions of successful installations logged and failure > > caused by DTF are extremely rare in WiX 3.6 / 3.7. In WiX 3.5 there > > was a bug that resulted in a 1% failure rate. > > > > ---------------------------------------- > > From: "Hoover, Jacob" <jacob.hoo...@greenheck.com> > > Sent: Monday, March 11, 2013 8:29 PM > > To: "Raghu" <raghu_ti...@yahoo.com>, "General discussion for Windows > > Installer XML toolset." <wix-users@lists.sourceforge.net> > > Subject: Re: [WiX-users] Is using Powershell script as a Wix Custom > Action > > a good idea? > > > > I wouldn't, simply because some of the difficulties others have > > reported > as > > well as introducing another dependency to your installer. A simple > > C++ CA DLL can be compiled for a minimal footprint and has no dependencies. > > > > -----Original Message----- > > From: Raghu [mailto:raghu_ti...@yahoo.com] > > Sent: Monday, March 11, 2013 8:05 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Is using Powershell script as a Wix Custom > > Action a good idea? > > > > Hello Wix users, > > > > I have a very simple custom action something on the lines of > > validating a key as part of setup, the min requirement that the > > setup to run is on > > Win2k8 R2+. Now I can achieve the same thing in a dll but I feel its > > an overkill and is easily achieved in a script, for a while I was > > pondering over using vbscript until I read the warning in > > http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx and > decided > > against vbscript. Could folks point out if doing the same in > > powershell > is > > ok? > > Thanks., > > Raghu > > > ---------------------------------------------------------------------- > ------ > > -- > > Symantec Endpoint Protection 12 positioned as A LEADER in The > > Forrester > > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in > > the endpoint security space. For insight on selecting the right > > partner to tackle endpoint security challenges, access the full report. > > http://p.sf.net/sfu/symantec-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ---------------------------------------------------------------------- > ------ > > -- > > Symantec Endpoint Protection 12 positioned as A LEADER in The > > Forrester > > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in > > the endpoint security space. For insight on selecting the right > > partner to tackle endpoint security challenges, access the full report. > > http://p.sf.net/sfu/symantec-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ---------------------------------------------------------------------- > -------- > > Symantec Endpoint Protection 12 positioned as A LEADER in The > > Forrester > > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in > > the endpoint security space. For insight on selecting the right > > partner to tackle endpoint security challenges, access the full report. > > http://p.sf.net/sfu/symantec-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------- > -------- Symantec Endpoint Protection 12 positioned as A LEADER in The > Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in > the endpoint security space. For insight on selecting the right > partner to tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie. The above classification labels were added to the message by TITUS Message Classification. Visit www.titus.com for more information. ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users