i was using total command, and i accidentally renamed a folder in HKLM to x
could someone be so kind to tell me what is the name of the folder so i can rename it back?
in HKLM files that i see is
-AudioCompression
-ButtonApps
-Comm
-ControlPanel
-Drivers32
-Explorer
-ExtModems
-HARDWARE
-Ident
-init
-Loader
-MUI
-nls
-Platform
-Security
-Snd
-Software
-System
-TAPI
-Telephony
-Time
-Window CE Service
-Window CE Tools
-x (this is the folder i renamed)
pls reply a.s.a.p, my phone is not functioning now
It's WindowsLiveBak on my phone. It's got Extensions, Root and Services in, yeah?
inside the "x" folder
there is
-adobe
-apps
-arsoft
-Discretix
-Drivers
-Google
-HTC
-IA Style
-iGO8
-Impulsesoft
-Microsoft
-MIDI Engine
-OEM
-Opera
-Qualcomm
-SIE
-Tao
-Tegic
-WidComm
whole phone not functioning once i accidently renamed the folder to 'x'
haihhhh
Omg, im so dead... please help me out here
i notice the "x" folder i renamed has similar files in "software" folder, but lesser
Not sure then. I don't have a key that has anything like my software key's contents. This is my list, there's a couple that you haven't listed:
AudioCompressionManager
ButtonApps
Comm
ControlPanel
Drivers
Drivers32
Explorer
ExtModems
HARDWARE
Ident
init
Loader
MUI
nls
Platform
Security
Services
Snd
Software
System
TAPI
Telephony
Time
Windows CE Services
Windows CE Tools
WindowsLiveBak
lazylilsnoop said:
i was using total command, and i accidentally renamed a folder in HKLM to x
could someone be so kind to tell me what is the name of the folder so i can rename it back?
in HKLM files that i see is
-AudioCompression
-ButtonApps
-Comm
-ControlPanel
-Drivers32
-Explorer
-ExtModems
-HARDWARE
-Ident
-init
-Loader
-MUI
-nls
-Platform
-Security
-Snd
-Software
-System
-TAPI
-Telephony
-Time
-Window CE Service
-Window CE Tools
-x (this is the folder i renamed)
pls reply a.s.a.p, my phone is not functioning now
Click to expand...
Click to collapse
it's kind of dificult to know what folder you renamed...maybe it can be services i guess
lol, yea... but it couldnt be copied and pasted right? since both software and x have almost similar folders.
but anyway i decided to go the easy way out, hardreset... heart pain, i lost 20% of the stuff in there
Related
I am starting this thread as there seem to be a lot of smart people on this forum that have a lot more knowledge about the BlueAngle device than I do and I hope that they will be able to come up with a better solution to my problem.
Problem:
1) Every time I update my device I need to run a lot of setup.exe to reload all of my software.
2) I have to create new folders under "Programs"
3) As I don’t like the default location of the links, I have to move the links into my new folders
4) I have to enter registration codes on a number of applications.
I would like to be able to automat this were possible.
I would like to share with you my solution in the hope that it helps you
and I would like it to be inproved by anybody who has a better understanding of this than me.
I have had to break this up into 3 parts and post then each seperatly.
Part 1:
Auto Install of applications based on a config file
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
Part 2:
Dos add-on that allows me to make folders, copy and delete links from a batch file
http://forum.xda-developers.com/viewtopic.php?p=83121#83121
Part 3
Macro to enter the Reg codes of software.
http://forum.xda-developers.com/viewtopic.php?p=83122#83122
I base all of these on an application called "Splashphoto" which is a demo version and can be found on www.handango.com
(the link was to long to copy as it messed up the view)
You can find the files under:
ftp://xda:[email protected]/BlueAngel/Tools
I hope I can also add them as downloads.
Comments, sugestions and better ideas are welcome.
edited 18/01/04 Finished part 3 Macros
Auto Install of applications based on a config file
Problem:
1) Every time I update my device I need to run a lot of setup.exe to reload all of my software.
Now this has got on my nerves and I would like to share the solution that I have found in the hope that somebody SMART can simplify it.
I base this example on the application "Splashphoto" in the combination of the autorun.exe found in the Extended_ROM.
You can modify the concept to your own liking by changing the install location, the number of install files
**Note** the supplied config.txt files is set to turn the touch screen off when you install.
Thus it will ONLY work if your cab file does NOT come up with a message that requires you to confirm it by hand on installation.
Such as "written for older version.." or "Is already installed reinstall?.." You can change that as written below.
Although you are able to install software from your desktop onto any location of your device I have not found a switch for this and am already way out of my depth. I would think that there has to be some command line that that the Cab file reacts to. I hope somebody SMART can Work this part out.
I have added all the needed files to: AutoInstall_Beta.rar and have tried to go into a deep explanation based my own limited understanding.
ftp://xda:[email protected]/BlueAngel/Tools/Autoinstall_Beta/AutoInstall_Beta.rar
Step 1
You will need to download this file, extract it and copy it to your storage.
This example uses "\Storage\Install"
Step 2
You will need to modify the following key to insure that autorun.exe points to the correct config.txt file.
HKEY_LOCAL_MACHINE\Comm\AutoRunCFG
Old value: \Exteneded_ROM\config.txt
New Value: \Storage\Install\config.txt
Step 3
Run \Storage\Install\Autorun.exe from your device.
This file will run the commands found in Config.txt
In this case
A) disable Touch screen (may be also the phone)
B) install SlashPhoto
C) Enable Touch screen (may be also the phone)
D) Reboot
AutoInstall_Beta.rar has the following files:
1: SplashPhoto.2577.CAB
Extracted cab file from demo version of SplashPhoto found under:
http://www.handango.com/
2: AutoRun.exe
Found on the Extended_Rom.
This file will run the commands found in Config.txt
3: Config.txt
Modified config.txt file with the only entry being SplashPhoto.2577.CAB
4: TPDisable.exe
Application to disable the touch screen (may be Phone function) while installing applications also found on the Extended_Rom
5: TPEnable.exe
Application to Enable the touch screen (may be Phone function) while installing applications also found on the Extended_Rom
6: Ruler.ARM.CAB
This is a freeware application that turns your display into a Ruler.
It has been added as it comes up with a message that you need to confirm.
**Note** if you add this to config.txt you will hang and need to reboot your device.
After reboot you will find the application under start\Ruler and it will work.
**UPdate** By removing the commands TPDisable.exe and TPEnable.exe from the config,txt
you are able to confim the install dialog as the touch remains active.
Understanding of Autorun.exe:
Based on the info I have picked up there seems to be 2 versions of autorun.exe, one uses a config.txt and one not. (this one does)
After a new upgrade of your device autorun is executed to install the software based on the carrier that you have all of whih is found under \Extened_ROM hidden folder.
I took this Idea modified the config.txt and ran autorun in a new folder on my device to find out that it installed all the software in the Exteneded_rom and NOT out of the folder I was in nor with the config file that I had.
This was not what I wanted and did not make me very happy.
So after some playing around with regedit I found
HKEY_LOCAL_MACHINE\Comm\AutoRunCFG with the value of \Exteneded_ROM\config.txt
This I changed to \Storage\Install\config.txt,
re ran the autorun and it worked thus giving me Proof of concept.
Understanding of Config.txt
EXEC:\Storage\install\TPDisable.exe
CAB: \Storage\install\SplashPhoto.2577.CAB
EXEC:\Storage\install\TPEnable.exe
RST: Reset
Click to expand...
Click to collapse
It seems that with the command EXEC you can execute a *.exe file such as turning the touch screen on and off
It seems that with the command CAB you can install an application.
It seems that RST reboots the device.
What would be nice is to work out if you can force the application to install in a different location (Storage Card)
Finding your cab files.
Most applications that are installed from your desktop will create a folder and deposit the cab files in it.
If your device is connected it will kick of the setup routine that will ask you for the install location and then execute the cab file.
It is recommended that your install the software this way first to see if you get a message on your device.
If the install falls under the clean versions then you can remove it with the stettings\remove Programs and modify your config.txt
In our SplashPhoto Case the default location is:
"C:\Program Files\SplashData\SplashPhoto for PocketPC\SplashPhoto.2577.CAB"
I have also found cab files under
"C:\Program Files\Microsoft ActiveSync\Name_of_Application"
Working out which CAB is the correct one.
The file names might be ???.mips.CAB, ???.arm.CAB, ???.sa.CAB, ???.sh3.CAB or ???.Cef.CAB
I am in luck as in our case there is no choice
Which is just as well as I have no Idea what they mean.
Hint: I use ARM as it seems to work and I its my cpu type.
So what is left?
1) Solving the problem of cabs that come up with a message such as Ruler.ARM.CAB
Solved:
TPDisable.exe ----> Seems to disable the touch screen
TPEnable.exe ----> Thus this would enable the touch screen.
So for the Ruler.ARM.CAB that asks gives us the "written for other version" the following will work with out a reset
Config.txt
CAB: \Storage\install\Ruler.ARM.CAB
Click to expand...
Click to collapse
2) finding a switch to set the location of the install to say "\Storage Card"
3) A little cab that turns config location on and off.
Does a regedit of our key with out having to change it by hand.
And has a drop down Browse function to for my "\Storage\Install" folder
Or a better solution than mine!!!!
Next thing I will try to cover is batch copy and del of links
Gee I hope this all was not a waste of your time reading it.
Edit 18/01/04 added Open 1 as solved
Corrected text about what TPDisable.exe, TPEnable.exe (which is turn Touch screnn on/off (may be the Phone funtion)
Updated the section on Ruler.ARM.CAB
Dos add-on to make folders, copy and delete on Device
Problem:
2) I have to create new folders under "Programs"
3) As I don’t like the default location of the links, I have to move the links into my new folders
I base this example on the application "Splashphoto" in the combination of the autorun.exe found in the Extended_ROM
as well as freeware version of RemoteCommand.x86_15_English
I would presume that you have installed the SplashPhoto as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
You can modify the concept to your own liking by changing folder structure of your programs menu,
the number of new folder you would like to make or the number of links you want to move.
I have added all the needed files to: CopyLinks_Beta.rar
ftp://xda:[email protected]/BlueAngel/Tools/CopyLinks_Beta/CopyLinks_Beta.rar
I have tried to go into a deep explanation based my own limited understanding.
Step 1
You will need to download this file, extract it and copy it to your desktop.
This example uses "C:\Install"
Step 2
You will need to extract the RemoteCommand.x86_15_English.zip in a location of your choice.
Step 3
You will need to install RemoteCommand.x86_15_English on your desktop
The program is setup.msi and found in the zip file
Step 4
You need to be connected to your device and activesync needs to be running
Step 5
You will need to run the CopyLinks.bat in a dos box
Start menu -> Run -> Cmd ->Enter
In the dos box
C: [Enter]
Cd c:\install [Enter]
CopyLinks.bat [Enter]
The batch file will
1) Create a new folder under your Programs folder of your device called applications
\Windows\Start Menu\Programs\Applications
2) Copy the splashphoto.lnk to this folder
\Windows\Start Menu\Programs\Applications\SplashPhoto.lnk
3) Delete the old Link
\Windows\Start Menu\Programs\SplashPhoto.lnk
CopyLinks_beta.rar has the following files:
1: RemoteCommand.x86_15_English.zip
Download freeware desktop version of RemoteCommand from
http://www.freewareppc.com/utilities/remotecommand.shtml
2: CopyLinks.bat
Batch file to create a new folder, copy the link and then delete the original link.
Understanding of RemoteCommand:
The install of remoteCommand gives you a new file called Rcmd.exe which is like a Pocket PC version of dos.
It is not executed on your pocket Pc so don’t even try to look for programs\dos.
It is a command line add-on executed in a dos window that allows you functions like copy, del md
from your desktop onto your Pocket PC or from your Pocket PC to your Pocket PC.
It adds itself in the path statement and thus a batch file can be executed from anywhere.
** Note ** You have to be connected to your device and ActiveSync needs to be running.
Understanding of CopyLinks.bat:
Rem Make a folder under programs
rcmd md "\Windows\Start Menu\Programs\Applications"
Rem Copy Links into that folder
rcmd copy "\Windows\Start Menu\Programs\SplashPhoto.lnk" "\Windows\Start Menu\Programs\Applications\SplashPhoto.lnk"
Rem Delete the old Link
rcmd del "\Windows\Start Menu\Programs\SplashPhoto.lnk"
Click to expand...
Click to collapse
Gee I hope I don’t need to go into that.
So what is left?
1) Would be nice if one would check "on error" as the dos screen sort of zips past.
2) Think it would be nice to add a "CopyLinks.bat /Install" and "CopyLinks.bat /Uninstall" option.
As we are moving the links and creating new folders the "remove program" will not pick it up.
This way one could put the links back were they belong before removing the software with "Remove programs"
Or a better solution than mine!!!!
Next think I will try to cover is batch Entering of Registration codes.
As always I hope this all was not a waste of your time reading it
Macro to enter the Reg codes of software
Macro to enter the Reg codes of software.
Problem:
4) I have to enter registration codes on a number of applications.
I base this example on the application "Splashphoto" in the combination with the
demo version of Pocket Controller-Professional by SOTI Inc found on
http://www.handango.com/ (Link was to long to copy)
or
http://www.soti.net/default.asp?Cmd=Products&SubCmd=PCPro
I would presume that you have installed the SplashPhoto as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
I would presume that you have copied the link as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83121#83121
You can modify the concept to your own liking by recording your own macros, cutting them into one file and running them.
I have added all the needed files to: Macro_Beta.rar
ftp://xda:[email protected]/BlueAngel/Tools/Macro_Beta/Macro_beta.rar
I have not added the Pocket Controller-Professional due to its size.
Step 1
Download Pocket Controller-Professional
Go to www.handango.com
Browse by Operating System -> Windows Mobile™ Smartphone
in search add -> Pocket Controller-Professional
The rest should be clear
*or*
http://www.soti.net/default.asp?Cmd=Products&SubCmd=PCPro
Hit the [try] button
Step 2
Insure phone is connected, activesync is running
install Pocket Controller-Professional on your desktop
Step 3
Run Pocket Controller-Professional and connect to device
File -> connect
you should see you device on your screnn.
Step 4
Download the Macro_Beta.rar
Unpack it to c:\install
Step 5
in Pocket Controller-Professional
in menu Tools -> Macro -> Play [mouse click]
Browse -> choose C:\install\SplashPhoto.cmd [OK]
This will run the macro that:
1) Starts SplashPhot
(Start -> Programs > Aplications > SplashPhoto)
2) In SplashPhoto goes to Preferences and opens the keyboard
(Tools > Preferences > Keyboard)
Not very flash I know
Understanding of Pocket Controller
This is a very useful piece of software that will allow you to use your device on your Desktop.
You can take snap shots or films of your devices display. Great to prove your point with support.
It has a dos box that in this version does not support Batch files.
It has a file explorer of both desktop and device.
And what I need for this Macro recording.
(Personal pick I admit to it )
Soti if you read this post:
Qestion Is there much point in having my device on desktop if I cant even copy a text out of notepad into it?
Macro_beta.rar has the following files:
SplashPhoto.cmd
Understanding SplashPhoto.cmd
This is a text file that records the mouse event on a X/Y postion as well as other actions
That is also its downfall as you links will move as they are sorted in your folder.
Add to this that the start menu might be of a different hight.
The itemes in the start menu might have changed order
SplashPhoto.cmd
MouseEvent 0x0 0x2444 0x800
SleepEx 0xc8
MouseEvent 0x1 0x2444 0x800
SleepEx 0xd48
MouseEvent 0x0 0x3777 0xe0cc
SleepEx 0xc8
...........
Click to expand...
Click to collapse
So what is left?
1) Work out if there is a option to input in a text mode
The help is not much help.
My thoughts would be along the line of
Menu "Start"
SleepEx 0xc8
Menu "Programs"
SleepEx 0xc8
.....
Click to expand...
Click to collapse
I will e-mail support.
As always I hope this all was not a waste of your time reading it
you might check this thread out :
http://forum.xda-developers.com/viewtopic.php?t=9333&highlight=restorator
Thanks M4io
Did and did I ever go swimming!!! Have sent PM to SP for help.
Solved Part 1: CAB that need Touch screen input on install
Solved Part 1: CAB that need Touch screen input on install
Edit 18/01/04
added Open 1 as solved
Corrected text about what TPDisable.exe, TPEnable.exe (which is turn Touch screnn on/off (may be the Phone funtion))
Updated the section on Ruler.ARM.CAB (by removing the TP* commands out of config.txt the screen is still active
thus you can confirm with ok
Updated post is the original
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
MDAIIIUser said:
did I ever go swimming!!!
Click to expand...
Click to collapse
System error s0c4 : Unknown expression :lol:
M4io
Try Help->search> Unknown expression > Find > Swim*
Will return, System error s0c4. <Grin>
The Short of that is after reading that post I had more questions than answers.
Finished Part 3
Macro to enter the Reg codes of software.
http://forum.xda-developers.com/viewtopic.php?p=83122#83122
I think I would simply use backup intead
i would like to know which .cab files MUST be kept in there....
Well the extrom should have the resco cabs to be able to hack the reg. (or what ever reg application you want to use).
If you don't have that then you cant change the keys to point to the new auto run as well as the new config.txt
As you will be installing of a different location the unlock cab is not needed but would be nice to have.
My smart suggestion
Hi MDAIII user,
Gr8 thing to be posted, but I follow a bit smarter way....
I use SPB Clone to take the Cloning image of all the device and after updating or after say if device got hard reset, I just restore that clone image...it restores all the data including the call history SMS and the installed softs with registration codes....
It also restores the extended ROM if one has unlocked it and the storage data too!!!!!
I hope, this information will be useful for all
Would a clone of a 1.22 Rom which is restored on a device that you just upddated to a 1.40 rom not sort of mess it up??????
Hi Man,
Logically yes, but I hv not encountered yet......
Hi all,
I have Molski's 30MB G3 Rom (3rd Release) installed on my Wizard. Using Activesync, I can not browse the Windows directory from my PC. I used Resco Explorer and checked the permissions/properties of the Windows directory. I removed the Read-only, Hidden, Archive, and System flags from the directory and still no change. The windows directory does not even show up.
If I try to type in the \Windows into the address bar while browsing the PPC it bumps me to the C:\Windows.
Once I check the permissions again on the windows directory, the flags I turn off are still checked again...
set your pc to show hidden files. Does that do it?
Hi,
does anybody know how to set the program files dir from /program files to /programme so that all Programs will be installed into /programme by default.
Thanks
Ali
I don't think it's possible to force all programs to go into specific folder (I think you have localised version of windows - german?) Some apps use their own paths (without checking system defaults) you just cannot change - same problem exists in localised german Windows XP - even though c:\Programme is default, some apps just stick to c:\Program files.
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
i accidently renamed a file in the registry. Now i can't open file explorer or view other things. i was using total commander and the file is in "registry\HKLM\" the file is in between "software" amd "system" so can somebody please tell me the original name of the file?
P.S-im sorry if i posted this in the wrong section
There's no other folder in my phone between those two folders.
do you think "clear storage" it'll put everything back to normal?
i know it started with an S can someone please help me i can't open my contacts or the windows media
A Hard Reset would fix the issue. Sorry but there was nothing else there.
Here are the available directories in registry/HKLM on my WING that start with "S" Haha!!! (sorry)
-Security
-Services
-Snd
-Software
-System
If you cant open Windows Media, you probably renamed the "software" directory.
In registry/HKCU there is a directory between "software" and "system" named "Start". That could be it.
LoL Hope this helps.
Do you know how can I put my name and my registration code into my package ( for kitchen) or how can I put them into the cab file so I dont need to type the code everything I do the hardreset. THX
If your software keep the reg info in the registry, just add this key to your package's rgu; if on the other hand the info is in a file, just add the file and don't forget to add the file into initflashfiles
adwinp said:
If your software keep the reg info in the registry, just add this key to your package's rgu; if on the other hand the info is in a file, just add the file and don't forget to add the file into initflashfiles
Click to expand...
Click to collapse
How can I know which one in registry, which one in the file. Please let me know.
For example resco explorer I can not find where is the key storaged
Thx so much
Please anyone. Anyone can help?? THX SO MUCH
etenx500 said:
Please anyone. Anyone can help?? THX SO MUCH
Click to expand...
Click to collapse
Some one plz
etenx500 said:
Some one plz
Click to expand...
Click to collapse
use this software WinCE CabManager:
http://www.ocpsoftware.com/products.php?nm=cecabmgr
if u want further help u can mail me or PM.
Functions are:
Open Existing Cabinet Files
Open any Windows CE CAB file, as well as Smartphone and Pocket PC theme files.
Create New Cabinet Files
Allows you to create a brand-new CAB file, add the Windows CE files, shortcuts and registry entries needed to install your application, and then save the new CAB file to disk.
Modify Cabinet Information
View and modify general information about the Windows CE CAB file, such as the name of the company and of the application, processor and operating system version required to run the application, and the default installation directory.
Modify Windows CE File Entries
The Windows CE files stored in a CAB file can be viewed and modified, and new files can be added. You can change the order in which the files will be installed, the location where each file will be installed, and more.
Modify Shortcut Entries
The shortcut entries stored in a CAB file can be viewed and modified, and new shortcuts can be added. You can change the location where each shortcut will be installed, the name and target of the shortcut, and more.
Modify Registry Entries
The registry entries stored in a CAB file can be viewed and modified, and new entries can be added.
Modify Setup DLL Information
You can view information about the Setup DLL included in a cabinet, or add a new Setup DLL to the cabinet.
Full Drag and Drop Support
Use your mouse to quickly and easily add and extract files between WinCE CAB Manager and any other application that supports "Drag and Drop", such as Windows Explorer.
Full Copy and Paste Support
Quickly and easily add and extract files between WinCE CAB Manager and any other application that supports "Copy and Paste" operations, such as Windows Explorer.
Import/Export Windows CE INF Files
Automatically generate and load CAB files from your existing Windows CE INF files, or use the WinCE CAB Manager to edit the CAB files and then generate an INF file for use with automated builds.
Automation Support
The WinCE CAB Manager exposes a COM Automation interface which allows it to be manipulated from other programs, such as Visual Basic or even VBScript.
Support for Third-Party "Add-Ins"
The WinCE CAB Manager functionality can be expanded through the use of COM-based "Add-Ins".