I have an application that I virtualized using Cameyo. I am trying to start Cameyo using a command line (-exec) and one of my argument is a file generated outside the package. How can my application inside the package access it?
Your format is correct, but try without quotes, i.e. package.cameyo.exe -exec MyApp.exe C:\Temp\Input.xml, or with quotes around both the virtualized app name and the argument, i.e. package.cameyo.exe -exec "MyApp.exe" "C:\Temp\Input.xml"
Another thing you can try is dragging your xml file to your virtualized package.
Yet another thing if your xml file doesn't go through changes like name and location: open your package in Package Editor, click Change across from Startup, and add your xml file to Parameters under Specific command. (You can use Cameyo path variables here.) Click OK and Save or Save as. Now your package will always open using the xml file.
Finally, if your xml goes through changes, you might be able to still have your package open using it by setting up Custom events in Package Editor's Advanced tab.