There is a key which i need to apply after the first boot. I was just wondering if i can do that using RunCC?
If no, what would be an alternative?
any help is much appreciated
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
Many thanks Solved
quick question. are your reg files starting with: "REGEDIT4" or just normal reg dumps?
EDIT: Tried both and my RunCC does not import the reg entries.
it's normal... all my reg files start with "REGEDIT4"... (i think it's a key word that identify the reg code!)
Not working
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
I tried the same in my SDConfig.txt but it didnot load the desired registry file. I am using the RunCC with modified runcc.lua .
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
mwalt2 said:
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
Click to expand...
Click to collapse
Ya I am presently doing thatway only. I use XML instead of ProvXML and run it through Runcc and SDConfig.txt.
Since a new method was suggested by OP, I felt trying that. But, without success.
Related
How to convert *.txt file into a *.reg please?
Tweaked a *.reg file for BlueTooth but when I use Resco Registry it just does not import.
Forgot to mention that is it possible to import without overwriting the existing settings (just adding)?
Anyone can help?
TIA
Just rename the .txt extension simply to .reg extension i.e. abc.txt rename it to abc.reg.
I think it's possible to import a registry file without overwriting the existing setting as long as they don't have the same key.
Hi
Thanks Bro but I tried that before and either Resco Registry refuse to import or when it does those keys with the same name with additional strings gets overwritten.
I want to add only.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Hey
Thanks Bro I will give it a try.
Hi [Krueger]Dr.Stein,
Change *.txt with *.reg as extension as well as
add
REGEDIT4
as the first line
example if your *.txt file is like this
Code:
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
*.reg should be
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
Then resco will gladly import
About import without overwriting the existing settings (just adding) you asked is possible, just make sure that the data you are using in reg file is not alredy present in the original registry, then the data is added otherwise it will be overwritten.
Good Job
Alrighty then.
Thanks for the valuable tip. Appreciate it.
Thanks again.
How can I make a registry modifying only cab, that doesn't require files to be added??
So far, it seems that adding SourceDisksFiles and other required sections like this on the .inf files won't allow to create a registry modifying only cab file... :?
Yes those sections of the inf are mandatory.
To create a cab that only modifies registry you need to put your modifications in the form of an xml file, name it _setup.xml and use makecab.exe like this:
makecab /D COMPRESS=OFF _setup.xml mycab.cab
Do not try to use cabwiz because it will change the file name inside the cab.
To learn how to formulate registry changes as xml look in MSDN under Configuration Manager and Provisioning a device.
I have managed to get some instructions as to how to use this file see below:
__________________________________________________ ______________________
The commands available are as follows:
CAB - Installs a .cab file.
EXEC - executes a program.
XML - runs an XML script.
HIDE - hides or shows the AutoRun program.
LOCK - prevents or enables user input.
CPY1 - copies a file or files
CPY2 - pastes files specified in CPY1
SHOW - shows a bitmap, and
RST - executes a soft-reset.
Phew!
In turn then (please bear in mind, while each command must be followed by a colon ":" - not all are followed by spaces):
CAB: \Location\File.cab - Note, a space must be inserted after the colon, and no trailing spaces should be added. The location can be anywhere, SD Cards are denoted - in all commands - by \Storage Card\. Some have experienced problems where the file extension for the cab file is capitalised, so watch out for this.
EXEC:\Location\File.exe - note, NO space. Other rules are per CAB.
XML: \Location\File.xml - as for CAB. I'd say only use this for now if you know what you're on about. I have an XML I use to re-arrange my today screen and a couple of other bits. Will post it up if requested.
HIDE:Enabled or HIDEisabled - NO space, only Enabled or Disabled will work or the command is ignored. If "Enabled", the AutoRun screen (progress bar and WM Screen) are hidden allowing the user to watch progress. This is useful if CABs require input (like O2 Plus 2.3 or MortRing).
LOCK:Enabled or LOCKisabled - NO Space. Does what it says, locks or disables the lock for user input.
CPY1: \Location\File, followed immediately by CPY2: Location -this copies a file from one specified location to another. CPY2 MUST FOLLOW CPY1.
SHOW: \Location\File.bmp - shows a bitmap. Useless really, unless you completely hate the WM Customisation bitmap.
RST: Reset - performs a soft-reset.
So.....here's a sample SDConfig.txt - it's an extended version of the one I tested with some of the guys.
HIDE:Enabled
CAB: \Storage Card\AutoConfig\MortRing.cab
HIDEisabled
LOCK:Enabled
CAB: \Storage Card\AutoConfig\BTio.cab
CAB: \Storage Card\AutoConfig\BT_Quicklink.cab
XML: \Storage Card\AutoConfig\Auto_Setup.xml
RST: Reset
__________________________________________________ __________________________
I still have some questions?
If the cab file normally asks where you want to install it: device or memory card,
will it just install it onto device as default if I use the LOCK:Enabled command?
Just a bit concerned wouldn't want the device to ask for user input but then be locked :-(
Secondly If I use the copy and paste CPY1 and CPY2 comands what happens if you are pasteing it to a folder that has the same file name? Usually it prompts the user and asks do you want to overwrite this file Y/N? If you use the LOCK:Enabled command again will this overwrite the file by default?
Or do you need to enable user input? If you do need to tell it what your chose is (i.e. overwrite the file) is there a way to automate it so it does it automatically?
Thanks in advance, I want to try this on my wifes XDA Orbit, with the Artemis Touch 4.02 Lite rom, but don't want to risk bricking it?
P.S. the green smily in the instructions should be ":" and "D" together without the quotes
don't know how to show it without it being displayed as ???
Thanks again
doortodoorsalesman said:
If the cab file normally asks where you want to install it: device or memory card,
will it just install it onto device as default if I use the LOCK:Enabled command?
Just a bit concerned wouldn't want the device to ask for user input but then be locked :-(
Click to expand...
Click to collapse
With UC the progs are always installed to the Phone's memory, never to the SD-card...
The overview looks quite correct, although the example contains HIDEisabled instead of HIDE:disabled. You may also want to use CODE around your examples to ensure invalid spaces are not added by the forum (happens when too long words without spaces are used)...
Regards,
Nika.
Will CPY2 create a new folder if it doesn't exist?
Is there a way to create a new folder?
Why does this not work?
...
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2: \Windows\Start Menu\Programs\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2: \Windows\Start Menu\Programs\Games\
...
Is this copy-paste able to override files?
ReinerK said:
Why does this not work?
...
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2: \Windows\Start Menu\Programs\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2: \Windows\Start Menu\Programs\Games\
CPY1: \Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2: \Windows\Start Menu\Programs\Games\
...
Is this copy-paste able to override files?
Click to expand...
Click to collapse
Because theire may no space between : and \ so...
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\TomTom Navigator.lnk
CPY2:\Windows\Start Menu\Programs\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Age of Empires.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\FPSEce.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\ScummVM.lnk
CPY2:\Windows\Start Menu\Programs\Games\
CPY1:\Storage Card\Installs\CUSTOMIZATION\SHORTCUTS\Stratagus.lnk
CPY2:\Windows\Start Menu\Programs\Games\
Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?
Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0
Thanks.
You can create a cab file for this.
Byrkoff said:
Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?
Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0
Thanks.
Click to expand...
Click to collapse
dotfred's taskmanager for importing reg files (containing a set of registry keys
registrysetstring for setting just a single registry key
mortscript
egoist6 said:
dotfred's taskmanager for importing reg files (containing a set of registry keys
registrysetstring for setting just a single registry key
mortscript
Click to expand...
Click to collapse
RegistrySetString is perfect to change any string-value, but I want to change an integer-value (Base decimal). Help, please.
come on. show more enthusiasm and check the other websites...
if you use taskmgr:
create a reg-file "myvalue.reg":
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Activesync]
"KeepAlive"=dword:00000000
and import the reg file:
Code:
taskmgr.exe myvalue.reg
if you use morstscript:
Code:
RegWriteDWord("HKCU", "Software\Microsoft\Activesync", "KeepAlive", "0")
Here is a code i published while ago.. its in C#
you can change it to your needs :
http://forum.xda-developers.com/showpost.php?p=3304680&postcount=11
Thanks. MortScript is the best.
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
google ceregeditor. It will turn registry entries into a cab for you.
mwalt2 said:
google ceregeditor. It will turn registry entries into a cab for you.
Click to expand...
Click to collapse
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?
the7thson said:
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?
Click to expand...
Click to collapse
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc
mwalt2 said:
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc
Click to expand...
Click to collapse
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.
the7thson said:
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.
Click to expand...
Click to collapse
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver
FInixNOver said:
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver
Click to expand...
Click to collapse
Wow, thank you!!!
Is there any program that will allow multiple REG sections to all be exported to a single "file.reg" so that they can all be reloaded or converted to a CAB install file? I have multiple sections of my Registry which i would like to have in a single .REG or .CAB file but when i export each part of the REG separately then cut n paste to combine then it does not seem to re-install in to my register after a clean ROM boot.
Any ideas?
LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.
the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
See my signature
Magic Tweaks is exactly what you need with alot more Regs
Ethermind said:
LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.
Click to expand...
Click to collapse
Yeah, use wince cab manager! Just add a key to the registry or use file, import reg!
When you want to save the cab you'll get a message that you don't added any files, thats oke because a key or a value isn't a file!