locked
How to create an App-V 5 package where the running app is running in a specific directory in the bubble? RRS feed

  • Question

  • I've got some legacy apps that I'd like to get working with App-V 5.

    The problem is, that every single one of these programs have hardcoded path in their code, and they even need to interact with each other (through this specific path).

    Scenario (on running native W7):

    C:\CustomFolder\ <- the root of all the programs

    C:\CustomFolder\App1, C:\CustomFolder\App2 ... <- the applications folder

    The CustomFolder needs modify rights to everyone to get those applications running correctly.

    How do I use the sequencer in this kind of situation?


    • Edited by Narcoticoo Wednesday, September 11, 2013 3:28 PM edit
    Wednesday, September 11, 2013 3:28 PM

Answers

  • For these applications, it is recommended to match the installation directory as much as possible when sequencing to the PVAD.


    Steve Thomas, Senior Consultant, Microsoft

    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat

    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/

    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

    • Marked as answer by Narcoticoo Thursday, September 26, 2013 2:49 AM
    Monday, September 16, 2013 12:12 AM

All replies

  • Are you having issues with this or have you not tried it yet? You should try installing or putting the files in the required locations during the sequencing. The client should find the files in the location specified. You can make sure by running a ProcMon when running the virtual application.

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

    Wednesday, September 11, 2013 11:17 PM
  • Hey narcoticoo,

    I'm not seeing any show stoppers here.  I recommend sequecing each application seperately and esuring that each one works on it's on.

    Then, you should be able to create a Connection Group and add all the sequenced apps into it.  They would then all run in the same bubble, should be good.


    d

    Thursday, September 12, 2013 9:04 AM
  • In that special case, you either could sequence all applications together and install them to CustomFolder\App1, \app2 and so on. When the Sequencer asks you, you could specify 'C:\CustomFolder' as the Primary Virtual Application Directroy (PVAD).

    You also coud sequence each application seperately and use ConnectionsGroups to join them afterwards.

    Here it is important that you do not specify C:\CustomFolder (or a subfolder) in the Sequencer's PVAD dialog. Use an artificial value (C:\vApps\appgroupname) for that. But install every application into C:\CustomFolder\App1..x

    As a result, the C:\CustomFolder\App1..x location should be found somewhere in the VFS sub folder of the package. If you'd have the PVAD and installation target pointing to the same folder, the 'merged' environment of the ConnectionGroup would only offer one folder (App1), but not all: only VFS subfolders are merged nicely.

    Note that it might be that you don't see the folders and files, but if you directly open them, they should be there.

    Adjusting the 'modify' rights might be more complicated, you should test your first results especially for that permissions. If permissions aren't right, use Dan Gough's approach: http://packageology.com/2013/06/file-permissions-app-v-5/


    Falko

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

    • Proposed as answer by znack Sunday, September 15, 2013 8:42 PM
    Thursday, September 12, 2013 10:51 AM
    Moderator
  • For these applications, it is recommended to match the installation directory as much as possible when sequencing to the PVAD.


    Steve Thomas, Senior Consultant, Microsoft

    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat

    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/

    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

    • Marked as answer by Narcoticoo Thursday, September 26, 2013 2:49 AM
    Monday, September 16, 2013 12:12 AM
  • Thanks all, got it working now with doing the packages for each software and using the PVAD to point to exact location. This way I didn't have to change the permissions on the VFS.


    Thanks all.

    Thursday, September 26, 2013 2:49 AM