Closed grahambunce closed 2 years ago
FYI - I'm guessing because this is because the powershell doesn't build the application? Not sure how to do that from source if that isn't built in - followed instructions here
https://github.com/aws-observability/aws-otel-collector/blob/main/docs/developers/build-aoc.md
Hi @grahambunce,
You're correct that create_msi.ps1
does not build the binaries. You will need to run make build
first. We will look into updating the documentation.
Describe the bug Run the following:
git clone https://github.com/aws-observability/aws-otel-collector.git .\tools\packaging\windows\create_msi.ps1
Script crashes with missing file
Steps to reproduce See above
What did you expect to see? MSI file created in .\build\packages\windows\amd64\
What did you see instead?
error LGHT0103 : The system cannot find the file './build/windows/aoc_windows_amd64'.
I think this because there is no "/build" folder in the git source repository. The first line of the PS1 runs this:
which is fine, but the PS1 script assumed that '/build/windows' exists and contains the missing file.
Environment Windows 10