Skip to content

Commit

Permalink
remove x.y.z from msi name (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajrohanyadav authored Feb 13, 2025
1 parent 475bf7b commit 618ca6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/windows/package_msi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Push-Location -Path "target\msi\Release\"

echo "Making versioned installed copy"

cp "nrjmx.msi" "nrjmx-$arch.$version.msi"
mv "nrjmx.msi" "nrjmx-$arch.msi"
Copy-Item "nrjmx.msi" "nrjmx-$arch.$version.msi"
Move-Item "nrjmx.msi" "nrjmx-$arch.msi"

Pop-Location
2 changes: 1 addition & 1 deletion build/windows/pkg/windows/nrjmx-installer.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<Import Project="$(WixTargetsPath)"/>
<Target Name="SignInstaller">
<Exec Command="&quot;$(SignToolPath)signtool.exe&quot; sign /d &quot;New Relic NRJMX&quot; /a &quot;$(OutputPath)$(OutputName).msi&quot;"/>
<Copy SourceFiles="$(OutputPath)$(OutputName).msi" DestinationFiles="$(OutputPath)$(OutputName).x.y.z.msi"/>
<Copy SourceFiles="$(OutputPath)$(OutputName).msi" DestinationFiles="$(OutputPath)$(OutputName).msi"/>
</Target>
<Target Name="AfterBuild" DependsOnTargets="SignInstaller" Condition=" '$(SkipSigning)' == 'False' " />
</Project>

0 comments on commit 618ca6f

Please sign in to comment.