Monday, June 27, 2016

ClickOnce

Some products may use a downloadable eXtensible Application Markup Language (XAML) Browser Application (XBAP) also known as ClickOnce. This uses the C:\Windows\syswow64 or System32\PresentationHost.exe, which is part of the .NET, to provide the runtime environment. The file resources for the application are automatically downloaded to %LOCALAPPDATA%\APPS\2.0

Security certificates are used to assess security and if the requirements are not met the user is prompted to confirm running the application.













When a ClickOnce application is being launched on a user's desktop the first time, the .NET Framework runtime will first check to ensure that the application manifests have not been tampered with since they were signed with whatever publisher certificate was used for signing. If they pass that check, the runtime will then look into the Trusted Root Certification Authority store and see if the certificate for the issuer of the publisher's certificate is installed in that store. It will then look at who the publisher on the certificate is, and see if their certificate is in the Trusted Publishers store. If those two things are true, then by default the user will not be prompted, and the application will be granted whatever privileges are specified in the application manifest file.  from - https://msdn.microsoft.com/en-us/library/ms996418.aspx

More information
https://msdn.microsoft.com/en-us/library/z17ceyya%28v=vs.80%29.aspx 

https://msdn.microsoft.com/en-us/library/t71a733d(VS.100).aspx 

https://leastprivilege.com/2006/02/18/beware-be-aware-of-clickonce-default-settings/ 

https://robindotnet.wordpress.com/2013/02/24/windows-8-and-clickonce-the-definitive-answer-2/

 http://www.informit.com/articles/article.aspx?p=691085&seqNum=2

click once

Friday, May 27, 2016

IE launching outside the bubble on Citrix


https://trentent.blogspot.co.uk/2013/01/internet-explorer-popping-up-outside.html

This post revealed the cause of a scenario where an application was attempting to launch a html file in Internet Explorer (IE) but failing.  IE launched its normal home page instead.  On Windows 7 IE launched inside the bubble with the html file correctly displayed.

We determined that on citrix the browser was indeed launching outside the bubble and therefore unable to see the required html file.

Changing the user classes registry key in the bubble did not work.  Setting the user classes registry key for that users session did work though.  This avoids changing the key for the entire machine which may impact the way the citrix server is designed to work.

Use caution. This change impacts the way that citrix is designed to launch IE, it could have wider unforeseen consequences.




Tuesday, May 17, 2016

Outlook Navigation View - Folders Contacts


In the navigation bar on the left hand side of outlook, there are buttons at the bottom, Mail Calendar etc

If you have psts open which contain folders, the folder are only visible to browse from the Folders List view.

If the user click the mail view, mail looks pretty much the same but the psts look empty !  This can cause mild panic.

Do not panic, simply switch back to folder view mode, a lower down option on the Navigation Bar.


keywords
contacts folders missing pst new folder

Tuesday, April 26, 2016

Windows8 Hyper-V and VMWare Workstation Player 12.0


Although VMWare Workstation Player 12 will install on a Windows 8 PC with the Hyper-V feature enabled, it will not launch a virtual machine (VM) that is created until the Hyper-V Platform subfeature is unchecked and the PC rebooted several times.

Thursday, April 21, 2016

Manual Connection Group Configuration


Use the following XML to generate the Connection Group definition XML file

<?xml version="1.0" encoding="UTF-8"?>
<AppConnectionGroup AppConnectionGroupId="06DACB3C-10E8-444F-A3FB-646F695BD21D" VersionId="5E9249E4-0D2C-4F8C-8BB2-708288294FD4" Priority="0" DisplayName="<NAME>" xmlns="http://schemas.microsoft.com/appv/2010/virtualapplicationconnectiongroup">
<Packages>
<Package PackageId="a3020438-47ff-4041-9c03-b78255c82c10" VersionId="5b2ba854-92d9-4c4b-b855-837748349f29">
</Package>
<Package PackageId="aaea7d7c-79e0-43f8-88eb-4ae8f6d0692e" VersionId="e3b074a5-51ff-4d4c-8dc0-6a15ad6a37e6">
</Package>
</Packages>
</AppConnectionGroup>


Add-AppvClientConnectionGroup -path <path to xml file>

Once the packages in the connection group are published, then the connection group can be enabled

Enable-AppvClientConnectionGroup <NAME> 


The following message can appear when a connection group in enabled
 
The application failed to launch.
This may be due to a network failure
 


This can be caused by the Advanced settings inside the packages not being the exactly the same. 

Connection Group Reference

See this article for the "Laws of Connection Groups"
http://virtualvibes.co.uk/advanced-connection-groups-the-sanity-check/ 

http://virtualvibes.co.uk/app-v-management-server-or-configuration-manager-2012-a-feature-comparison/


Config XML details
https://docs.microsoft.com/en-us/microsoft-desktop-optimization-pack/appv-v5/about-the-connection-group-file 



Monday, April 11, 2016

ProgramFilesX86S and the other S folders

User VFS, the COW and the S folders.....

Standard users will read and write from the regular directory (with relaxed ACL’s) while elevated processes will read and write to the “S” version.

This is further explained here

http://blogs.technet.com/b/gladiatormsft/archive/2014/08/29/app-v-5-on-the-now-sometimes-immutable-package-cache-location.aspx