Please allow me to clarify my testing results. I installed the lastest WIX setup (v3.0.3907).
I removed the condition and install my msi, the desktop shortcut created this mean the create shortcut function working property. After that I put back the condition <Condition>ADDLOCAL=FeatureB</Condition> and compile the msi again. case 1: run slient install with command msiexec /i bin\TestFeature.msi /q - will create shortcut - this is incorrect beahavorius case 2: run slient install with command msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureA,FeatureB - won't create shortcut - this is correct beahavorius . case 3: run slient install with command msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureB - won't create shortcut - this is incorrect beahavorius. puyopuy wrote: > > 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-tp16048115p16075073.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