Skip to content

Commit 250f938

Browse files
authored
Merge pull request #10 from mfschumann/patch-1
add note about correct usage of CustomAction
2 parents a857d98 + 7668477 commit 250f938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ You can then use that script as a custom action during an installation. 
133133
```powershell
134134
New-InstallerCustomAction -FileId 'CustomAction' -RunOnInstall
135135
```
136+
Note that custom actions must be passed to `New-Installer` as an array in the `CustomAction` parameter (and **not** in the `Content` block).
136137

137138
### Arguments
138139

0 commit comments

Comments
 (0)