Hey guys,
If there's already a way to do this, please tell me; otherwise, this could be a suggestion for some genius to try his skills at.
A lot of developers don't provide .cab files to install their software directly to pocket pc. So when you're browsing the internet on your device and you find a program you want to try out, you have to download the .exe file to your pc and install it from there.
Now those .exe files usually do nothing more than putting some help files on your pc and copying the .cab to your pda. So the .cab file is contained somewhere within the .exe installer, possibly in some encoded form I guess, but it should be possible to extract it, right? That way you could install software on the go, regardless wether or not the developer offers a cab file to download.
I can only make this suggestion... actually programming it is not my cup of tea. The last time I did any programming I was 13 or something. It was the early nineties and I was trying to make my own OPL version of Mortal Kombat on a Psion Organiser II 64. Killer graphics, man. Unfortunately it never got beyond beta.
Good luck...
well most of the exe files you install to your pc using activesync are just selfextracting zip files and if you rename them to zip you can often open them and copy out the cab file you want
i dont think the market for an install script / program generator for pocketpc is big enough for people to spend too much time developing it
and they can be pretty complex if you look at wiseInstall master on pc which have a world of option and it's own programming langauge of sorts
Thanks, I'll try that out.
It's more or less as I thought: since every install program is its own decoder/unpacker/etc., the form in which they're encoded can be different for every type of installer, and it would be very hard to cater for all the types out there. Oh well... pity...
A lot of people use the Open Source installer:
ezsetup.exe
You will see this almost everywhere. Even MS use it, despite their scourge of Open Source. It takes a CAB file, adds an End User Licence, a ReadMe, and bundles together into a program which dumps it's output as a cab on the device, then installs the cab.
Since this is open source, you can see exactly how it works here:
http://www.spbsoftwarehouse.com/products/ezsetup/?en
I am sure it would be simple to write a version which just extracted the CAB file from an existing archive.
Ben
I finally got my ftp up and running. As promised, I have uploaded a slightly modified Vista backup for Acronis. It contains a preinstalled version of Office 2007. So, if you dont own Office 2007, please uninstall it
(Right-Click here and choose Save as...)
MyBackup.tib Slighty modified post-recovery Vista. Reg tweaks and Office 2007 (thanks to TokyoRob for providing the original)
Acronis will be back soon
RealVGA_11.CAB gives you real VGA under SnapVue
ResPack128dpi.ARM.CAB resolution pack for RealVGA
Recovery Partition Content.rar I guess the file name is meaning enough (thanks to devictoria for the upload, i know it was painful)**FIXED**
TabletPC_PatchXPproSP2.exe TabletPC patch for a non WINXP SP2 installation, can be applied at any time. Tested with English version only.
change_vista_language.iso Vista PE to change the language of any Vista installation, tested with HTC Shift.
Vista_x64_language_packs_links.html language pack needed for "change_vista_language.iso" (64bit)
Vista_x86_language_packs_links.html language pack needed for "change_vista_language.iso" (32bit)
WINMOUNT (tool to mount XVISTA.WIM) will be replaced with Microsofts WAIK (use ImageX.exe and command line)
http://www.microsoft.com/downloads/...6D-15F3-4284-9123-679830D629F2&displaylang=en
hdat2iso_4_6b1.zip boot image to use Hdat2, tool for SETMAX address and unhide HPA
hsect-2.1win32.zip POF's very loved HTC SHIFT EMBEDDED CONTROLLER TOOL
testdisk-6.9.dos.zip tool to unhide the recovery partition
Update 07/05/2008:
HTC Shift XP Drivers.rar added the Windows XP drivers and Vitakey package by febelus (http://forum.xda-developers.com/showthread.php?t=386492)
Update 07/23/2008
A-Patch140rc2b31_WLM.zip added to modify WindowsLive Messenger 8.5 (this enables you to save some desktop space when chatting)
Update 08/08/08 (nice date..should get married today)
Removed illegal content, such as Keygens, Crack and Serial. Trial versions should suffice. Added Windows Automated Installation Kit (WAIK) to alter the recovery partition content (license free).
The server is planned to be permanent, but only temporarily public. In one or 2 months, I will change the access to
ease my traffic. But until then, grab it while you can.
If anyone wants to add something (tools, different languages), please contact me for upload instructions. This ftp is planned to stay permanent.
https://phatpipez.homeftp.org/HTCShift/Shift/A-Patch140rc2b31_WLM.zip
Fingerprint_and_Omnipass.rar
HTC Shift DRIVER - Vista.zip
https://phatpipez.homeftp.org/HTCShift/Shift/MyBackup.tib
OrigamiExperiencePackv2.msi
Original WWE.rar --- original Windows Mobile rom for Shift.
https://phatpipez.homeftp.org/HTCShift/Shift/RealVGA_11.CAB
https://phatpipez.homeftp.org/HTCShift/Shift/Recovery Partition Content.rar
https://phatpipez.homeftp.org/HTCShift/Shift/testdisk-6.9.dos.zip
Aquasesh
I have tested the connection to my FTP... Its HTTPS, you have to install or allow the certificate in order to access my files.
Also, use Firefox or Opera to download. IE7 suffers from a HTTP Header error when accessing large files. ( i tried to fix it, but no luck)
Dont tell me its a nuisance to use FF or Opera instead of IE7.
If you really need / want those files, you should be willing to install one of those browsers...
I will UPDATE the files next Friday, any request, let me know.
Aquasesh
UPDATE 08/08/08
Windows Automated Installation Kit (WAIK)
This is used to create your own recovery partitions. You can slipstream updates, software and drivers.
It is license free and can be optained from the link in post #1.
To mount the XVista.wim from the Shift's recovery partition, locate the ImageX.exe in your programs folder.
(default =C:\Program Files\Windows AIK\Tools\x86\imagex.exe)
Copy the XVista.WIM to a location of your choice (preferably c and run the Imagex.exe in the Command Prompt.
First you have to find out which installation you want to mount. Usually Vista contains more than one installation
(Home, Home Premium, etc...) Each has a number.
In our case its easy, its only Vista Business, so we mount Number 1.
Type imagex.exe /mountrw c:\Xvista.wim 1 c:\Xvista
mountrw means read and write access
c:\Xvista.wim is the location you copied it....
1 is the image number within the archive
c:\Xvista is the mount path (can be anything you want)
The installation should now appear in Windows Explorer like a normal folder and you can modify its contents.
Recovery Image
With regards to the recovery partition restoration process;
The previously referenced instructions involve using a binary file to dd the image back to the disk.
When your RAR file is unarchived, it shows a directory structure with multiple files and one large WIM file.
What mechanism should one use to replicate the RAR contents to the recovery partition?
Thanks..
jposluns said:
With regards to the recovery partition restoration process;
The previously referenced instructions involve using a binary file to dd the image back to the disk.
When your RAR file is unarchived, it shows a directory structure with multiple files and one large WIM file.
What mechanism should one use to replicate the RAR contents to the recovery partition?
Thanks..
Click to expand...
Click to collapse
The binary file you are referring to is a result of a different recovery approach. You copy the hidden partition into a binary file and copy it back to its exact location on the hdd, later.
If you want to use my RAR file, you have to follow these instructions, to create an external boot media.
http://forum.xda-developers.com/showthread.php?t=393070
Thanks for the files. MyBackup.tib is not working(not able to download).
TRoN_1 said:
Thanks for the files. MyBackup.tib is not working(not able to download).
Click to expand...
Click to collapse
im not sure what the problem is in IE7. But with Opera and Firefox, the download works normal.(rightclick "save as")
I will try to see how I can fix it.
aquasesh said:
The binary file you are referring to is a result of a different recovery approach.
Click to expand...
Click to collapse
Not having access to a USB floppy, would anyone happen to have the binary file that is used with the dd method?
Thanks..
MyBackup.tib Slighty modified post-recovery Vista. Reg tweaks and Office 2007 (thanks to TokyoRob for providing the original)
Recovery_Partition_Content.rar I guess the file name is meaning enough (thanks to devictoria for the upload, i know it was painful)**FIXED**
Great files, thanks.
I can't download files above. The first one is about 278 MB long, corrupted after download. The second one is 0-length file. Would you please check it? Thank you for your time.
When I right-click and save as...
Internet Explorer cannot dowload MyBackup.tib.
The supplied HTTP header is invalid.
TRoN_1 said:
When I right-click and save as...
Internet Explorer cannot dowload MyBackup.tib.
The supplied HTTP header is invalid.
Click to expand...
Click to collapse
Please use Firefox or Opera to download it. I have some trouble with my
Server...but those browsers work
They also support resume, which is recommended with such large files.
@jposluns
you need a USB Stick, not a floppy. The image as well as the BIN file are about 3GB.
You can also burn the contents to a DVD if you make it bootable. I havent tried it yet, but should work.
aquasesh said:
you need a USB Stick, not a floppy. The image as well as the BIN file are about 3GB. You can also burn the contents to a DVD if you make it bootable. I havent tried it yet, but should work.
Click to expand...
Click to collapse
There is something critical that I'm missing here..
The instructions in the link you provided imply that the USB drive will be bootable, and that it is from there that the recovery will occur.
Your RAR file does not have an MBR, nor does it apparently have a tool to install one, so *something* would have to be used in order to install an MBR to the USB drive.
What is that *something* ?
Thanks..
jposluns said:
There is something critical that I'm missing here..
The instructions in the link you provided imply that the USB drive will be bootable, and that it is from there that the recovery will occur.
Your RAR file does not have an MBR, nor does it apparently have a tool to install one, so *something* would have to be used in order to install an MBR to the USB drive.
What is that *something* ?
Thanks..
Click to expand...
Click to collapse
To make it short, you have 3 choices.
Firstly, you wait until i create a bootable recovery ISO, which you can burn to a USB stick. (maybe on Friday, if I can make the time)
Secondly, you try to make one yourself.
Or, you simply download Acronis TI Home, install it on a PC, create a recovery bootdisk, which you can put on a USB stick and use Mybackup.tib from my ftp to restore the Shift.( I usually use this method, since I dont have to setup anything, and I have office 2007 integrated)
I will try to polish up the problems on my FTP coming weekend and add some more stuff, USB iso and so on.
If you can tell me what mechanism is used to make the MBR in the recovery partition, I can make an ISO myself.. I've tried a few different boot loaders, though none seem to work with the RAR contents.
Or.. If an Acronis image of JUST the MBR/Track0 for the recovery partition is available, that would be relatively simple too.
Worst case, I'll wait for your ISO.
Thanks for all your help!
jposluns said:
If you can tell me what mechanism is used to make the MBR in the recovery partition, I can make an ISO myself.. I've tried a few different boot loaders, though none seem to work with the RAR contents.
Or.. If an Acronis image of JUST the MBR/Track0 for the recovery partition is available, that would be relatively simple too.
Worst case, I'll wait for your ISO.
Thanks for all your help!
Click to expand...
Click to collapse
To make it a media bootable for a recovery, you need to use etfsboot.com
found in the folder /BOOT
Now, i have to find out which commandline parameter i have to use, which will take some trying out.
Worst case scenario, I can only make DVD bootable, but even that would be ok for most.
Working ISO.. Wish me luck..
I've just followed the instructions at http://www.mydigitallife.info/2007/05/10/how-to-make-vista-bootable-dvd-with-wim-downloaded-files/ to create an ISO file using the WIM files from your RAR.
UltraISO can then be used to image the ISO onto a USB stick (4Gb or greater).
I'm in the process of doing so right now and will test it tomorrow morning.
jposluns said:
I've just followed the instructions at http://www.mydigitallife.info/2007/05/10/how-to-make-vista-bootable-dvd-with-wim-downloaded-files/ to create an ISO file using the WIM files from your RAR.
UltraISO can then be used to image the ISO onto a USB stick (4Gb or greater).
I'm in the process of doing so right now and will test it tomorrow morning.
Click to expand...
Click to collapse
Looks like a good guide. Those seem like the right etfsboot parameters.
Im sure you can do it.
its basically the same way HTC does it, I guess the boot.wim contains the WindowsPE for the recovery.
Good Luck
Recovery Image was too big, please share it in eMule!
aquasesh said:
I finally got my ftp up and running. As promised, I have uploaded a slightly modified Vista backup for Acronis. It contains a preinstalled version of Office 2007. So, if you dont own Office 2007, please uninstall it
URL is https://phatpipez.homeftp.org/HTCShift
you will also find all the stuff i use on my shift, such as:
MyBackup.tib Slighty modified post-recovery Vista. Reg tweaks and Office 2007 (thanks to TokyoRob for providing the original)
Acronis True Image 11 Build 8053 Home.rar we all know this
MMSLite.bld265.CAB MMS addon, WM 5 and 6 for SOFTBANK ONLY
RealVGA_11.CAB gives you real VGA under SnapVue
ResPack128dpi.ARM.CAB resolution pack for RealVGA
Recovery_Partition_Content.rar I guess the file name is meaning enough (thanks to devictoria for the upload, i know it was painful)**FIXED**
TabletPC_PatchXPproSP2.exe TabletPC patch for a non WINXP SP2 installation, can be applied at any time. Tested with English version only.
UltraISO_Premium_Edition_v9.1.2.2465 can burn bootable image files to USB media
change_vista_language.iso Vista PE to change the language of any Vista installation, tested with HTC Shift.
Vista_x64_language_packs_links.html language pack needed for "change_vista_language.iso" (64bit)
Vista_x86_language_packs_links.html language pack needed for "change_vista_language.iso" (32bit)
WinMount.v2.2.2.rar tool to mount .WIM files. Such as XVISTA.WIM
hdat2iso_4_6b1.zip boot image to use Hdat2, tool for SETMAX address and unhide HPA
hsect-2.1win32.zip POF's very loved HTC SHIFT EMBEDDED CONTROLLER TOOL
ppxsetup2.rar PPXplorer for Windows Mobile. Good file commander.
testdisk-6.9.dos.zip tool to unhide the recovery partition
Update 07/05/2008:
HTC Shift XP Drivers.rar added the Windows XP drivers and Vitakey package by febelus (http://forum.xda-developers.com/showthread.php?t=386492)
The server is planned to be permanent, but only temporarily public. In one or 2 months, I will change the access to
ease my traffic. But until then, grab it while you can.
If anyone wants to add something (tools, different languages), please contact me for upload instructions. This ftp is planned to stay permanent.
Aquasesh
Click to expand...
Click to collapse
Hi aquasesh,
It is very difficult to download the recovery image with Firefox or IE, can you please share it in eMule, so that more Shift owners can download it share it.
Thanks in advance.
szjohnwong said:
Hi aquasesh,
It is very difficult to download the recovery image with Firefox or IE, can you please share it in eMule, so that more Shift owners can download it share it.
Thanks in advance.
Click to expand...
Click to collapse
I dont think sharing it in Emule is better than using Firefox.
I dont understand how it can be difficult to download it via a different
browser...Its just the same as IE
you just install opera or FF and rightclick the file you want...then choose "save as"....
Besides, sharing it in Emule is too slow, it will take ages to download it.
jposluns said:
I've just followed the instructions at http://www.mydigitallife.info/2007/05/10/how-to-make-vista-bootable-dvd-with-wim-downloaded-files/ to create an ISO file using the WIM files from your RAR. UltraISO can then be used to image the ISO onto a USB stick (4Gb or greater).
Click to expand...
Click to collapse
Update: An ISO was built, though when I imaged it to USB and booted off of it, an error of "can't find HP WIM files" resulted. I believe that the version of the <surrounding files exe> that I used was specific to HP, and there are a few more WIM files it's expecting. I've downloaded another variant and have it building an ISO now.
I installed Opera and when I right-click and save as, it downloads and says it saved the file. I did this 3 times in 3 different folders (I aborted once), but the files is nowhere to be found. In Opera under Transfers tab it says:
From https//phatpipez.homeftp.org
To D:\MyBackup.tib
Size 4.3 GB(4,576,253,952)
Transfered 4.3 GB(4,576,253,952)
The file is NOT there. I don't get it
Hi,
Can anyone help please. I have tried using both winzip & winrar to unpack CAB files, but they seem to be unpacked as HTML docs. If I click to run, takes me to html code page on the web.
you dont need to unzip the .cab files on your computer.
You just put the .cab file on your phone then "open" it on your phone. Thats how the .cab file runs.
It's kind of like an .exe file on your phone
Yeah - a cab file is an installer, similar to msi files on your PC. There's XML files in there that define what to do with the rest of the files in there.
if you want to see whats inside a cab file on your pc then use msceinf .. its free and very effective.
that way you can see what folders a cab sets up. extract what files it has, and tue registry too.
Thank you guys - downloaded a small cab and opened on device. Works fine.
Feel a bit naff for tearing my hair out over such a simple thing.
Now I'm going to try and find that msceinf as mentioned by fards.
thanks again.
I am trying to replace the default icons and skin inside the coreplayer.exe with res hacker but reshacker told me that the coreplayer.exe was created with a EXE decompressor and now I don't know how to deal with this,I need your help,thx...
Sure dude, you've come to the right place. Its packed using UPX !
Sure dude, you've come to the right place Its packed using UPX !
Simple
UPX4PPC
UPX4PPC is a utility for you to compress & optimize EXE/DLL files, just like the desktop PC version.
Our machines have few memory and we are always trying to save the RAM. This program helps you in this task, but it is reserved to power users. It allows to compress up to 40% any EXE or DLL file and, better, the consequence is an improvement in performance.
Attention: do not forget to make a backup copy of the original file. Sometimes, the compressed file just do not work and you need to put the original back in place. For instance, you cannot compress the PocketInformant EXE file.
Despite this warning, it is a very good solution to save RAM.
o/~