distal-attribute
distal-attribute
distal-attribute
distal-attribute

Import of .REG info

User, date Message
Written by wolfhnd
2 years ago
Category: HeidiSQL portable
2 posts since Sun, 08 Apr 12
When importing the reg info from my computer to the portable version of HeidiSQL the session information does not seem to transfer?
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
What did you do/click exactly?
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
Ah, I guess you clicked the "Import settings" menu item? Yes, that one just starts regedit.exe with the file provided as parameter. The portable version works in its own registry folder, and the folder in your .reg file obviously has a different root name than the one you need for your portable instance, e.g. "[HKEY_CURRENT_USER\Software\HeidiSQL]". What I should do is creating a copy of that .reg file before the import actually runs, and modifiy the path to the correct one.
Written by wolfhnd
2 years ago
2 posts since Sun, 08 Apr 12
Thanks. Somehow I had got the idea that the portable version didn't alter the reg of the machine it was ran on.
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
Well the portable uses registry, but only as long as the process runs, and in a different folder than the non-portable does. You can even start multiple portable instances which all use their own registry folder. When you exit the portable, the registry folder is dumped into the portable_settings.txt file, and the registry folder gets deleted.
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
I'm on the way to change the export file format, from a .reg file into the format used for the portable mode. The advantage is we can import into the used registry path, independently of the portable mode. And, you don't need admin privileges to import such files. I'll probably keep backwards compatibility to .reg files, by detecting the file extension. But solving the above issue will only be done with that new settings file format.
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
File format changed as described above in r4128.
Written by leeoniyaMoney, Euro
2 years ago
13 posts since Fri, 26 Mar 10
maybe another look at this issue is worthwhile.

http://code.google.com/p/heidisql/issues/detail?id=1805

i found that you don't need admin rights to import non-privilaged registry keys if you use "reg.exe" instead or "regedit.exe"...
Written by ansgar
2 years ago
4784 posts since Fri, 07 Apr 06
No need for reg.exe nor for regedit.exe any longer, with that new file format.
 

Please login to leave a reply, or register at first.