Log in

View Full Version : PHM PowerToys Version 0.15 Released


Steven Cedrone
02-11-2004, 09:00 PM
<div class='os_post_top_link'><a href='http://www.phm.lu/Products/PocketPC/PowerToys/' target='_blank'>http://www.phm.lu/Products/PocketPC/PowerToys/</a><br /><br /></div>Here's a great collection of applets that just keep getting better! Philippe Majerus has just updated his PHM PowerToys to include two new ones:<br /><br />• TaskMan: enables you to switch to, close, and kill applications. <br />• TrayLaunch: allows you to add icons to the Today screen notification area. <br /><br />In addition, he has updated several existing tools, including My Documents, AutoPlay, Alt-F4 and Alt-Tab. <br /><br /><img src="http://www.pocketpcthoughts.com/images/web/2003/Cedrone-20040211-PowerToys.jpg" /> <br /><br />Here is the best part about the PHM PowerToys: they are free! You can download them <a href="http://www.phm.lu/Products/PocketPC/PowerToys/download.asp">here</a>.

Steven Cedrone
02-12-2004, 02:29 AM
I do like the TrayLaunch PowerToy! So what was the first app I loaded there you ask? The Reset PowerToy, of course! Right behind that, the shortcut for Resco File Explorer...

http://home.comcast.net/~cedrones/today.jpg

ctmagnus
02-12-2004, 02:36 AM
8O You need to do a backup!

Floodguy
02-12-2004, 03:47 AM
Hi Steven,

that skins looks great!
What the name of the skin application and where can I get it?
:D

Steven Cedrone
02-12-2004, 04:05 AM
8O You need to do a backup!

Well, I recently went through some problems with having to hard reset my Pocket PC quite a few times. I went back to a known good Sprite backup. The system was restored yesterday, but it still picks up the backup date. How did I know someone was going to comment on that? :wink:

Steve

Steven Cedrone
02-12-2004, 04:08 AM
Hi Steven,

that skins looks great!
What the name of the skin application and where can I get it?
:D

The top and bottom bars are skinned with Wisbar Advance. (http://www.lakeridgesoftware.com/wisbar/) The skin is one of LightMan's, it's called "Attraction" (http://www.lightman.pdahit.com/)

Steve

christak
02-12-2004, 05:35 AM
Is there a way to only load the TrayLaunch powertoy without the rest of the toys??

lazerin
02-12-2004, 01:56 PM
Is there a way to only load the TrayLaunch powertoy without the rest of the toys??

I'd like to know also. It'd be great if it was possible.

Steven Cedrone
02-12-2004, 02:44 PM
Currently, there is no way to load the PowerToys as individual apps. But since I'm not 100% sure, I emailed PHM for confirmation.

Steve

lazerin
02-12-2004, 04:08 PM
When I try to install it on my 4150, it gives this error message:

---------------------------
Unsupported Device Type
---------------------------
PHM Windows CE PowerToys does not support the connected device type. Application Manager will make the application available for installation when a supported device type is connected.
---------------------------
OK
---------------------------

:?:

Steven Cedrone
02-12-2004, 04:17 PM
When I try to install it on my 4150, it gives this error message:

---------------------------
Unsupported Device Type
---------------------------
PHM Windows CE PowerToys does not support the connected device type. Application Manager will make the application available for installation when a supported device type is connected.
---------------------------
OK
---------------------------

:?:

According to the site: "If you use the MSI package, you will get an "unsupported platform" warning on the desktop during the installation, this is normal, because the package contains Pocket PC and Windows CE edition, one will be discarded and the other will be installed, depending on your connected device"

Check to see if it did, in fact, install!

Steve

lazerin
02-12-2004, 04:21 PM
Yes it did indeed work :-)

The work around for installing just individual items is to install the whole lot on the first go, then copy the *.exe that are relevant to what you want somewhere else, uninstall it, then use the *.exe files.

