Blog Posts tagged with App-V Sequencing

Ask a question

KIll the browser window after it launches another browser window in IE

KIll the browser window after it launches another browser window in IE using the following vbscript:

Set oShell = CreateObject("WScript.Shell")
If oShell.AppActivate("type the IE window title you want to close here") Then
WScript.Sleep 500
oShell.SendKeys "%{F4}"
End If

Just place the path of the vbscript in the OSD file in the following XML tag:

<SCRIPTBODY>type the name or path to the script here eg. killtask.vbs</SCRIPTBODY>

After you launch the appv package, the vbs script will kick in and kill the browser window you defined in the vbscript.

Job done :)

Be the first to comment

MMS2013: Better Together: Application Virtualization 5.0 and Office

Speaker: Ele Ocholi

It’s interesting that this would be a session at all. I remember when Softricity first came onto the scene and Microsoft had made its acquisition of the technology. You could tell they knew it had a lot of promise but Microsoft was careful about how it was positioned. Back then, it was specifically recommended that you NOT deploy Office with App-V. As it has improved, so too has the confidence in the solution.

Office 2013 Click To Run (from Office 365) now runs with full functionally using App-V with no sequencing required.  Office 2010 is now officially supported with App-V. Note you must use the retail versions to create the packages.

New with App-V 5.0: No Q drive! It is now an “integrated platform” and it follows windows standards. Dynamic configuration lets you control how isolated your applications should be. A new web-based management interface was introduced as well as some PowerShell automation and customization capabilities. There is also no longer a 4gb package size limit.

Running with App-V, you can have multiple versions of Office running on the same system, you can also sequence and connect add-ins. 

The Office Deployment tool from the MS Download Center will let you build this App-V package. The packages created in this way should not be edited (opened with the Sequencer).  Editing is not supported and Microsoft claims you should not need to.

For the Office 2013 Click To Run (from Office 365) package, you can control what applications from Office you want, languages, etc. via a XML configuration file that comes with the Office Deployment Tool.

The App-V package is created with COM integration and Objects Enabled set and so any add-ins you sequence must do the same: COM Mode must be set to “integrated”. Objects Enabled must be set to “false”.

To connect two App-V packages together like with this add-in scenario you must create a connection file listing the GUIDs for both application packages. In the demo, the connection was made by using PowerShell with the Add-AppvClientConnectionGroup cmdlet and enabling it globally.  No longer do you need to have one package look for another, these connection groups manage the relationship separately now.

To offer support for Office 2010, a Office Sequencing Kit is offered as part of MDOP. The sequencing kit walks you through the changes needed and package accelerator for Windows 7 and 8 are also being provided.

Be the first to comment

Application Packaging and Virtualization Study Program for Beginners

Application Packaging and Virtualization Study Program with 17 lessons for beginners is available for download


View comments (1)

Briforum 2012: Advanced App-V Sequencing

Last year in London I did a presentation on advanced sequencing scenarios with App-V. Basically I broke the session into using application compatibility shims, device drivers and finally how to use Procmon with App-V to do some basic troubleshooting. The presentation video can be found here http://www.brianmadden.com/blogs/videos/archive/2013/04/24/briforum-london-2012-advanced-sequencing-for-app-v.aspx and the deck has been uploaded over here. http://sdrv.ms/1cJz91m

Happy sequencing!
View comments (3)

Customising APP-V desktop shortcuts with an identifier

When we started using Microsoft APP-V to deploy our software to our users we discovered that even though the process was incredibly easy and fast there was a small problem in identifying the desktop shortcuts of the legacy apps from the APP-V apps. We noticed that you could not tell (at a glance) which desktop shortcut was an app-v app and which was not.

Many users had loads of desktop shortcuts, so when we used to tell them to refresh their app-v client (logging off and back in to their machines), the new updated shortcut would appear on the desktop. But there was no way for them to see which desktop shortcut was the updated one as the legacy shortcuts were still installed manually on the machines. For them “Business Objects XI” was the same as the app-v “Business Objects XI”.

We had a wee think about it and started investigating how we could tweak the shortcuts. We tried playing around with the shell of Windows but this would still not solve the shortcut problem as this would only show app-v icons as desktop shortcuts. So what to do?


