PDA

View Full Version : [ubuntu] Wine and the registry



its_jon
September 12th, 2008, 01:39 PM
I have some apps which appear to need stuff from the registry (i think)

I assume I have to copy the registry over somehow into the wine installation as well as the app itself.....

If this is so, I don't know what im looking for yet......

sys32 ? maybe

thanks
john
Scotland

ronnielsen1
September 12th, 2008, 01:42 PM
What are you trying to run and what errors are you getting?

its_jon
September 12th, 2008, 01:44 PM
Sibelius notation software (like rosegarden)

-serial number is invalid please reinstall sibelius-

gvartser
September 12th, 2008, 02:16 PM
then you need to export the registry key in windows.

regedit -> browse your way to the key: "[HKEY_LOCAL_MACHINE]\[SOFTWARE]\[<etc>]" not sure about the path there.
- OR press "F2" to search for the application name to find the serial key.

Then select the key and export it to an .reg file.

This file you then should be able "I think" to import into the wine registry:

Example:

wine <registry_file>.reg

/g

its_jon
September 12th, 2008, 02:28 PM
you lost me at regedit ->

can I do this from Linux or do I have to boot into windows ?

can I not simply copy over the registry wherever it is into wine ?

gvartser
September 12th, 2008, 02:41 PM
No i do not think a copy of the registry will work.

Regedit is run:ed from the windows OS to export the keys you need for your application. Then you need to bring the exported ".reg" file to your Ubuntu machine and import it using wine.

/g

its_jon
September 12th, 2008, 02:43 PM
thanks

Elephantman5
September 12th, 2008, 02:44 PM
Yeah. Make sure the application you want to run is successfully installed on another OS (Just do this all in Vmware through Linux) and find the key the error is referring to, then extract and copy over.
Or make it easy and just copy the whole windows directory from a windows installation to your .wine/c drive in home folder

its_jon
September 12th, 2008, 03:37 PM
I went for the easy option and copied the widows dior over to the wine-c drive folder..... still get the same error

copied one or two regged proggies over to the wine/programs folder and get similar errors.

Plus the wine reg tool has dissapeared now. guess it was overwritten when I copied over the windows folder.

Elephantman5
September 12th, 2008, 03:49 PM
I went for the easy option and copied the widows dior over to the wine-c drive folder..... still get the same error

copied one or two regged proggies over to the wine/programs folder and get similar errors.

Plus the wine reg tool has dissapeared now. guess it was overwritten when I copied over the windows folder.
Yeh, well the wine reg tool shouldn't really matter.
So windows version works. Cool. Install Mono in synaptic, get all the libraries related, that look important. (You'll see what I'm talking about, Microsoft libraries etc.)

And then, reinstall Wine, (after deleting (keep windows dir from copy) the origional config files, to make a clean slate.)
Then when all that's done, update, restart, reinstall wine, copy the dir over, but only system 32 and the program files from the native windows installation.

---
If none of this works, I suggest you get Crossover at your friendly torrent site.

its_jon
September 12th, 2008, 04:29 PM
Lots and lots of mono stuff already installed ????