<?if/else/endif ?> are pre-processor statements and are evaluated at compile & build time. Properties are a runtime concept. You can use a <SetProperty> element to achieve what you want (which is Wix shorthand for a set-property custom .action)
-----Original Message----- From: Musa Biralo [mailto:musa.bir...@gmail.com] Sent: 16 April 2012 03:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Conditional Property, should be simple PROP_NEW_A is assigned before AppSearch PROP_NEW_B is assigned after AppSearch On Sun, Apr 15, 2012 at 10:42 PM, Musa Biralo <musa.bir...@gmail.com> wrote: > Hi there, > > Depending on a different property value, I would like to set some value to > a separate property but I couldn't find a way... > > I am looking for something like this: > <Property Id ="PROP_NEW_B" Secure ="yes" > > <?if PROP_NEW_A = "" ?> > PROP_NEW_B = "Prop A is Blank or Null or Empty" > <?else?> > PROP_NEW_B = PROP_NEW_A > <?endif?> > </Property> > > Thank you, > Musa > ----------------------------------------------------------------------------- - For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users