Skip to content

Commit 08624e7

Browse files
authored
Merge pull request #30 from heaths/develop
Publish release
2 parents 7a54ee9 + 4a6be05 commit 08624e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4848
-6966
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"editor.tabSize": 4,
3+
"editor.insertSpaces": true,
4+
"files.encoding": "utf8",
5+
"files.insertFinalNewline": true
6+
}

CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing to the Windows Installer PowerShell Module
2+
3+
Thank you for contributing to improve this module.
4+
5+
## Required software
6+
7+
You'll need to download and install the following software to build this project.
8+
9+
* [NuGet](https://nuget.org) - an older version can be found in the .nuget subdirectory.
10+
* [Microsoft Visual Studio](https://www.visualstudio.com) 2015 or newer.
11+
* Microsoft Modeling SDK
12+
* [Microsoft Modeling SDK for Visual Studio 2015](https://www.microsoft.com/download/details.aspx?id=48148)
13+
* Microsoft Modeling SDK for Visual Studio 2017 is an optional component under "Visual Studio extension development".
14+
* Optional: [platyPS](https://github.com/PowerShell/platyPS) - needed only for Release builds or to update help markdown.
15+
* Optional: [Windows Installer XML](http://wixtoolset.org) - needed only for Release builds.
16+
17+
## Building
18+
19+
You can build the _Psmsi.sln_ in the project root using MSBuild or Visual Studio. By default, the Debug configuration is built and will not build the setup project. The Release configuration will build both setup project and nuget package.
20+
21+
To build the setup project and nuget package you will need to first build the help documentation from markdown.
22+
23+
```powershell
24+
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
25+
Install-Module -Name platyPS -Repository PSGallery -SkipPublisherCheck -Force
26+
New-ExternalHelp -Path .\docs -OutputPath .\src\PowerShell\bin\Release
27+
```
28+
29+
Builds must produce no errors or warnings. PR and CI builds will ensure this.
30+
31+
## Testing
32+
33+
You should run the tests in Test Explorer from within Visual Studio or using _vstest.console.exe_ before submitting a PR. Some tests will install a basic product named "Test" but will attempt to uninstall it when completed.
34+
35+
Tests must all pass. PR and CI buils will ensure this.

Default.ps1

Lines changed: 0 additions & 209 deletions
This file was deleted.

Psmsi.sln

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25123.0
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27130.2027
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Setup", "Setup", "{FFCC062A-C705-4E55-A362-B206FB0B29BF}"
77
EndProject
@@ -11,58 +11,31 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerShell.Test", "test\Pow
1111
EndProject
1212
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Module", "src\Setup\Module.wixproj", "{D2630778-0547-48D1-A8CA-E93D0D7A8B02}"
1313
EndProject
14-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{D09F407B-6787-4AEF-9E78-BAD9650A777B}"
15-
ProjectSection(SolutionItems) = preProject
16-
.nuget\NuGet.Config = .nuget\NuGet.Config
17-
.nuget\NuGet.exe = .nuget\NuGet.exe
18-
.nuget\NuGet.targets = .nuget\NuGet.targets
19-
EndProjectSection
20-
EndProject
2114
Global
2215
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2316
Debug|Any CPU = Debug|Any CPU
24-
Debug|Mixed Platforms = Debug|Mixed Platforms
25-
Debug|x86 = Debug|x86
2617
Release|Any CPU = Release|Any CPU
27-
Release|Mixed Platforms = Release|Mixed Platforms
28-
Release|x86 = Release|x86
2918
EndGlobalSection
3019
GlobalSection(ProjectConfigurationPlatforms) = postSolution
3120
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3221
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
33-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
34-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
35-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Debug|x86.ActiveCfg = Debug|Any CPU
3622
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
3723
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Release|Any CPU.Build.0 = Release|Any CPU
38-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
39-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Release|Mixed Platforms.Build.0 = Release|Any CPU
40-
{EAE7D4BF-5061-4220-BE94-E268E965DCE5}.Release|x86.ActiveCfg = Release|Any CPU
4124
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4225
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
44-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
45-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Debug|x86.ActiveCfg = Debug|Any CPU
4626
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Release|Any CPU.ActiveCfg = Release|Any CPU
4727
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Release|Any CPU.Build.0 = Release|Any CPU
48-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
49-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Release|Mixed Platforms.Build.0 = Release|Any CPU
50-
{75DE4D1C-1F7B-4EFA-9D8E-7F3D3AE88129}.Release|x86.ActiveCfg = Release|Any CPU
5128
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Debug|Any CPU.ActiveCfg = Debug|x86
52-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
53-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Debug|x86.ActiveCfg = Debug|x86
54-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Debug|x86.Build.0 = Debug|x86
5529
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|Any CPU.ActiveCfg = Release|x86
5630
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|Any CPU.Build.0 = Release|x86
57-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|Mixed Platforms.ActiveCfg = Release|x86
58-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|Mixed Platforms.Build.0 = Release|x86
59-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|x86.ActiveCfg = Release|x86
60-
{D2630778-0547-48D1-A8CA-E93D0D7A8B02}.Release|x86.Build.0 = Release|x86
6131
EndGlobalSection
6232
GlobalSection(SolutionProperties) = preSolution
6333
HideSolutionNode = FALSE
6434
EndGlobalSection
6535
GlobalSection(NestedProjects) = preSolution
6636
{D2630778-0547-48D1-A8CA-E93D0D7A8B02} = {FFCC062A-C705-4E55-A362-B206FB0B29BF}
6737
EndGlobalSection
38+
GlobalSection(ExtensibilityGlobals) = postSolution
39+
SolutionGuid = {CD11CC41-F66B-425C-A7F9-22B27EF69568}
40+
EndGlobalSection
6841
EndGlobal

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Windows Installer PowerShell Module
22

3+
[![build status: master](https://ci.appveyor.com/api/projects/status/github/heaths/psmsi?branch=master&svg=true)](https://ci.appveyor.com/project/heaths/psmsi/branch/master)
4+
[![github release: latest](https://img.shields.io/github/release/heaths/psmsi.svg?logo=github)](https://github.com/heaths/psmsi/releases/latest)
5+
[![github releases: all](https://img.shields.io/github/downloads/heaths/psmsi/total.svg?logo=github&label=github)](https://github.com/heaths/psmsi/releases)
6+
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/MSI.svg)](https://powershellgallery.com/packages/MSI)
7+
38
Exposes Windows Installer functionality to PowerShell, providing means to query installed product and patch information and to query views on packages.
49

510
## Description
@@ -40,12 +45,3 @@ You can also download the NuGet and Windows Installer packages directly from [Re
4045
## License
4146

4247
The Windows Installer PowerShell module is licensed under the [MIT License](LICENSE.txt).
43-
44-
## Status
45-
46-
[Project build status](https://ci.appveyor.com/project/heaths/psmsi) for release and development branches.
47-
48-
Branch | Status
49-
--- | ---
50-
**master** | [![Build status](https://ci.appveyor.com/api/projects/status/251twb4wvywq0vei/branch/master?svg=true)](https://ci.appveyor.com/project/heaths/psmsi/branch/master)
51-
**develop** | [![Build status](https://ci.appveyor.com/api/projects/status/251twb4wvywq0vei/branch/develop?svg=true)](https://ci.appveyor.com/project/heaths/psmsi/branch/develop)

0 commit comments

Comments
 (0)