[wix-users] File directory from txt file

Phill Hogland phill.hogland at rimage.com
Fri Feb 19 05:51:05 PST 2016


Use MSBuild (ITask etc.) to automate a build or read/generate files.   Then use WiX tool flags to consume the files or MSBuild properties.
    <CompilerAdditionalOptions>
      $(CompilerAdditionalOptions)
      -I"$(MSBuildPropertyOrEnvironmentVarSomeFolderWhichHasWxiFiles)"
      -dWiXPreprocessorVariable="$(MSBuildPropertySetInProjectFileOrTargetsFileOrITask)"
    </CompilerAdditionalOptions>

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Winter,Stijn S. de
Sent: Friday, February 19, 2016 3:24 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] File directory from txt file

Hello all,

Can i read a sourcedir and installdir from a txt file?

The txt file looks like this:

File1.exe,        <%SourceDir%>, <%InstallDir%>folder\ ,0
File2.dll,          <%SourceDir%>, <%InstallDir%>otherfolder\,1

Filename, Sourcedirectory, Installdirectory, Selfreg(1/0)

The file is way larger of course and there are many more files.

Regards,
Stijn de Winter


==========================================================
Op deze e-mail zijn de volgende voorwaarden van toepassing:
http://www.fontys.nl/disclaimer
The above disclaimer applies to this e-mail message.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list