Ian Couper wrote:

I am trying to get a property in a filename, but it always registers the filename as invalid when I try to build. I’m sure I’m doing it wrong and I can’t seem to find the answer anywhere. This is the code I’m using:

<File Id='SomeFile' Name=”[FILE_NAME]” DiskId='1' Source='File.txt' />

How exactly can I accomplish this?


You can't use properties, because they're resolved at install time. You can use preprocessor variables [$(var.name)], so you can set the file name at build time.

--
sig://boB
http://bobs.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to