Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update create-custom-actions.md #1119

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion articles/desktop-flows/create-custom-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,9 +761,19 @@ Example:
```PowerShell
.\makeCabFile.ps1 "C:\Users\Username\source\repos\MyCustomModule\bin\Release\net472" "C:\Users\Username\MyCustomActions" MyCustomActions.cab
```

## Signing the cab file

Sign the .cab file using a trusted certificate by running the following command in a Developer Command Prompt for Visual Studio:

```
Signtool sign /fdws /f {path to your certificate}.pfx /p {your password for exporting the certificate} {path to the .cab you want to sign}.cab
```


> [!NOTE]
> - Make sure that the the actual custom actions .dll file is in the root level of the targetted path when creating the .cab file and not in a subfolder.
> - The .cab file must also be signed. Unsigned .cab files and/or unsigned .dlls contained in them will not be usable in desktop flows and will result in error during inclusion.
> - Unsigned .cab files and/or unsigned .dlls contained in them will not be usable in desktop flows and will result in error during inclusion.

## Next steps

Expand Down