VMware Horizon Community
DEMdev
VMware Employee
VMware Employee

Dynamic Environment Manager 9.10 has been released

We're happy to announce that Dynamic Environment Manager 9.10 has been released, with the following new features:

  • Support for Windows 10 Version 1909
  • Improved roaming of default applications (FTAs and protocols)
    There's a new Windows Common Setting to roam default application configuration:
    pastedImage_0.png
    With this new setting, you no longer need additional scripts and third-party tools to correctly this information.
  • Horizon Smart Policy computer environment settings
    DEM can now apply certain computer policy settings for Horizon:
    pastedImage_5.png
Tags (2)
32 Replies
GestInfra
Contributor
Contributor

Hello DEMdev,

Good added functionality !

Alas, it does not work for me. I have an error message, which I use "Fully Enforced Settings" or "Files and Folders", when creating the "Registry" folder.

Here is my "Default Applications.xml" file :

<?xml version='1.0' encoding='utf-8'?>

<defaultApps>

     <urlAssociations>

          <item name="FTP" progId="ChromeHTML"/>

          <item name="HTTP" progId="ChromeHTML"/>

          <item name="HTTPS" progId="ChromeHTML"/>

          <item name="IRC" progId="ChromeHTML"/>

          <item name="MAILTO" progId="ChromeHTML"/>

          <item name="MMS" progId="ChromeHTML"/>

          <item name="NEWS" progId="ChromeHTML"/>

          <item name="NNTP" progId="ChromeHTML"/>

          <item name="SMS" progId="ChromeHTML"/>

          <item name="SMSTO" progId="ChromeHTML"/>

          <item name="TEL" progId="ChromeHTML"/>

          <item name="URN" progId="ChromeHTML"/>

     </urlAssociations>

<defaultApps>

I have an error message when the file wants to run :

2020-05-14 09:37:19.163 [INFO ] Importing DEM settings 'test.zip' (\\domain.local\UEM\Configuration\general\FlexRepository\Settings\File\test.zip)

2020-05-14 09:37:19.166 [ERROR] Error 0x00000001 loading XML document with default applications configuration

2020-05-14 09:37:19.166 [FATAL] Error importing archive '\\domain.local\UEM\Configuration\general\FlexRepository\Settings\File\test.zip'

2020-05-14 09:37:19.166 [ERROR] Error importing settings ('test.xml')

Or :