PhMajerus
02-12-2004, 06:47 PM
I decided to make a single package after thinking about the pros and cons of both solutions, single package for all or separate package for each...
The problem is that most of these tools are very small, and need some installation/uninstallation logic, if I separate them in different packages, someone who install nearly all of them would spend more than twice the memory, because much of the installation logic will be duplicated in each package (and that must stay on the device, in \Windows\AppMgr\).
Also, some features are smaller when packaged together, the next version will have a single DLL to manage the 3 input methods, I compared the file size and it makes it about half the size for the same features!
Unfortunately, it is not technically possible to do like on XP and get a treeview of the components to install or not in a single package, except by providing them as separate packages and thus eating more memory on the device for most users (or by providing a lot of features in the installation DLL, but again, that stays on the device and would end up in more memory than if you just left all the items installed).

It is however very easy to remove an item you do not need or want, this is one of the reasons why I though that having them all in a single package is not such a big issue, power users can easily remove what they don't want.
All you need to remember is that some of them requires extra care before deleting the files.

Note that I do NOT recommand to do the other way, as extracting the files you want from the CAB or installing it, backing up the files and uninstalling it, as both would lead to some items running without the cleanup code included in the CAB for uninstallation, tools like AutoPlay register with the system when you enable it, if you delete the file without the cleanup code, the system might be looking for the exe even after you deleted it, the uninstall procedure calls the cleanup code contained in a DLL to take care of all these.

COM (Component Object Model) based components can not be deleted as it, as they are registered in the system for consumer applications, at this time this is only the 3 SIP components (note that starting with the next version, the 3 SIP will be inside a single DLL, thus registered/unregistered as one).
To delete these, you first need to unregister them, which is pretty easy if you have the regsvrce (COM registration/unregistration tool) installed on your device, as all of them includes the required logic needed for a clean uninstall.
All you need to do is call "regsvrce /u [filename]" to unregister it and then you can delete the file (note the SIP will be removed from the input method list immediately after unregistering the component, you can verify if it's correctly unregistered by looking at your input methods menu.
Regsvrce also includes a GUI if you run it without parameters.
Note that you might need to soft reset for the operating system to unlock SIP files after you've used them.
Let me know if you need the regsvrce.exe tool from the SDK (might not be in ROM).

Some components are registered in the Notification database (aka Scheduled tasks):
- AutoPlay
AutoPlay is registered to run on hardware changes only if enabled, you can unregister it by unchecking the "Enable AutoPlay" checkbox in AutoPlay itself, or by deleting its entry using the Scheduled Tasks settings applet.
- Screensaver
Screensaver is a bit more tricky, as what it will do is register itself when ran so that it can shut down if you turn the device off and on again, so you should never end in a state where your screen is on with screensaver being registered, just remember not to delete its file using your connected PC while it's actually in use on the Pocket PC, again you can simply use Scheduled Tasks applet to delete any registration at anytime.

Somes creates shortcuts in your Windows StartUp folder:
- TrayLaunch
When enabled, a shortcut is created in the StartUp folder to be automatically loaded after soft resets, you can simply clear the "Enable TrayLaunch" checkbox and tap (ok), or delete the shortcut manually.


Note that you can also prevent a SIP from being displayed without unregistering it by searching the registry in the HKEY_CLASSES_ROOT\CLSID\ key for "IsSIPInputMethod" keys, then changing the Default value from 1 to 0 for the ones you don't want to be displayed. This procedure will be required if you want to disable only some of the 3 SIPs in next release, as they register/unregister as a whole.

Except for this, you can simply delete the files you don't want.
<pre>
Application folder (\Program Files\PHM Tools\) ---->
- Alt-F4 AltF4.exe
- Alt-Tab AltTab.exe
- My Documents mydocs.exe
- Notepad notepad.exe
- Reset Reset.exe
- Run Run.exe
- Screensaver Scrsaver.exe
- Suspend Suspend.exe
- TaskMan TaskMan.exe
- Today Today.exe
- TrayLaunch TrayLnch.exe
Windows folder (\Windows\) ---->
- AutoPlay PHMAtPly.exe
- Admin. Tools PHMATSF.cpl
- Databases PHMCEDB.cpl
- Fonts PHMFonts.cpl
- Scheduled Tasks PHMNtfy.cpl
- PHMShell32.dll PHMShell32.dll (+ icon.lnk files in customized folders)
- Charmap PHMCMSIP.dll (PHMPTSIP.dll in next release)
- Clipboard Pane PHMCBSIP.dll (PHMPTSIP.dll in next release)
- Ext. Keyboard PHMEKSIP.dll (PHMPTSIP.dll in next release)
</pre>