File tree Expand file tree Collapse file tree 3 files changed +24
-18
lines changed
Expand file tree Collapse file tree 3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,13 @@ jobs:
1818 Release_html_url : ${{ steps.create_release.outputs.html_url}}
1919 Release_upload_url : ${{ steps.create_release.outputs.upload_url}}
2020
21+ permissions :
22+ contents : write
23+
2124 steps :
22- - uses : GitHubSecurityLab/actions-permissions/monitor@v1
23- with :
24- config : ${{ vars.PERMISSIONS_CONFIG }}
25+ # - uses: GitHubSecurityLab/actions-permissions/monitor@v1
26+ # with:
27+ # config: ${{ vars.PERMISSIONS_CONFIG }}
2528
2629 - name : Checkout
2730 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1414 <requireLicenseAcceptance >false</requireLicenseAcceptance >
1515 <tags >WiX PowerShell MSI Installer WixToolset XML</tags >
1616 <releaseNotes >$releasenotes$</releaseNotes >
17+ <readme >docs\README.md</readme >
1718 </metadata >
1819 <files >
1920 <file src =" NuGet\content\*.*" target =" content" />
2021 <file src =" NuGet\tools\**\*.*" target =" tools" />
2122 <file src =" LICENSE.txt" />
2223 <file src =" MSRL-LICENSE.txt" />
24+ <file src =" README.md" target =" docs\" />
2325 </files >
2426
2527</package >
Original file line number Diff line number Diff line change 1- PowerShellWixExtension
2- ======================
1+ # PowerShellWixExtension
32
43A Wix Extension for running PowerShell scripts
54
6- NuGet Package
7- -------------
5+ ## NuGet Package
6+
87[ ![ NuGet] ( https://img.shields.io/nuget/v/PowerShellWixExtension.svg?maxAge=2592 )] ( https://www.nuget.org/packages/PowerShellWixExtension/ ) [ ![ AppVeyor] ( https://ci.appveyor.com/api/projects/status/github/flcdrg/PowerShellWixExtension?style=plastic )] ( https://ci.appveyor.com/project/DavidGardiner/powershellwixextension )
98
109All ready to add to an existing Wix project. Grab the latest version from https://www.nuget.org/packages/PowerShellWixExtension/
1110
12- Getting Started
13- ---------------
11+ ## Getting Started
12+
14131 . Add a reference to the PowerShellWixExtension.dll in your Wix Setup Project (NuGet package recommended)
15142 . Add namespace to .wxs file
16- ```
15+
16+ ``` xml
1717 <?xml version =" 1.0" encoding =" UTF-8" ?>
1818 <Wix xmlns =" http://schemas.microsoft.com/wix/2006/wi" xmlns : powershell =" http://schemas.gardiner.net.au/PowerShellWixExtensionSchema" >
1919```
2020
21214 . To execute a .ps1 file that ships with the project
2222
23- ```
23+ ``` xml
2424 <powershell : File Id =" PSFile1" File =" [#TestPs1]" Arguments =" " First Argument" 2" />
2525```
2626
27275 . To execute inline script use
28- ```
28+
29+ ``` xml
2930 <powershell : Script Id =" Script2" >
3031 <![CDATA[
3132 # Write-Host "Number 2";
@@ -39,21 +40,21 @@ Getting Started
3940 ]]>
4041 </powershell : Script >
4142```
42-
43- Notes
44- -----
43+
44+ ## Notes
4545
4646### Custom sequences
4747
48- You can customise when a set of scripts are run by adding your own <Custom /> element inside your <InstallExecuteSequence /> element. eg.
48+ You can customise when a set of scripts are run by adding your own ` <Custom /> ` element inside your ` <InstallExecuteSequence /> ` element. eg.
4949
50- ```
50+ ``` xml
5151 <InstallExecuteSequence >
5252 <Custom Action =" PowerShellScriptsDeferred" After =" RegisterUser" >NOT Installed</Custom >
5353 </InstallExecuteSequence >
54- ````
54+ ```
5555
5656The four defined actions are:
57+
57581 . ` PowerShellScriptsDeferred `
58592 . ` PowerShellScriptsElevatedDeferred `
59603 . ` PowerShellFilesDeferred `
You can’t perform that action at this time.
0 commit comments