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

Retrieve ApplicationID from notification XML Action tag instead of registry i.e. multiple software installing notifications can be run at the same time #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ztrhgf
Copy link

@ztrhgf ztrhgf commented Jan 19, 2021

By retrieving ApplicationID directly from notification (XML option Action1/2), you can use multiple notifications for installing different applications at the same time (instead of previous version, where ApplicationID was hardcoded in registry, so it would got overwritten by another run of New-ToastNotification script).

I modified just ApplicationID, not packages or updates! But the idea would be exactly the same..

What I did:

  • in XML config tag RunApplicationID is no more used
  • in XML config Action tag now you have to install application by providing protocol, followed by application shared link itself like:
  • in New-ToastNotification.ps1 modified necessary code and added some checks on Action1/2 tags Values

ondrejs4 added 2 commits January 19, 2021 09:31
so you can have multiple notifications for installing different applications deployed at the same time
@ztrhgf ztrhgf changed the title retrieve AppID from notification xml instead of registry Retrieve ApplicationID from notification XML Action tag instead of registry i.e. multiple software installing notifications can be run at the same time Jan 22, 2021
by comparing text in existing notifications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant