On 16/04/2013 23:44, Nick Miller wrote: > My company is evaluating two different Windows installer solutions, WiX and > Nullsoft installer (NSIS). I was wondering if anyone has had experience with > both, and could weigh in on the pros and cons, benefits, limitations, etc.
You might think XML in WiX is bad, but this is the sort of code you get in NSIS unless you use one of the libraries (from http://nsis.sourceforge.net/CharStrip_%26_StrStrip:_Remove_character_or_string_from_another_string): Exch $R0 #char Exch Exch $R1 #in string Push $R2 Push $R3 Push $R4 StrCpy $R2 -1 IntOp $R2 $R2 +1 StrCpy $R3 $R1 1 $R2 StrCmp $R3 "" +8 StrCmp $R3 $R0 0 -3 StrCpy $R3 $R1 $R2 IntOp $R2 $R2 +1 StrCpy $R4 $R1 "" $R2 StrCpy $R1 $R3$R4 IntOp $R2 $R2 -2 Goto -9 StrCpy $R0 $R1 Pop $R4 Pop $R3 Pop $R2 Pop $R1 -- Bruce Cran ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

