Skip to content

Commit

Permalink
Merge pull request #1120 from Ana06/office
Browse files Browse the repository at this point in the history
[microsoft-office.vm] Add package
  • Loading branch information
Ana06 authored Aug 22, 2024
2 parents a1642e4 + 343fd03 commit 82a3445
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/microsoft-office.vm/microsoft-office.vm.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>microsoft-office.vm</id>
<version>0.0.0.20240821</version>
<description>Microsoft Office ProPlusRetail</description>
<authors>Microsoft</authors>
<dependencies>
<dependency id="common.vm" />
</dependencies>
</metadata>
</package>
9 changes: 9 additions & 0 deletions packages/microsoft-office.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

try {
# Install with choco instead as dependency to provide params such the product
choco install microsoft-office-deployment --params="'/DisableUpdate:TRUE /Language:en-us /Product:ProPlusRetail'"
} catch {
VM-Write-Log-Exception $_
}
1 change: 1 addition & 0 deletions scripts/test/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ class UsesInvalidCategory(Lint):
"installer.vm",
"libraries.python2.vm",
"libraries.python3.vm",
"microsoft-office.vm",
"notepadpp.plugin.",
"npcap.vm",
"openjdk.vm",
Expand Down

0 comments on commit 82a3445

Please sign in to comment.