Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-29 Thread WixFan
Thanks for the reply. Does Wix allow passing the value of a Wix property to a custom action, do some calculation there and retrieve the calculated value of the custom action to another property in Wix ? Rob Mensching-6 wrote: I don't think the Windows Installer supports that syntax. You'll

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-29 Thread David Bartmess
You can use WcaGetProperty and WcaSetProperty to get and set a property within a custom action -Original Message- From: WixFan [mailto:pcper...@gmail.com] Sent: Thursday, May 28, 2009 11:56 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Incrementing the value of a Wix

[WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread WixFan
Hi, I have a Wix property which I set from a value entered by a user in a particular UI dialog. This is actually a base port number used by the program that will be installed. The default value of this is 2 (say). Property Id=STARTPORT Value=2 / I want to set other port numbers based

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread WixFan
Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT is the other port I have to set based on the value of the STARTPORT property. -- View this message in context: http://n2.nabble.com/Incrementing-the-value-of-a-Wix-Property-tp2992019p2992035.html Sent from the

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread Rob Mensching
I don't think the Windows Installer supports that syntax. You'll probably need a CustomAction. WixFan wrote: Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT is the other port I have to set based on the value of the STARTPORT property. -- View this message in