× Welcome to the AppV_Manage category!
Please post suggestions or issues about the AppV_Manage tool here!

Issue with copy script to copy inside VFS folder in client system

More
1 year 7 months ago #216 by Kahuna
First, to overwrite files in the VFS area you must make sure that the "Allow write to VFS" checkbox on the advanced tab of the sequence editor was selected for your package. But even with that (in spite of the actual wording on that sequencer checkbox about "Full"), you may not overwrite executable files (exe, dll, tlb, etc). This is by design.

You can keep the original files out of the package, make sure the folder is "Merge with Local", and use a script that is not in the virtual environment to copy the file natively to be found.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #129 by koushikru
Hi,

We are trying to embed a simple copy script inside app v 5.1 dynamic config (userconfig.xml) file. The script should copy some files (including dlls, exe) from server location to the VFS folder in the client during launch of a particular application inside the package. But it is not copying exe, dlls, subfolders (only copying files with TRF, DAT, RTP). The script has been given below. Please help us to overcome this issue.

<UserScripts>
<StartProcess RunInVirtualEnvironment="true">
<Path>scriptrunner.exe</Path>
<Arguments>
-appvscript %SYSTEMROOT%\System32\cmd.exe /c xcopy \\server\fldr1\fldr2\fldr3\*.* [{ProgramFilesX86}]\\dfldr1\dfldr2\dfldr3\ /S /E /Y -appvscriptrunnerparameters -wait
</Arguments>
<Wait RollbackOnError="true"/>
<ApplicationId>[{ProgramFilesX86}]\sfldr1\sfldr2\sfldr3\app.exe</ApplicationId>
</StartProcess>
</UserScripts>

Please Log in or Create an account to join the conversation.

Time to create page: 0.431 seconds
Go to top