Where WM loads programs? - General Topics

I know the \Windows\StartUp folder. Where is the entry in registry?
I'm trying to remove a program (in ROM) from auto starting.
Thanks and happy new year!
Update: well I still don't know the answer but I figured out a simple way to get rid of anything I want to. I create an empty file, say, quickgps.exe and use it to replace the one in the ROM. First thing first, I make a copy from the ROM just in case I need to run it manually.

Related

Pocket PC 8125 General Program installation questions

OK, bought a new Cingulr 8125, but am confused on how to install programs,and ware to install them. I had a Treo650 for long time and all I had to do was use palm one quick install and drop in the .prc files. I'm sure it's simple but need that first timer directions and I should be all set. My 1Gb card comes in Friday(forgot to order card with mda two days ago) so I will be all set. Thanks
Edit/Delete Message
There's a couple of ways to install apps. First and probably easiest is to install ActiveSync on the desktop, connect the phone up to and once they're connected and assuming a given app has an installer application, you run that on the desktop and it takes care of the details. After that you generally ok the install on the device and it installs.
Another way to install it to get the cab file for an app, copy it to an SD card, pop it into the phone, bring up file manager and nav to the folder, then click on the cab file. A lot of apps (but nowhere near all of them) let you download either an exe or a cab so it's your choice. Clicking the cab file sets the process in motion and, again, you have to "ok" the install and it installs onto the device. NOTE that, at the end of the install process, the cab file is deleted unless you've poked the registry into doing otherwise. That's not the default, however, so make sure you have another copy of the cab file somewhere.
Thanks for the info. I like the first way, it sounds easy. Im going to start with Weatherpanel friday after I get my SD card. I read most of the program will go on the card to take up the least space in the ram. I'm excited to try my first install, I will be looking for fed X truck. Thanks again, now I can get some shut eye tonight knowing how to do this....

Modify WM5 behaviour.

I would like to modify my PDA behaviour:
1- Change the welcome screen during boot and place a personal one.
2- Modify the menĂ¹ i see on the desktop, such as menĂ¹ entries like MSN pocket PC etc...
3- Eliminate cprog.exe from startup, i don't want it, i would like to start my own application instead.
Do i need to manipulate the ROM/registry for these modifications?
If yes, about ROM i'm almost a noob yet, is there any tutorial/start up guide?
Thanks.
With my psychic power, I'm gathering all the information about your phone... and giving you the following answers..
1. Search (forum and wiki) on how to modify your splash screen
2. Read the manual
3. Remove it from the \Windows\Start up ?
No
hanmin said:
With my psychic power, I'm gathering all the information about your phone... and giving you the following answers..
1. Search (forum and wiki) on how to modify your splash screen
2. Read the manual
3. Remove it from the \Windows\Start up ?
No
Click to expand...
Click to collapse
Uhm.. i think cprog.exe resides in ROM :-| how could i remove it and their icons
like signal quality ? I can't remove cprog.exe from the windows directory and it's lnk
doesn't appear inside \Windows\start up
Thx.
At least...
If i can't remove cprog.exe, at least i would like to remove the signal quality icon on the top right of the screen and the warning balloon coming from cprog.exe. Or... is there a way to cover all the screen (also the taskbar) with my application GUI?
Thx.
If you can make a dummy exe and have it named cprog.exe, just copy it over. When the OS saw that there is a file with the same name in the storage (and also one in ROM), the OS will launch the one in storage instead of the ROM. Now, it is a matter of getting a dummy EXE.
Just incase, backup your system first.
Thx for help...
Are you sure i can overwrite cprog.exe inside \Windows directory?
I cannot move/copy or delete it. The OS is saying i cannot copy
file and resources present in ROM :|.
How do i backup my system, if i overwrite it, how i get it back?
First, backup. Use backup software such as SPB Backup your system. If things went seriously wrong, you will hardreset your phone, and use the backup EXE file to restore your phone. Just make sure you backup before modifying.
You can use software such as Total Commander for PPC to over write the EXE. I'm very sure (been there, done that) it can over write (cover up) files in ROM, but I'm not sure if it is possible to write over an EXE that is currently running. Try your luck. To recover the overwritten (e.g. original) EXE, just delete it (e.g. delete the new, modified EXE) to expose the original EXE inside the ROM.
There should be no problem overwriting a ROM exe once even if its running. The change will simply not take effect until you reset the device.
To disable it though, you will have to rename the exe first (you will not be able to delete your copy while it is running) then reset so the original will be called instead.
And just to make it clear: you will not overwrite anything. A copy of the file will be created in your storage memory. The original system file will remain as it is, it will simply be "hidden" until you remove your copy.
The backup hanmin suggested is for your data and installed apps. If you are still at the stage were you are experimenting with the phone and don't mind getting it back to factory settings if something goes wrong you can skip it.
What you should investigate though is the notification system. It is somewhere there that cprog.exe is triggered in the first place and if you want your app to pop up instead on incoming call you will most likely have to register a notification for it.
(Though I do not have much experience with TAPI, so I am not really sure about this)
What I do know for a fact is that opening a full screen window (covering both top and bottom bars) is very easy:
Right after the window is created (not in WM_CREATE handler) call SHFullScreen API.
hanmin said:
First, backup. Use backup software such as SPB Backup your system. If things went seriously wrong, you will hardreset your phone, and use the backup EXE file to restore your phone. Just make sure you backup before modifying.
You can use software such as Total Commander for PPC to over write the EXE. I'm very sure (been there, done that) it can over write (cover up) files in ROM, but I'm not sure if it is possible to write over an EXE that is currently running. Try your luck. To recover the overwritten (e.g. original) EXE, just delete it (e.g. delete the new, modified EXE) to expose the original EXE inside the ROM.
Click to expand...
Click to collapse
Thanks, it worked fine, i've just built a dummy exe with a little main returning 0 immediately. And when services.exe starts it, it just returns 0.
I suppose if i hard reset my device cprog become the original.
What kind of APIs should i call to customize taskbar look and feel?
levenum said:
There should be no problem overwriting a ROM exe once even if its running. The change will simply not take effect until you reset the device.
To disable it though, you will have to rename the exe first (you will not be able to delete your copy while it is running) then reset so the original will be called instead.
And just to make it clear: you will not overwrite anything. A copy of the file will be created in your storage memory. The original system file will remain as it is, it will simply be "hidden" until you remove your copy.
The backup hanmin suggested is for your data and installed apps. If you are still at the stage were you are experimenting with the phone and don't mind getting it back to factory settings if something goes wrong you can skip it.
What you should investigate though is the notification system. It is somewhere there that cprog.exe is triggered in the first place and if you want your app to pop up instead on incoming call you will most likely have to register a notification for it.
(Though I do not have much experience with TAPI, so I am not really sure about this)
What I do know for a fact is that opening a full screen window (covering both top and bottom bars) is very easy:
Right after the window is created (not in WM_CREATE handler) call SHFullScreen API.
Click to expand...
Click to collapse
Thank you for help.
I'm just dealing with cprog.exe becouse it is dropping the data call i make using RIL api. This happens becouse cprog.exe is taking the ownership of the call through TAPI, so since there is no other application using TAPI, cprog.exe believes it's the only owner so it just drops the call. Since i'm not using TAPI but RIL i cannot claim for the call ownership while answering the call. The process cprog.exe gives problems only for answering incoming calls.
The only solution i found is to kill cprog.exe or just replace it with a dummy exe as explained here. That's why i was asking for it. Now my RIL application works fine and i don't need to kill cprog.exe/TSP anymore within my code. I'm forced to use RIL instead of TAPI becouse TAPI doesn't expose some bearer options i can set through RIL.
Bye.
Here is the article abut customizing the taskbar. Unfortunately, as far as I know there are no APIs to deal with it (short of sticking an annoying notification icon there), you have to replace the whole thing or whatever parts of it you do not like with a child window (see LVMTime and LVMTopBat).
levenum said:
Here is the article abut customizing the taskbar. Unfortunately, as far as I know there are no APIs to deal with it (short of sticking an annoying notification icon there), you have to replace the whole thing or whatever parts of it you do not like with a child window (see LVMTime and LVMTopBat).
Click to expand...
Click to collapse
Thanks a lot.

