Hi,
we have a strange issue.
We are running an Appstack, and the users should get a predefined setting for this particular App.
We have Condition like "If file or folder exists", than get the predifined setting and shortcuts like autostart and desktop icon.
But, in the Flexengine.log, the condition fails, because the .exe could not be found.
If i run an DEM Shortcurt Refresh, after the user is logged in, the shortcuts are beeing created, but the predefined settings would not be loaded.
Maybe there is a timing issue that the DEM Condition is beeing evaluated, but the AppStack ist not finished mounting yet?
Hi @HiggsBoson1,
> Maybe there is a timing issue that the DEM Condition is beeing evaluated, but the AppStack ist not finished mounting yet?
That is exactly what's going on. When DEM runs during logon, (some) AppStacks might not yet have been attached, so any DEM conditions that check for registry or file system locations coming from a particular AppStack might not result in a match at that time.
For user environment settings like shortcuts this can be worked around by triggering a refresh once App Volumes is done (through an "App Volumes logon-time apps delivered" Triggered Task, typically), but there's no way to "refresh" personalization settings.
Can you enable DirectFlex for this application? That way, the predefined settings will be imported just-in-time when the user launches the application. If you keep that File or Folder condition on the personalization config file, you would need to trigger a DirectFlex refresh. You could also consider removing the condition from the personalization config file once you DirectFlex-enable it, as it won't ever take actual effect anyway if the executable isn't available (and the impact/overhead of DirectFlex config tied to an executable that does not exist is negligible.)
Thanks for the reply.
I did exactly this -> Enabled Direct Flex this morning.
Than i used a group condition for shortcut, autostart creation and appStack assignment
Its a little bit ugly, but our users are happy now ![]()
Hi @HiggsBoson1,
Sure, using DEM's Group Membership condition to check for the group you've entitled an AppStack to would work nicely as well.
As for "autostart creation", you might still run into timing issues if that is processed before the AppStack has been attached. Might not be a problem, but just wanted to call it out.
