[WiX-users] set the name of a directory via the SetProperty element

2012-09-14 Thread Natalie Carr
Hi I am trying to set the name of a directory via the SetProperty element as follows: Directory Id=INSTALLLOCATION Name=$(var.ProductName) SetProperty Id=INSTALLLOCATION Value=[ProductName] After=CostInitialize Sequence=both/ Can anyone tell me what Im doing wrong please as I keep

Re: [WiX-users] set the name of a directory via the SetProperty element

2012-09-14 Thread Peter Shirtcliffe
The Value needs to be a full path. Incidentally, SetDirectory would be more appropriate. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 14 September 2012 15:12 To: wix-users@lists.sourceforge.net Subject: [WiX-users] set the name of a directory via the

Re: [WiX-users] set the name of a directory via the SetProperty element

2012-09-14 Thread Natalie Carr
Hi Peter, I tried this but it still is not working: SetDirectory Id=INSTALLLOCATION Value=$(var.PlatformProgramFilesFolder)\Measuresoft\[ProductName] Sequence=both/ Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 14 September 2012 15:27 To: