locked
You think you know App-V 5.0 SP1? Possible to virtualise this application with app-V? RRS feed

  • Question

  • hi,

    I have an app (AppX) that I need to virtualise and then deploy over XenDesktop 7. The app has many components and I am trying to establish those components I should install on my base build Machine O/S (windows 2012 Standard) XenDesktop Servers (essentially app-v 'clients' that will stream to my users via receiver to their desktop) or I can fully virtualise into a package meaning I can deploy to any O/S essentially.

    AppX

    1. Pre-requisites:

    • Visual Basic 5.0 (msvbvm50.exe)
    • MSXML4 (msxml4.msi)
    • Microsoft Visual J# (vjredist.exe)

    2. Installers

    • 3 Installer executables (AppX, AppY and AppZ : all needed for AppX to run correctly)

    3. Register dll

    • copy appxfunc.dll to c:\windows\syswow64 and then register the .dll (regSVR32.exe)

    4. Environment Variables

    5. 32bit (SQL Driver) ODBC Connection (64bit don't work)

    • Name: AppXODBC
    • Server: UKSQLServer\UK
    • Database Name: AppXDB

    6. When it gets published, the exe runs based on the ODBC connection

    • Name: AppX
    • Path:  "C:\Program Files\AppX\UK\AppXje.exe" AppXODBC

    Do you think this (or at least what parts) sequencing is possible to capture all the above info and have nothing installed on the Windows 'App-V client' Server

    Many Thanks App-v 5.0 Guru's!

    Bearing in mind I am studying the Microsoft "App-V 5.0 Sequencing Guide"




    • Edited by SCCM4EVA Friday, October 25, 2013 3:10 PM
    Friday, October 25, 2013 3:01 PM

All replies

  • Hello,

    Sounds like a perfect application to test!


    Nicke Källén | The Knack| Twitter: @Znackattack

    Friday, October 25, 2013 3:44 PM
  • Unfortunately it's our main Production Application and if we want to go down the app-v route, this needs to be virtualised!  - eekk.

    If I get it working I'll update this blog, but I'm hoping there are people out there who have virtualised even some for these features eg: ODBC connections or registering .dll's or inserting environment variables etc.

    At least, should I pre-install the 'pre-requistites' on my master image....


    • Edited by SCCM4EVA Friday, October 25, 2013 3:50 PM
    Friday, October 25, 2013 3:48 PM
  • Yes, those are common pre-reqs which you probably need for other apps too.
    As Nicke says, perfect app to start with.
    Friday, October 25, 2013 7:22 PM
  • OK, I am almost there. Within my package (I am using PAckage Editor) Can anyone tell me how to get a shortcut to fire up the executable and point to an ODBC connection?

    My Citrix Path statement is:

    • Path:  "C:\Program Files\AppX\UK\AppXje.exe" AppXODBC

    AppXODBC is an ODBC connection I have already configured (points to SQL DB)

    Wednesday, October 30, 2013 6:16 PM
  • Add the shortcut under Shortcuts & FTA's in the sequencing UI. Don't know using the Packaging Editor but it's simple with the sequencer...

    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog: rorymon.com Twitter: @Rorymon


    • Edited by RorymonMVP Wednesday, October 30, 2013 6:32 PM
    Wednesday, October 30, 2013 6:32 PM
  • Or just create the shortcut during sequence, it will end up in your shortcutlist.
    Thursday, October 31, 2013 8:08 AM
  • In the Package Editor, there is a tab for Shortcuts and FTAs. In there, you can create a new one and simply paste the command line into the dialog there. This should be possible including parameters.


    Falko

    Twitter @kirk_tn   |   Blog kirxblog   |   Web kirx.org   |   Fireside appvbook.com

    Thursday, October 31, 2013 8:35 AM
    Moderator
  • Thanks, ok found that. Now I thought, after reading a couple of articles, that while you are sequencing, the sequencer should pick up any environment variables and ODBC connections you have created BEFORE you start sequencing.

    • I created all the EnvVar and ODBC conns I need than ran the sequencer.
    • I finished and upon firing up the app it errors saying it can't find these settings. 

    I have the opened the .appv in package editor and had a look through the Virtuial Registry Tab for the EnvVir and ODBC settings. Not sure exactly where to look. (See below)

    I also found this article on Environment Variables but I looked through the 3 .xml files that get created with the .appv package and could find any settings.

    I found this article below for ODBC: Which makes me think I need to create the ODBC settings DURING the Sequencing, NOT before??. I had a look on my server that has the ODBC connections and they do in fact appear based on the path listed below but not in my virtual registry.

    "Before you start sequencing, make sure that your Explorer and ODBC manager (and other applications) are shut down. If you need them to create the specific ODBC connections that point to the Oracle servers, open them again while you're in the monitoring state.

    After Sequencing, check the Virtual Registry if it has the right ODBC setting: HKLM / Software / <Wow6432Node> / ODBC and sub keys.
    In the vReg tab, ensure that the "built in" keys do have the "merge with local" setting (right-click the key, then key..) Within that entire sub key, only the newly created keys for you specific ODBC connection and the Oralce driver shoud be set to "override"

    Make sure that you don't mix the x86 and x64 sub keys in the registry"

    Do you think it should be ok to add entries into the Virtual Registry ?

    • Edited by SCCM4EVA Thursday, October 31, 2013 9:51 AM
    Thursday, October 31, 2013 9:40 AM
  • Well, looks like you need to run ODBC and configure Environment Variables DURING the sequencer.
    • Edited by SCCM4EVA Thursday, October 31, 2013 10:21 AM
    Thursday, October 31, 2013 10:09 AM
  • OK, so I saved it and now I have appx_2.appv and it's a lot smaller than my original package.

    What do I do now with publishing? - Why should I have two appv packages when I was editing the original only, NOT creating a new one?

    Thursday, October 31, 2013 10:26 AM
  • OK App-V People, I need your help.

    I have finished packaging my application and have included ODBC drivers and Environment variables in package. (screen shot)


    "C:\Program Files\AppX\UK\resmanUK.exe" ResmanUK

    However, (after successfully publishing) and opening from my server running app-v client, the exe claims to not know where the ODBC connection is.

    What could I have done wrong? - What can I check on the app-v client given everything is wrapped up and virtualised?

    I works fine when I install manually on a server.


    and it works fine from within the package itself before I save it

    • Edited by SCCM4EVA Thursday, October 31, 2013 4:44 PM
    Thursday, October 31, 2013 3:37 PM
  • Hi SCCM4EVA,

    please update your package in App-V Sequencer, fix the ODBC-Connection and close the package again.

    Does the DB-Connection work?

    Best regards

    Daniel

    Thursday, October 31, 2013 10:08 PM
  • Hi Daniel,

    Not sure what I have to update, all the ODBC connections are present and correct. The Virtual REgistry matches the live registry. As I say, when I test run the shortcut while the Sequencer is open my app opens correctly.

    Also, when I do Edit the package, do I have to re-run the installers?, reason I ask, is my current Resman.appv package is 176MB. When I edit it (to add in a shortcut for example) it saves as Resman_2.appx and is only 51Mb in size.  (Resman.appx has gone)

    Why the loss of size?

    Thanks - Here is my two registry settings, on server and Virtual


    • Edited by SCCM4EVA Friday, November 1, 2013 8:43 AM
    Friday, November 1, 2013 8:31 AM
  • Hi SCCM4EVA,

    yes, open the package, rerun the setup, test the connection to db and now close the package.

    Is the DB-Connection on the destination systeme working now.

    At the moment I create a training for App-V, so I've seen a lot. But difference in package-size is verry big and without more information not understandable for me. (Some Questions: is the sequencer clean, AntiVirus-Software, etc., are some files deleted form the package (install-sourcec, ...)?)

    Is this a standard application? Is it possible to get this application?

    Best regards

    Daniel

    Friday, November 1, 2013 4:38 PM