Fix Windows Orbit packaging with non-stable channel (#3210)

This commit is contained in:
Zach Wasserman 2021-12-07 19:49:57 -08:00 committed by GitHub
parent 1806838cf4
commit 3a973af164
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
* Fix issue preventing creation of Windows MSI packages with non-default Orbit update channel.

View file

@ -43,7 +43,7 @@ var windowsWixTemplate = template.Must(template.New("").Option("missingkey=error
<CreateFolder>
<PermissionEx Sddl="O:SYG:SYD:P(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;BU)" />
</CreateFolder>
<File Source="root\bin\orbit\windows\stable\orbit.exe">
<File Source="root\bin\orbit\windows\{{ .OrbitChannel }}\orbit.exe">
<PermissionEx Sddl="O:SYG:SYD:P(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;BU)" />
</File>
<ServiceInstall