Quantcast
Channel: Symantec Connect - Deployment Solution - Discussions
Viewing all articles
Browse latest Browse all 1130

Scripted install - default apps

$
0
0
I need a solution

I'm deploying Windows 10 Education 1607 via scripted install, and I'd like the installer for Firefox to also set the default browser to Firefox for all new users. I'm trying the following:

- Install Firefox with Firefox Setup 52.2.1esr.exe" -ms (works perfectly)

- Grab the current default app associations with dism /online /Export-DefaultAppAssociations:%temp%\defaults.xml

- Use PowerShell to add onto this xml the app associations for Firefox to the existing associations.

- Replace the app associations with dism /online /Import-DefaultAppAssociations:%temp%\output.xml

This works great. When I log in as a domain user who has never used the PC before, sure enough, my default browser is set to Firefox, and doing a Win+R, http://example.com/ launches Firefox.

But here's what's wrong. The first time I log into Windows, I get bombarded in the lower-right corner of my screen with:

An app default was reset

An app caused a problem with the default app setting for .bmp files, so it was reset to Photos.

It cycles through a about 20 of these notifications in a few minutes, after which point I'm on my merry way.

Here's the .xml file created by my PowerShell script that's subsequently imported with dism /online /Import-DefaultAppAssociations:

<?xml version="1.0" encoding="UTF-8"?><DefaultAssociations><Association Identifier=".3gp2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" /><Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" /><Association Identifier=".mpeg" ProgId="WMP11.AssocFile.mpeg" ApplicationName="Windows Media Player" /><Association Identifier=".oxps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /><Association Identifier=".tif" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" /><Association Identifier=".tiff" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" /><Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" /><Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" /><Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Internet Explorer" /><Association Identifier=".xps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /><Association Identifier=".htm" ProgID="FirefoxHTML" ApplicationName="Firefox" /><Association Identifier=".html" ProgID="FirefoxHTML" ApplicationName="Firefox" /><Association Identifier=".shtml" ProgID="FirefoxHTML" ApplicationName="Firefox" /><Association Identifier=".xht" ProgID="FirefoxHTML" ApplicationName="Firefox" /><Association Identifier=".xhtml" ProgID="FirefoxHTML" ApplicationName="Firefox" /><Association Identifier="http" ProgID="FirefoxURL" ApplicationName="Firefox" /><Association Identifier="https" ProgID="FirefoxURL" ApplicationName="Firefox" /></DefaultAssociations>

Thoughts?

Thanks!

0

Viewing all articles
Browse latest Browse all 1130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>