Enter: Greenfish Icon Editor Pro. This [FREE] application allows you to edit, change or create your very own shortcuts on-the-fly! All you need to cook this up are the following ingredients:


  1.        the original sequenced app desktop shortcut icon
  2.        an identifier image that will be placed on top of your desktop shortcut
  3.        the APP-V 256 bit icon
  4.        the amazing Greenfish Icon Editor application


STEP 1 – Create the APP-V icon template

Open Greenfish Icon Editor, then go to File> Open… find the app-v icon in C:\Program Files\Microsoft Application Virtualization Client folder, find the sfttray.exe icon and select it to open in Greenfish.



This icon will appear in the Greenfish window, double click the icon to open the icon files stored in the exe and select the one called “256 x 256 @ 32bit”. This is the identifier image that will appear on all the shortcuts when app-v deploys them to the desktop. Press CTRL+A to select the entire icon. Then press CTRL+C to copy the selection to the clipboard.




Go to File> New graphic… and press CTRL+V to paste the icon into your new template. Obviously, this is too big and will cover the original shortcut icon, so all you need to do now is press CTRL+T (or Edit> Transform> Transform selection…) – Type 64 for both Width and Height pixel boxes as shown below:




Click OK to confirm the setting.


The icon will drop down to a reasonable size and allow you to drag it around the icon area where you think will be the best place for it to appear. We have selected the top right corner for our shortcuts as we think it is the least hindering area for the shortcut (see below image).




Great! Now all we need to do is name this layer APP-V icon, add a new layer and save this as a GFIE file.


So now in the top right pane where the header is called “Layers”, double-click on the layer underneath where it says “Floating selection” and rename it to “APP-V Icon”.


Now click on the first icon that looks like a blank document underneath the “Layers” header. This will add a new layer to your list (just like Photoshop). Drag this layer underneath your APP-V Icon layer. This is where the original icon will appear.




Save this as your template by going to File>Save… choose Save as type: .gfie/.gfi and name it “APP-V Icon Template”. Click Save to the folder of your choice.


STEP 2 – Making the APP-V Desktop Shortcut


Now that you have created your custom Greenfish icon template you can import any application desktop shortcut icon you are sequencing, save it as an .ico file and then add it to your app-v content icon folder. Job done!

Cool! So I am going to use the Microsoft Office 2013 Word desktop icon in this example.

Simply open up your app-v icon template .gfie file. Then go to File> Open… and find the path of your sequenced application. I opened up C:\Program Files\Microsoft Office\Office15 and selected WINWORD.EXE, which gave me the following screen:




I then double-clicked on icon number 8, found the highest bit rate (in this case “256x256 @ 32bit”) and then selected it. This icon will open a new window where you will be able to view it properly. If you think this is good enough for your new shortcut then select it by press CTRL+A, click on your icon template tab on the top left where it says “APP-V Icon Template” and paste the icon in the layer underneath the “APP-V Icon” layer.




Gotcha: If it looks too small, you can resize the icon using the Edit>Transform>Transform selection… command. However, you will need to set the width and height to 256 pixels or else the icon will look deformed.

Good! We are soon done. Once you are happy with the end result you will need to add the different sizes for the shortcut (these are the sizes used in the File Explorer for viewing the icon).


Left click in the left pane where it says “New page” and select 64 x 64 (large) from the Size pull down menu then click OK. Do this again for all the sizes down to 16 x 16 (smallest). You will now notice that the sizes will appear underneath each other as a preview.




Gotcha: If you edit any of the different sizes or the main icon, you will need to do this step again or else the icon will be showing different versions at different sizes. So if you go to re-edit, just delete the icon pages and follow this step again. (I wish Greenfish would make a button to just add all the sizes in one go as it would make for lighter work…)




Final step: Save this by going to File> Save As… Use Save as type: .ico and save it to your folder of choice.




You can also create your own icon designs or resize, change the background using the supplied tools. One cool addition to this app is that you can test your icon on test backgrounds. Just go to Icon>Test… (Shift+Ctrl+T) and move your icon about to see if there are any icon display issues.




Now when you use these icons, the user will be able to identify the difference between the legacy app and the APP-V app. This is one process I wish Microsoft could add to the sequencer in the future.


Happy Icon creating! :)

ps. You can use Greenfish for your other deployment apps too! Here is the download link: http://greenfishsoftware.blogspot.co.uk/2012/07/greenfish-icon-editor-pro.html

Be the first to comment
Showing 1 - 5 of 19 results

Top Contributors

Talk About PowerShell