2020-05-14 09:37:14.892 [INFO ] Importing fully enforced settings 'Association de protocoles-UEM-PD-#1.zip' (\\domain.local\UEM\Configuration\general\Paramètres communs\Association de protocoles-UEM-PD-#1.zip)

2020-05-14 09:37:14.895 [ERROR] Error 0x00000001 loading XML document with default applications configuration

2020-05-14 09:37:14.895 [FATAL] Error importing archive '\\domain.local\UEM\Configuration\general\Paramètres communs\Association de protocoles-UEM-PD-#1.zip'

Each time, I have a "Registry" folder, with my "Default Applications" file only.

I happened to not have this error message, but the file associations did not work :

2020-05-14 10:16:28.073 [INFO ] Exporting profile using config file 'Association de protocoles.INI' (\\castel-freres.local\UEM\Configuration\general\Paramètres communs\Association de protocoles.INI)

2020-05-14 10:16:28.073 [INFO ] Config file has fully enforced predefined settings -- skipping export

When I go to the Windows control panel, then in "define the program associations", I see that the parameters do not apply:

pastedImage_1.png

I am on Windows Server 2016 with version 9.11 of DEM.

Thanks for your help.

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi GestInfra,

Can you share that FlexRepository\Settings\File\test.zip file? It's probably related to the character encoding, but that's easier to troubleshoot if I can play with that file Smiley Happy.

Reply
0 Kudos
GestInfra
Contributor
Contributor

Hi DEMdev

As you indicate in another message, I modified with Notepad ++ the file "Default Applications.xml". This file was generated by DEM with a test user.

You will find attached the requested file.

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Merci, GestInfra!

I was so sure that this was an encoding issue that I completely overlooked the missing '/' at the end of the XML fragment you included in your original post Smiley Happy.

Can you try after changing that <defaultApps> on line 17 to </defaultApps>?

Reply
0 Kudos
GestInfra
Contributor
Contributor

Error on my part, the "/" was missing, I hadn't noticed. Sorry DEMdevSmiley Sad

On Google Chrome, most protocols work, except HTTP and HTTPS, as you can see in the screenshot :

pastedImage_2.png

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

No problem, GestInfra, I'd missed that too, the first time around. I'll see if I can get a better error message from MSXML, as "Error 0x00000001 loading XML document" was not particularly helpful...

As for HTTP/HTTPS, can you try adding the <fileExts> element with the .htm(l) FTAs, as shown in my original post?

Reply
0 Kudos
GestInfra
Contributor
Contributor

The error message I had from my original message disappeared when the tag was correctly filled.

I already use "File Type Associations", with the .htm, and many other file extensions for Google Chrome. Adding "<fileExts>" and ".htm" doesn't duplicate what I did ? And what does that change since "HTTP" and HTTPS "is already written ?

My goal is to reduce the "Default Applications.xml" file as much as possible in order to use "File Type Associations" as much as possible.

Like other interlocutors, I would have preferred everything to be in the same interface. Smiley Happy

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi GestInfra,

I already use "File Type Associations", with the .htm, and many other file extensions for Google Chrome. Adding "<fileExts>" and ".htm" doesn't duplicate what I did ? And what does that change since "HTTP" and HTTPS "is already written ?

Probably that will indeed override those FTA(s), but I'm wondering whether it will work better. As for the second part: to be honest, I do not know. Just suggesting to give it a try to see whether it helps.

Like other interlocutors, I would have preferred everything to be in the same interface. Smiley Happy

Noted, without any promises Smiley Happy

Reply
0 Kudos
GestInfra
Contributor
Contributor

I gave it a try, but HTTP and HTTPS still doesn't work.

On your side, it works without problem?

With Windows file associations, this works without problems. When DEM will push "Default Applications.xml", and the Windows file association is already done its work, HTTP and HTTPS become without associated program.

Suddenly, this window appears to choose the browser :

pastedImage_0.png

I tried with a test profile, where the change would have been made manually, on reboot, the problem returns.

Since there are no solutions for now, I will keep my Windows file association for HTTP and HTTPS. Smiley Happy

Reply
0 Kudos
RachelW
Enthusiast
Enthusiast

Hello @DEMdev ,

I guess I am not exactly sure what this statement means and how to accomplish it "You can now use this edited Default Applications.xml file as part of a predefined setting or a Files and Folders setting; just drop it into the Registry folder."

What Registry folder?  Where is it located?? Is there one for EACH user or on single one?

Thanks!

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi @RachelW,

When you create a new predefined setting, DEM opens a File Explorer window showing a bunch of user-profile-related sub folders, plus a Registry folder. That's the one.

Reply
0 Kudos
RachelW
Enthusiast
Enthusiast

HI @DEMdev ,

I believe I found it. 

I logged in as a test user and set my default browser to Chrome.  I looked at the default applications.xml file for that user and the default browser settings is indeed there. 

Now....how do I get THAT setting established for each user?  Where do I put this edited Default Applications.xml file?  You mentioned putting as part of a predefined setting and just drop it into the Registry folder. I did create a predefined setting - I have attached a screen shot of my setting in UEM. But am not sure where to find the REGISTRY folder... 😞

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi @RachelW,

Once you have these settings exported to your liking for a test user, you can just Install... that profile archive as a predefined setting.

DEMdev_0-1614006900266.png

 

Once you've done that, you can optionally Edit... the predefined setting, for instance to have it only apply the browser-related settings (rather than the full set of FTAs and other application mappings):

DEMdev_1-1614006995640.png

 

Reply
0 Kudos