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 SetProperty element

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 getting an error of
1606? Thanks

 

Kind Regards,

 

Natalie Carr

 

 

-----------------------------------------------------------------------------
-
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
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.


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to