Replies: 1 comment
-
In v5 it will default to the project name, because it's an SDK style project. If you need to customize the name you need to either copy/move the final output in an Assuming you had something like "Foo.wixproj" that produced Foo.msi and Foo.wixpdb, you could set <Target Name="RenameOutput" AfterTargets="Build">
<ItemGroup>
<TargetOutputsToRename Include="$(TargetPath)" RenamedTargetPath="$(InstallerPath)" />
<TargetOutputsToRename Include="$(TargetPdbPath)" RenamedTargetPath="$(InstallerPath.Replace('.msi', '.wixpdb'))" />
</ItemGroup>
<Move SourceFiles="@(TargetOutputsToRename)" DestinationFiles="%(RenamedTargetPath)" />
</Target> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a wix proj, I want to give the name to the output msi.I have tried using but it does seem to be available according to this schema http://schemas.microsoft.com/developer/msbuild/2003.
Beta Was this translation helpful? Give feedback.
All reactions