none
How to copy a file from virtual bubble to local machine in App-V 5.0.

    Question

  • Hi Everybody,

    I have just started working in App-V 5.0.

    My requirement is to add a registry (Merge a reg file) in local machine while publishing my virtual application and to delete that reg from local machine while unpublishing time.

    I got fair idea how to achieve that in APP-V 4.6. 

    But how to achieve in App-V 5.0.? can any one help me Please..

    Thanks in Advance..

    Raj Sam

    Monday, July 08, 2013 6:45 AM

Answers

All replies

  •   

    This is the sol for 4.6

    http://social.technet.microsoft.com/Forums/en-US/3ca74602-30a3-42c9-8f09-71d23631dcf6/how-to-copy-folder-from-q-virtual-bubble-to-local-machine-allusersprofile

    Monday, July 08, 2013 6:49 AM
  • Monday, July 08, 2013 7:27 AM
  • Create a powershell or vbscript or a bat file to add  the registry and place it in the scripts section tab in the sequencer UI. Edit the deployment or user config file based on your need.

    Example:

    I have edited the deploymentconfig.xml for my use. Here I have simply called cmd.exe and passed the reg add command to add a registry key.

    <MachineScripts>    
         <AddPackage>
            <Path>cmd.exe</Path>
            <Arguments>/c reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\iexplore.exe /ve /t REG_SZ /d "xxxxxxxxxxxxxxxxxxxxxxxxxx"</Arguments>
            <Wait RollbackOnError="true" Timeout="30"/>
          </AddPackage>
          <RemovePackage>
            <Path>cmd.exe</Path>
            <Arguments>/c reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\iexplore.exe /f</Arguments>
            <Wait RollbackOnError="false" Timeout="60"/>
          </RemovePackage>
      </MachineScripts>       

    Hope this helps.Mark this as answer if it has really helped you.                                                                                                                                                                              


    Thursday, June 18, 2015 7:26 AM
  • very helpful Info!!!!

    Thursday, June 18, 2015 9:46 AM