The folder is in C:\Users\<Username>\AppData\Roaming\VOS
Inside the VOS folder there is 2 folders the Cameyo folder and the Application folder.
The mentioned 2 folders are 40.7 MB.
I suppose the Cameyo folder will no longer be required after the application is converted to portable. Which leaves the application folder which is 13.8 MB.
The portable application as converted by Cameyo in cameyo apps folder is 8.63 MB.
The installable application 3.16 MB.
Conclusion:
As you can see the VOS folder with the application folder inside it is 13.8 MB. That alone is much bigger than the installable application, which is only 3.16 MB.
Thank you for your time and advice.
-- Edited by Clapper on Thursday 27th of September 2018 05:22:23 AM
-- Edited by Clapper on Thursday 27th of September 2018 05:35:18 AM
It is normal for files to deploy to the default location of %AppData%\VOS. By default, Thinapp deploys files to %AppData%\Thinstall. Thinapp makes use of memory more than default Cameyo packages, so not as many files are deployed to the Thinstall directory. With Cameyo's Package Editor, you can change your package to use RAM mode instead of Disk mode; this will deploy fewer files to the Cameyo repository (%AppData%\VOS).
For best practice, you should build your package on a clean virtual machine or use Online Packager.
Thank you for your advice. I am not a software designer but I thought that I should let you know what I think.
Would it be possible to design the the packager to add code so when the portable application is closed after use, it would delete the files on the HDD ? That way no files are left behind.
If you open your virtual app in Package Editor and click the Advanced tab, there is an option to Remove all virtual data upon exit. Enable it and Save or Save as.
Please be careful to note that anything saved to the sandbox (CHANGES directory) will be lost. Be sure to copy anything you need to the host before quitting your virtual app if you enable this option. To save data directly to the host from the package instead of the sandbox, you can change Isolation mode under the General tab or Isolation for individual folders under the Files tab. By default, Cameyo packages can save directly to Documents, Desktop, and network drives.
I'm pleased to tell you that your suggestion worked fine. I got the result I have been looking for.
As you have told me, there is only a small expected problem. As you have pointed out, once the directory is deleted, it is not possible for the software to remember any of the 3 choices.
This is my solution, although not the best. I have saved reg files to bring back the menu and reset "remeber my choice" when required. Both for the compiler and the portable app. It's not the most efficient but it works. Leaving no files left is the main objective mostly when you are using a machine belonging to third parties.
One more question, please: In my compiled application, when run the application menu is showing 3 choices. 1) To run the application, 2) To see the licence agreement and 3) to see some basic instructions.
Is there a way I can block 2 and 3 as to have just the application running automatically even after deleting the VOS directory on Exit ?
I should think that if there is only 1 choice, the menu is not required and the application should run immediately.
NB.
Problem solved. Edited the package as command.
-- Edited by Clapper on Saturday 29th of September 2018 08:27:43 PM
-- Edited by Clapper on Saturday 29th of September 2018 09:48:14 PM
-- Edited by Clapper on Saturday 29th of September 2018 09:50:35 PM
-- Edited by Clapper on Saturday 29th of September 2018 10:24:47 PM