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

[wip] add msi #58

Draft
wants to merge 1 commit into
base: aw-windows
Choose a base branch
from
Draft

[wip] add msi #58

wants to merge 1 commit into from

Conversation

ale7714
Copy link
Member

@ale7714 ale7714 commented Jan 14, 2025

to build
wix build agent.wxs -define GoBinDir="C:\Users\Alexandra\agent\bin" -define MSIProductVersion=0.0.2 -ext WixToolset.Util.wixext -ext WixToolset.Firewall.wixext -o agent.msi

i think i can get what we need without the util extension but have to do another round of test

@ale7714 ale7714 marked this pull request as draft January 14, 2025 17:08
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.gitignore probably?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe .gitignore

GOOS=windows GOARCH=amd64 go build -o $@ -trimpath -tags $(TAGS) -ldflags $(LDFLAGS) ./cmd/viam-agent
file $@
du -hc $@
go build -o $@ -trimpath ./cmd/viam-agent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$(LDFLAGS) here potentially affects file size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants