Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wixout File Not Possible Without a Proj File Hack #4558

Closed
wixbot opened this issue Oct 18, 2014 · 3 comments
Closed

Wixout File Not Possible Without a Proj File Hack #4558

wixbot opened this issue Oct 18, 2014 · 3 comments
Milestone

Comments

@wixbot
Copy link

wixbot commented Oct 18, 2014

Hello,

It is not possibly to build .wixout files because of the following in the wix.targets file:

In the MSBuild Wix Targets (wix2010.Targets) the link target has the following as an output file:
<Link…. OutputFile="$(TargetDir)%(CultureGroup.OutputFolder)$(TargetName)$(TargetExt)"…/>

The general properties of the wix.targets file (NOT in the link target) look like this:

.msi
.msm

.pcp

.wixlib

.exe

And finally the condition on the link target:
<Target Name=”link” ….. Condition=" ('$(OutputType)' == 'Package' or '$(OutputType)' == 'PatchCreation' or '$(OutputType)' == 'Module' or '$(OutputType)' == 'Bundle')">

This makes it impossible to make a .wixout file without setting TargetExt = wixout after wix.targets has run. The msbuild targets should handle wixouts properly.

Thanks,
Eric

Originally opened by erickulcyk

@wixbot
Copy link
Author

wixbot commented Oct 19, 2014

Why do you need a .wixout?

Originally posted by robmen

@wixbot
Copy link
Author

wixbot commented Oct 23, 2014

We do some post processing on the wixouts and then use them as the inputs to a number of further tools in our build process. Since the task supports .wixout as primary file type, shouldn't the msbuild target?

Originally posted by erickulcyk

@wixbot
Copy link
Author

wixbot commented Oct 23, 2014

It's not required that targets expose every possible attribute in the tasks. In this case, .wixouts are an advanced case that require additional manual build work, so there's not much interest in trying to fit into the WiX targets. See also http://wixtoolset.org/issues/4567/.

Resolution set to suspend
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant