1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
// $Id: wix.mpb 1849 2010-07-14 05:01:18Z hillj $
project {
custom_only = 1
Define_Custom (WXS) {
command = <%quote%>$(WIX_ROOT)/bin/candle.exe<%quote%>
inputext = .wxs
output_option = -out
commandflags = -nologo
generic_outputext = .wixobj
keyword wix_flags = commandflags
}
Define_Custom (WXI) {
inputext = .wxi
}
specific {
wix_flags += -dtype=<%prj_type%>
prebuild += <%rm%> <%project_name%>.msi
postbuild += \
<%quote%>$(WIX_ROOT)/bin/light.exe<%quote%> -out <%project_name%>.msi \
<%light_flags%> <%foreach(wxs_files)%><%noextension(wxs_file)%>.wixobj <%endfor%>
}
}
|