you'll need a simple immediate CustomAction. The Windows Installer doesn't have math built in.
Jason Zhang wrote: > Hi, > > I need set a wix property based on another property with basic math > calculation, such as > > Mocked code: > > <Property Id="BASE_PORT" Value="100"/> > ... > <Property Id="MY_PORT" Value="[BASE_PORT] + 1"/> > > Can I do this in wix ? If yes, what's the syntax? If no, any better > suggestion ? > > Basically I will get BASE_PORT property from user input, and I want to > automatically created the MY_PORT based on calculation > > Best Regards > Jason > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users