Thanks Bob, it doesn't work even I removed the quote. The condition seem to be true all the time. I uploaded my latest source http://www.nabble.com/file/p16074651/TestFeature.zip TestFeature.zip , you may want to try in your environment.
msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureA,FeatureB or msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureB Both command will install the shortcut on the desktop. Thanks Bob Arnson-6 wrote: > > puyopuy wrote: >> I tried <Condition>"ADDLOCAL=FeatureB"</Condition> but it will return >> True >> all the time even I pass-in >> "ADDLOCAL=FeatureB,FeatureB" >> > > Don't quote the condition. > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16074651.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/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users