Write string information on regedit

Hi guys,

How can I do to write string information to regedit? For example this:

[string]$appVendor = 'Notepad++ Team'
[string]$appName = 'Notepad++'
[string]$appVersion = '8.4.5'
[string]$appArch = 'X64'
[string]$appLang = 'It'
[string]$appRevision = ''
[string]$appScriptVersion = '1.0.0'
[string]$appScriptDate = '31/10/2022'

I would like to set this information to HKLM/Software/Setup/ and under that create an entry with the name of the app (Notepad++) and all the string information.

Is it possible to make this operation automatic?

Thank you very much

Look in PSAppDeployToolkit.pdf for Set-RegistryKey function

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.