PuTTY on my Windows Mobile 6 SmartPhone
>> nederlandse versie <<
I take no credit for the story below. All I did, was combine the documentation on to web pages with an application on 2 other web pages.
The application is PuTTY, or PocketPuTTY to be more precise.
The documentation consists of this page and this page.
For anything you read here, there is absolutely no warranty, as usual. Everything you do, you do at your own risk.
I did this on Windows Vista Home Premium. My SmartPhone runs Windows Mobile 6. The PocketPuTTY version I used, was the 2007-02-28 dev build for WM2003.
I use the dutch version of both Windows Vista and Windows Mobile, so I may be off with some translations. If I am, please let me know.
I add nothing to PocketPuTTY. All I do is make sure PuTTY, like other installed applications, is listed under Programs, and that I can uninstall PocketPuTTY through Settings -> System -> Remove programs.
I bought me a SmartPhone. It's a shame the thing runs Windows Mobile, but that shouldn't mean I should expect nothing useful from it.
So I wanted to run PuTTY on it.
After some searching I found PocketPuTTY. PocketPuTTY can be copied to My Documents, and when you select it, PuTTY starts (actually just like on a 'regular' Windows machine). Great. Works like a charm. I can login to my server and do my thing.
It's just a pitty I have to open Explorer, go to My Documents, and select a file there... All other applications can be found under Programs, and I want to find PuTTY there, too.
After some searching, I have found a solution: if I install a .cab, this .cab will make sure the aplication is installed in the correct place and the register is updated.
The only problem is that there are no .cabs available for PocketPuTTY. So I'll have to create one myself...
Some more searching brings me to this page and that's all I need: if I download Cabwiz.exe and write a .inf file, I'm there.
So I download Cabwiz.exe and the files that come with it, and I download the latest zip for PocketPuTTY, from which I extract putty.exe.
I copy all these files to a directory of their own, and if the documentation is correct, all I need to do now is write an .inf file...
This is the file I come up with (putty.inf):
[Version] Signature = "$Windows NT$" Provider = "Nerdstock.org" CESignature = "$Windows CE$" [CEStrings] AppName = "PocketPuTTY" InstallDir = %CE1%\%AppName% [SourceDisksNames] 1 = ,"Managed",, [SourceDisksFiles] putty.exe = 1 [DefaultInstall] CopyFiles = CopyToProgramFiles AddReg = RegData CEShortcuts = Shortcuts [DestinationDirs] CopyToProgramFiles = 0, %InstallDir% Shortcuts = 0, %CE11% [CopyToProgramFiles] "putty.exe", putty.exe [RegData] HKCU,Software\%AppName%,MajorVersion,0x00010001,1 HKCU,Software\%AppName%,MinorVersion,0x00010001,0 [Shortcuts] %AppName%,0,putty.exe
And appearantly all I have to do now, is drag putty.inf onto Cabwiz.exe, and I'm done.
And that's correct: when I drag putty.inf onto Cabwiz.exe a .cab is created.
When I copy this putty.CAB to My Documents on the SmartPhone, then find it on the phone and click it, my phone asks me whether I'd like to install this application. When I select 'Yes', PuTTY is installed and PocketPuTTY can be found under Programs. I can now also add it to my menu (Settings -> Menus) and I can even attach a software key (Settings -> Personal -> Software Key) or hardware key (Settings -> Personal -> Buttons) to it.
If I'd ever wish to uninstall it again, I would do it through Settings -> System -> Remove Programs.
If I knew how to make screenshots on my phone, I'd attach one, but I'll have to leave that to your imagination.
I've taken the liberty to name this application 'Nerdstock.org PocketPuTTY' in the example above. This is only done to illustrate that the PuTTY and PocketPuTTY were not involved in the writing of this text.
And if you don't feel like following the steps I describe above, but you still want to install the .cab, you can download it here.
Permission is hereby granted to the PuTTY and PocketPuTTY developers to use this tekst as they see fit.
| Reacties zijn welkom: rob[at]nerdstock.org |
![]() http://creativecommons.org/licenses/by-nc-sa/3.0/nl/deed.nl |