Create a new program

Ok, I realize that this can probably all be figured out via a search, but I don't even know where to start.
I want to create a new "program", something that will show up in the "programs" folder when you are trying to set up a shortcut in HTC today.
All I want this program to do is delete a file then launch a different program. Any one care to start steering me in the right direction?

can CECabManager do this?

With the 6.5 rom's coming out, I'm finding that I have to re-arrange my start menu everytime I flash. I'm aware of re-start, but it's a bit, primitive, for what I want to do. I'm wondering if CECabManager can create a cab that will simply MOVE files from one directory to another, even if that means creating a directory to place some files in. Basically, a fast and easy way to clean up my start menu the way I like it. Any help is appreciated.
A common cab can not do this, in my knowledge if you want a cab do this, that cab must contain a setup.dll, which can execute some commands before/after the install/uninstall. And seems it is not easy to make a setup.dll except you can use c++ computer language.
Otherwise a cab can only: Copy files, create/overrwrite registry and create shortcut.
As fa as I know, XDA_UC can do this. Check here:
[UC]XDA_UC V1.0.02, Automated & Silent User & Cook, Configuration Service[12/07/09]
Please do correct me if anything wrong.
I actually use a cab to install my start menu, but I cook my own roms. I think it's going to be harder to do if you're flashing different roms-you won't know beforehand all the shortcuts that you need. You could probably write a mortscript that deleted everything in the start menu, and then install what you want with a cab, but I have a feeling that you'll miss a bunch of apps that are cooked in, and maybe include dead shortcuts.
Sashimi is another good way to insert a new start menu directory.
hmm. guess I'll stick with what I know for now. Thanks guys.

Need a Little Help with Understanding ROM Extract

Hi All,
I need a little help in understanding something, either by explaination, or by directing me toa webpage, but everything I found really doesnt explain it.
I used 3 tools to extract a HTC ROM Leo, I used: NBHExtract, IMGFS utility (NBSpilt etc.) then used Package-tool to create the folders OEM and SYS, and now I'm stuck.
What I want to know is how do i go about making a cab file of something so I can install it? for example like the Messaging App. In the OEM folder it has two folders, one says for ex: HTCMessaging, the other says the same thing with .0409 on the end.
How would I go about being able to cab the messaging system files, registry etc, and cab it?
Thanks a million for any help.
Anyone? Or did I post in the wrong forum?
<Bump> sorry but I am still searching, I have been reading and reading for the last 12 hours and nothing is pointing me to a solution, let me clarify one thing. I am not wanting to know how to make a cab file, I know how to do that.
What I am trying to find out is how does one go about sorting in the example the HTC Messaging App and all the files needed to be installed into a cab, obviously 2 folders doesnt complete it, I know that possibly contacts, and appointments apps have to be put into the cab, but How would I go about finding out all the files needed to the appointment app, all the files needed for the contact app, and all the files needed for the Messaging App, so I could cab them individually and install them to test on a spare TP2 phone, I am not trying to flash it. I want to cab it so if it doesnt work or is unstable, I can uninstall it from the remove programs.
Anyone? I even tried New Visual Kitchen, but it crashes during the building of packages after the extraction process of the ROM.

Categories

Resources