Using OEMDefaultAssociations.xml in phase4

phase3-after.vbs:

Set FSO = CreateObject("Scripting.FileSystemObject")
status = FSO.CopyFile("C:\Ztoolkit\OEMDefaultAssociations.xml", "C:\Windows\System32\", True)

OEMDefaultAssociations.xml

<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
  <Association Identifier=".pdf" ProgId="AcroExch.Document.DC" ApplicationName="Adobe Acrobat Reader DC" />
</DefaultAssociations>

Export or Import Default Application Associations

 

 

 

Add comment