Ok, really sorry. My property name is not in up case! I suppose it's not global. If I put my property name in up ca se it works.
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : vendredi 23 mars 2007 8:46 À : Stuart A. Malone; wix-users@lists.sourceforge.net Objet : [WiX-users] RE : RE : Conditional shortcut Here is an exemple <Component Id="Root" DiskId="1" Guid="..."> <File Id="MyExe.exe" Name="MyExe.exe" src="../Setup/MyExe.exe" /> </Component> <Component Id="DesktopIcon" Guid="..." DiskId="1"> <Condition>DesktopIcon = "1"</Condition> <Shortcut Id="MyExe.lnk" Target="[INSTALLDIR]\MyExe.exe" Directory="DesktopFolder" Name="MyExe" WorkingDirectory="INSTALLDIR" Icon="MyExe.exe" IconIndex="0" /> </Component> The only problem I have is DesktopIcon property is used in a dialog (with a checkbox control) and it doesn't change anything. Checked or not, the shortcut is installed only if I initialize DesktopIcon property to 1. I'm searching why. -----Message d'origine----- De : Stuart A. Malone [mailto:[EMAIL PROTECTED] Envoyé : jeudi 22 mars 2007 17:16 À : Jacquet Fabian; wix-users@lists.sourceforge.net Objet : Re: [WiX-users] RE : Conditional shortcut Hello Jacquet, Could you post a working example of that? As you can see in my thread "Shortcut targeting file in a different component?", I've been trying to do exactly what you're describing, but have been unable to get it to work. I would certainly love to see an example of the correct syntax to do this. Best wishes, --Stuart A. Malone Llamagraphics, Inc. Makers of Life Balance personal coaching software http://www.llamagraphics.com/ On Mar 22, 2007, at 7:05 AM, Jacquet Fabian wrote: > I found by myself. > > A short cut can contain a target attribute. > So you can put the shortcut in a different component (And not only as > child of file tag) and set a condition on this component. > > -----Message d'origine----- > De : [EMAIL PROTECTED] [mailto:wix-users- > [EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : > lundi 19 mars 2007 16:46 À : wix-users@lists.sourceforge.net > Objet : [WiX-users] Conditional shortcut > > Hi, > > I have to create a short cut to an exe file only if a text box is > checked. I don't see a shortcut can have a condition child tag. > > How can I do this? > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users