Replies: 3 comments
-
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.
-
Did you try opening the project in HeatWave and using the project properties to change the name? That updates the .wixproj with the correct syntax. I'd be curious why that wouldn't work. |
Beta Was this translation helpful? Give feedback.
-
In my case, the values are computed during the build so I can't specify it as properties - I'd have to set it in a target. I ended up just passing the output name as a property to the .wixproj when it's built |
Beta Was this translation helpful? Give feedback.
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