I'm trying to convert a mobile registry file to a CAB file. CERegEditor has a feature that does this; however, when I then install the CAB file with the registry tweaks to my Touch HD, any registry tweak with a file path has double backslashes instead of just one backslash in the path.
For example, if I have a REG file with a request to change the file path of a particular key to:
"FileSyncPath"="\Storage Card\My Documents"
Instead, though, when I convert it to a CAB file in CERegEditor, and install it on my phone, I get the following line in the registry:
"FileSyncPath"="\\Storage Card\\My Documents"
As you can see, there are double backslashes.
Any ideas on how to correct this?
Thank you,
Peter
Related
I know that on Magician(MDA Compact) we can use mp3 as a ringtone . My question is , why we can't do it on MDA III ? Maybe someone have any idea how to fix it, or maybe we have to add something from MDA Compact rom ? Who knows ??
My Magican lost the MP3 as ringtune function..
Found out that associate .mp3 to Windows Media Player got the funktion back .. Used Resco File Explorer to do it.. but any of Ur file associating tool will do the job..
Dont know if it helped ..
Carlis
ok...so where in Registry with Resco do you make the change?
This would be helpful!
WinCE file associations are managed through the registry - here's something which you might find useful, as it describes what's eneded... It's an article I wrote aimed at those writing installers, but it might be useful.
File Associations in Windows CE
File associations in Windows CE are handled through the registry: there is no "user friendly" way to manage file associations built into the operating system. For example, double click on something with a three letter extension that is not managed, and what do you get? A requester telling you to that there's no application associated with the file type, and that you should "run the application first, then open this file from within the application".
Helpful, eh?
The solution is fairly straightforward, but is best off left to either an installation routine or an application initiation routine as it involves adding entries to the registry.
To associate a file with an application, you need to create four entries in the HKEY_CLASSES_ROOT registry hive:
- a mapping between the extension and class name (ie .xyz to xyzfile)
- a class name with description of what that file type is that will mean something to the user (ie xyzfile to "XYZZY data file"
- A pointer to the default icon to use for the class in explorer
- The command with which to open the file type
As an example, let's show adding the ".z5" (Infocom Story file) extension to a machine to be opened by FrotzCE (an infocom interpreter). The following keys would be needed:
HKCR\.z5 with the default value set to "z5game"
HKCR\z5game with the default value set to "Infocom Story File"
HKCR\z5game\DefaultIcon set to the path to FrotzCE, followed by the icon number to use from the file. As an example "\Program Files\FrotzCE\FrotzCE.exe," will use the first icon in the application
HKCR\z5game\Shell\Open\Command set to the path to FrotzCE with any parameters to pass. The filename is stored in the variable %1%, so something along the lines of '"\program files\frotzce\frotzce.exe" %1'.
The best place to set this up is within a CabWiz installation file. One thing to be aware of is the handling of quote marks within CabWiz, and also of % symbols, which are used for internal variables.
Here's an example from the CabWiz INI file for MagnetiCE, which associates .mag files with the installed application:
[RegSettings]
HKCR,.mag,,,magfile
HKCR,magfile,,,"MagnetiCE Game file"
HKCR,magfile\DefaultIcon,,,"%InstallDir%\MagnetiCE.exe,"
HKCR,magfile\Shell\Open\Command,,,""""%InstallDir%\MagnetiCE.exe"""" %%1
What should the header line be in the .reg file for import with total commander/sk-tools...etc?
"REGEDIT 4" or "Windows Registry Editor Version 5.00"
when I exported using CEREGEDIT the header = "REGEDIT 4" and when I used total commander on my PPC I selected the key "copy to clipboard" and pasted in a directory on my SD card when I open the file with notepad on my PC the header in that .reg file is "Windows Registry Editor Version 5.00" So now I am confused... or will either one work?
I just am trying to make a .reg file I can merge after a fresh install so that I don't have to manually input owner info, and some misc. control panel settings.
Thanks in advance to anyone that can shed some light!
I'd use REGEDIT4 no space.
I have a question, regarding working with a cab file that doesn't have any registry entries. I used cab analyzer, and the file didn't have any registry entries, so of course I couldn't copy and paste to the <GUID>.rgu file.
So, do I just create a blank .dsm file, and cook it into the ROM?
Any Ideas?
I created a reg file using task manager when I had Meschle's Touct 3.1 ROM installed because I needed to run a registry hack every morning to correct a registry setting change my Exchange server was forcing on me.
I've since moved to Meschles Vanilla 2.1 ROM, but there's no application associated with the REG files so my registry file won't load any more when I click on the file.
I've loaded both HTC and fpb Task Managers bu tthey don't associate the ".reg" file suffix.
I've installed Regedit, which associates the .reg files, but tha tjust opens the files for editing rather than running and loading the registry changes.
Can anyone advise what I need to do so that I can easily "load" my registry change ".reg" file again?
Thanks,
Graham
Hi there,
I use Resco Explorer with the built-in registry editor. It will solve your two problems in one: RE will let you 'associate' files so they open with an app of your choice, and the registry editor will let you import/export keys.
You could even put a shortcut to this .reg file in your startup folder so that after a soft-reset it would be imported again!
Hope this helps.
Hello all, I downloaded a .reg file someone created with some performance edits and Im not sure what to do with it once I have it on my sdcard. It says there is no program to open it and apply the file, am I missing something or is there an additional app needed to apply .reg files? Thanks for any info
what i do is use this task manager...you have to change the .reg file to a .xml with the rgu 2 xml program and change the extension of the output file to .xml...then open task manager and under the right soft key there is an action button and then install provisioning xml...select that then your xml file, hit done and if it is written correctly it will load and your done...
Or try this if the unit is connected to the desktop:
http://ceregeditor.mdsoft.pl/
Te FdcSoft TaskMgr has a registry editor onboard, with which you can directly import .reg files; no need to convert them to .xml first.
ridolfo said:
Te FdcSoft TaskMgr has a registry editor onboard, with which you can directly import .reg files; no need to convert them to .xml first.
Click to expand...
Click to collapse
did not know that...thanks for the update