Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Registry Settings not working correctly
SCA

Date:
Registry Settings not working correctly
Permalink   
 


Hi,

First of all thanks for your work, it gave me the opportunity to play with virtualization without buying those packages we all know, and for learning and playing 2000$ or 5000$ is a bit too high for me, since i'm using that for personal only purposes :)

Then, the problem is this, i'm trying to virtualize an app (a simple game to be honest) that doesn't require capture because it's just the executables and data files... so since i wanted to make a build of this app with some patches inside like a fan translations in my language (italian) and some mods, i started a new blank package in package editor, and i noticed these things:

1) If i used Disk instead of RAM, app didn't even started, and i don't know where to look to have a clue to tell to you... but it's ok, i mean, app is 100mb, i don't care if it's executed on memory (i have 16gb of ram)

2) The only way possible to keep persistent registry settings is to ask for confirmation about deletion... so if that's the case then what the difference between the 2nd option and the 3rd that deletes in any case the registry settings?

This thing is breaking everything because app resolution is stored in registry, so i hoped that the registry export file (which is always compiled correctly and is something like 28Kb) would have been imported in the next app execution.
The only way it works is to say NO when it asks if i want to remove the registry... but then how to make say NO automatically without prompting it? and doesn't this lack of confirm that the program assume YES would make useless the third option in the package editor? (since both 2nd and 3rd option clear the registry?)

Well, sorry for my english or sorry if i didn't fully understand the program or the help files, but i really tried hard on this without any results...
If i may make a suggestion tho, for the menu when you add more than one entry point on the package, make a checkbox that let you hide the command parameters from being shown inside (Parenthesis)... because in my case i have:

App1 (English Language)
App1 (Lingua Italiana) (-ITALIAN)

So the "-ITALIAN" parameter is like repeating itself because there is no way i could hide the parameters in that menu (which is a awesome feature btw).

Thank you for reading this, hope i didn't waste much of your time :)

SCA



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Hello SCA,

Regarding "Remove traces upon app exit" section under the Advanced tab:
1. No cleanup
Anything written to the repository and registry is left on the system

2. Leave no registry traces
Anything written to the repository is left on the system; registry changes are saved to a file in the repository

3a. Remove all virtual data
Anything written to the repository and registry is deleted from the system

3b. Ask for confirmation before removal
Gives the option to cancel deletion of repository and registry in the event there is something that needs to be rescued from the sandbox before it is deleted

If you choose the first or second option, subsequent launches of your package should behave like the previous launch.  Using the third option, i.e. allowing the repository and registry to be deleted, will result in each subsequent launch behaving as if run for the first time.

To edit your package's Startup menu:
1. click Change across from Startup under the General tab in Package Editor
2. click the menu item you would like to edit, e.g. App1 (Lingua Italiana) (-ITALIAN)
3. click Modify
4. edit the Name field the way you want it, e.g. App1 (Lingua Italiana)
5. click OK
6. click OK
7. Save or Save as



__________________
SCA

Date:
Permalink   
 

Thank you for replying my post:

I do use the option number 2 in the Advanced tab, but if i don't check the 3b "Ask for confirmation before removal", every subsequent launches of my package behave like a first launch.

I have to setup again the display resolution which is saved in the registry.
I have no flag on Volatile Registry.

If i don't use the checkbox 3b "Ask for confirmation" and click No when i exit my app, with the same setup (option number 2 selected), my app always behave like it's a first launch.
Checking the 3b and saying No fix the problem, and since seemed a bug to me, i just reported that...

If i edit the package and uncheck 3b, when app quit, next time there is no trace of the registry loaded BUT it is correctly saved, i checked the regexport file you have in the app.cameo.files directory

Thank you for your time :)



__________________
SCA

Date:
Permalink   
 

Oh regarding the app entry point name in the menu i tried as you suggested, but even after i modify it again it still displays as the seguent:

"App name" + Value of the field Parameters.

So if i compile like this:
Name: App (Italiano)
etc... etc...
Parameters: -ITALIAN

It will be: App (Italiano) [-ITALIAN]

what i'm trying to say is that probably a checkbox in that form called "Do not append Parameters to App Name" would be useful for people that doesn't want to see the app parameters passed to the entry point and want a neat and short description of it :)

Bye :)



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

If you enable Volatile virtual registry, do subsequent launches continue to behave like the initial launch, i.e. are you still losing your registry changes?

On what OS are you using the package?



__________________
SCA

Date:
Permalink   
 

Yes, the only way to make the app behave like persistent registry changes is to check the 3b and clicking no when asked as you discussed before...
I do use W7 X64 Ultimate and i do not have any security software, nor antivirus or antimalware, i don't believe in those software...
I'm already under a nat so i don't even need firewall apps or the like apart windows firewall...

My hardware config is i7 2600k + 16gb ram + asus sabertooth p67, so it's not a recent one...

Maybe i will try to package another app that modify the registry to see if it's a app related problem but it's strange because the code in cameyo is working if i click No when asked to lose the registry data, and registry hooks are ok because it does export on file the correct registry data my app modified during the first run...



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard