cab file issue - Touch Pro, Fuze ROM Development

So why when I load a file like glaxon or the alarm clock on my windows machine its not a cab file its another type of file. When I go to open it, its in internet explorer and its a bunch of text.
When save it on my MAC it is a .cab file...
Am I doing something wrong?

Well, I'm sure you know that you're not supposed to run PPC cab files from the pc.
But normally, cabs are associated with winrar or programs of that sort on an XP/Vista machine.
Anyway, just copy the cab to PPC and see if it installs ok or not.

fireblade63 said:
Well, I'm sure you know that you're not supposed to run PPC cab files from the pc.
But normally, cabs are associated with winrar or programs of that sort on an XP/Vista machine.
Anyway, just copy the cab to PPC and see if it installs ok or not.
Click to expand...
Click to collapse
They are not even cab files is the problem....

Related

Make install CAB to run file

I am continuing the search for the holy grail that is a perfect self-installing and configuring hard reset. I have edited my ext ROM and config to work ok but now i am trying to make my own CAB file using WinCE Cab Manager.
Whilst I have succesfully created CAB files to change registry settings I am unable to create a CAB file that will install files to the pda AND THEN RUN them. The files are copied to the pda but I cannot find a way to automatically run one of them once copied.
Can anyone offer any advice?
Many thanks,
Coj
if the file name and destination are predefined ... why don't you use the normal EXEC command just after the CAB command in the Config.txt
ex:
CAB: \Extended ROM\<File.cab>
EXEC: \<Dir>\<File.ext>
cojones,
this link is very usefull for CAB file building.
http://www.codeproject.com/ce/pocketpc_deploy.asp
the essence of the CAB file is the .INF .
this link show's you how to make one.
they refer to cabwiz, but you can use the .inf in WinCE Cab Manager.
Thanks for your help chaps, I've knocked valuable minutes off my hard resets.
Now just got to sort out a "script" for applying program settings and reg keys...the quest continues!
Coj

Extracting cabfiles from software I have??

I have been reading lots of posts on the forum and got so far but now I'm stuck.
I have an XDAII and have managed to unlock and unhide the extended rom. now I can access the extended rom while XDAII is in the cradle.
I understand how I can add cab files to it and will be using the configcreator tool to edit the config.txt file.
The problem I have is; all the pockekpc software I have, is on my computer and I have only ever installed it through activesync the normal or official way. When ever I have tried to put the files directly on my phone and click on them I always get the messeage this is not a valid pocket pc application..... or something like that.
So how do I convert the software files I have on my computer to cab files so I can include them in the extended rom? :shock: ? :?:
To most of you guys this must seem like a nuby question sorry :roll: , but I can't seem to find the answer on the forum.....
Is there a tool I can use or a program that I can use to make useable cab files?
Also just a though when I install programs via activesync does my computer convert the files to cabfiles and then automatically transfer them to my device? if so can I somehow copy the cabfiles from the temporary location on my computer :?:
A step by step guide would be helpfull but any help would be appreciated :?
Thanks in advance
Daz
Some 'high-end' software will leave a copy of their cab files on a specific directory (i.e. you have a choice of choosing). Those you can just go to the directory and copy it. If you do not know what I'm talking here, nevermind
Anyway, for normal simple software, they will most probably extract themselves to temporary directory. Example
C:\Documents and Settings\'yourWindowsUserName'\Local Settings\Temp\
where 'yourWindowsUserName' is your username for the PC. My guess would be, try to search for *.cab files in your temp directory (i.e. as the above dir) before you install your software. THEN, start your software installation, and do a search again on the 1st setup screen, see if you are lucky And try to do another search after you're done with the setup.
Hope this helps.
Thanks for that I'll have a go.
Daz
I managed to edit my extended rom! 8)
I was able to add the cab files from tom tom navigator 3 and it installs them perfectly after a hard reset!
The only issue I have, when I run Tom tom for the first time after a hard reset I have to keep entering the activation code. Not really a major issue more of a pain.
Wonder if anyone knows how to get it to enter the activation code automatically :?: Bat file or something :?:
This sites really helped me with my tinkering I think its about time to donate
Thanks for all the help guys
Daz
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Re: adobe reader
doortodoorsalesman said:
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Click to expand...
Click to collapse
Hi :
Here after what I do with succes :
When installing the application from ActSync, you must select "Storage Card" instead deffault location to install.
Then, you have to cancel the installation process before the progress bar on your PPC's screen ends.
A dialog box will ask if you're sure to abort the process.
At this stage, you go to storage card throught your PC Explorer, and you'll find the cab file there.
You save it away.
This cab file on the storaqe card will be automatically removed when you confirm that you really want cancel the installation process on the PPC's screen.
Or...
Go to c:\Program Files\Microsoft ActiveSync folder in your desktop and you can find there more cabs. Or simply find all the *.cab files on your HDD and you'll be surprised.
Thanks for this I will check out both methods
Does anyone know what the best freeware tool for modifying the cabfile is? and where I can download it :?:
Thanks for the help
DAZ
...
I think,that everyone here knows only WinCE Cab Manager from OCP Software. But this is commercial,but...on internet is everything...

Locations of files for packages

I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Dravor said:
I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Click to expand...
Click to collapse
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
dcd1182 said:
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
Click to expand...
Click to collapse
Ok that's fine. At least that makes sense, and backs up what I've seen working with initflashfiles. I'm somewhat suprised Microsoft has not put out a workaround for this.
Thanks,
Dravor

Is there a way I can turn a setup.exe into a .cab file? Any auto install program?

Is there a way I can turn a PPC setup.exe into a .cab file?
Is there any software out there for the WM6 that you can put a bunch of cab files in a folder and it will auto install them all…so I don’t have to do them one by one?
visual studio 2005 & 2008 have a cab maker tool included. It does not require the source files to be created with studio...
Copy
Setup applications that run on your desktop PC simply copy the appropriate cab file to your device. You can extract the cab from the exe. You can also run the exe on your computer, and during the install process the cab will be transfered to another folder on your computer before transferring to your PPC. It is usually in Program Files/Microsoft Activesync/*App folder*, but sometimes it varies. Search your PC for .cab files and you should be able to find it.
There are programs like TAutoInstall (or something like that), SDAutoRun, and maybe one or two others that will run a series of cab files at first boot. You can probably find some discussion of Tautoinstall on PPCGeeks (edit: or try here). Search for threads by Tiermann. It might do what you're looking for.
WinCE Cab Manager is a powerful cab creation tool as well. You might be able to package multiple cabs within a single cab using it. Not sure, never tried. Good luck.
I have been using the activesync method of getting the cab and it works great.
serfboreds said:
I have been using the activesync method of getting the cab and it works great.
Click to expand...
Click to collapse
Hows that?
Program Files/Microsoft Activesync/*App folder*
Click to expand...
Click to collapse
this is the location for the cabs * this is what he's talking about
Copy
So if i dont have my phone hooked up, and i a run exe file, it will create a cab file and place it "Program Files/Microsoft Activesync/*App folder* " and then i just have to go to that folder and copy the cab file?
highflyin128 said:
So if i dont have my phone hooked up, and i a run exe file, it will create a cab file and place it "Program Files/Microsoft Activesync/*App folder* " and then i just have to go to that folder and copy the cab file?
Click to expand...
Click to collapse
No, once you install the executable to your phone (using .exe) the first time, it will drop the cab in the "Program Files/Microsoft Activesync/*App folder*" for future use.
I used to use Tools-add/remove programs within activesync to reinstall these programs that were only .exe, but I learned recently that you could go into the folder above after first install and get the cabs that activesync extracts to accomplish this add/remove feature.
serfboreds said:
No, once you install the executable to your phone (using .exe) the first time, it will drop the cab in the "Program Files/Microsoft Activesync/*App folder*" for future use.
I used to use Tools-add/remove programs within activesync to reinstall these programs that were only .exe, but I learned recently that you could go into the folder above after first install and get the cabs that activesync extracts to accomplish this add/remove feature.
Click to expand...
Click to collapse
I'm running Window Mobile 6.1 and Vista64bit, i dont have a "Program Files/Microsoft Activesync/*App "
Probably different on Vista/WMDC.
Do a search on your computer for .cab files.
highflyin128 said:
Is there a way I can turn a PPC setup.exe into a .cab file?
Is there any software out there for the WM6 that you can put a bunch of cab files in a folder and it will auto install them all…so I don’t have to do them one by one?
Click to expand...
Click to collapse
You should look into Sashimi... it's pretty cool you can just drop the cab files in a directory and it auto installs all of 'em... also has the ability to execute EXEs, REG files, Copy files to root of device, run MortScripts, and xml files too... all part of an automated process.. you click go after a hard reset and it is on its way!
Another nice thing I like about it vs the sdconfig autoinstallers is there is really no maintenance to scripts/etc once you update your software.. all you do is manage the files in a directory structure which is as easy as copy and paste of the cab/etc.
http://forum.xda-developers.com/showthread.php?t=392983
I have searched for the .cab and cant find anywhere that Windows Mobile Device Manger puts them
You can also try extracting the cabs directly from the exe. Use a program like WinRAR to open the exe. There will often be multiple cabs for various WM versions (ie 2003, WM5, WM6, etc), and they are usually not named very desciptively, so a little trial and error will probably be necessary.
WinRar seems to extract the exe's and give me the cabs....THANKS ALOT
This Thread Can Be Closed
Zenoran said:
You should look into Sashimi... it's pretty cool you can just drop the cab files in a directory and it auto installs all of 'em... also has the ability to execute EXEs, REG files, Copy files to root of device, run MortScripts, and xml files too... all part of an automated process.. you click go after a hard reset and it is on its way!
Another nice thing I like about it vs the sdconfig autoinstallers is there is really no maintenance to scripts/etc once you update your software.. all you do is manage the files in a directory structure which is as easy as copy and paste of the cab/etc.
http://forum.xda-developers.com/showthread.php?t=392983
Click to expand...
Click to collapse
Sashimi is BAD A$$, Thanks alot for the pointer
highflyin128 said:
WinRar seems to extract the exe's and give me the cabs....THANKS ALOT
This Thread Can Be Closed
Click to expand...
Click to collapse
how are you getting winrar to extract cabs?
kflipproductions said:
how are you getting winrar to extract cabs?
Click to expand...
Click to collapse
Extracting the EXE's to get the cab's
Not all executables are self-extracting executables. This will only work with self-extracting executables.
If you can't extract your executable with Winrar, the only other option is to run it with your phone unplugged from Activesync, then find the cab on your PC. Again, with this method, not all executables work that way. I have found a couple that I simply COULD NOT produce a cab from.
gc14 said:
Not all executables are self-extracting executables. This will only work with self-extracting executables.
If you can't extract your executable with Winrar, the only other option is to run it with your phone unplugged from Activesync, then find the cab on your PC. Again, with this method, not all executables work that way. I have found a couple that I simply COULD NOT produce a cab from.
Click to expand...
Click to collapse
I've generally found that I can do this with pretty much any setup executable, although I use 7-Zip instead of WinRAR (it's free and fantastic).
As for the Sashimi recommendation, I can't agree enough. The program is pure awesomeness.
Universal extractor i guess is the way to go. extracts all files (cabs) from any .exe or .msi or anything else
Universal Extractor 1.5
Universal Extractor 1.6 Beta (vista)

.exe Files On TP

Hey, I do feel kinda stupid asking this but I always have been able to find a .cab and put it on my SD card and load it onto my phone that way
Well, my question is, how do I put a .exe file onto my phone and install it?
I downloaded the VistaHide Battery Gauge and it dosnt come in a .cab. It came as a .exe
How do I install this onto my phone?
Or does any1 know of a working .exe to .cab program?? I am on Vista x64
Thanks
Chances are, you're supposed to run the .exe file on your computer. It should automatically start Active Sync, and when you plug in your device, it will install the app on the phone...
I've been able to find where the temp .cab file was created, I don't quite remember, probably in the c:\program files\[program name here]...
Hmm.. It tells me its not a valid win32 app when I try that.
If it's a Windows Mobile .exe then the .exe file is the program - you copy the file to your phone in Explorer on your PC (when connected in ActiveSync mode, it should appear under 'Computer' next to your drives), then find the file in File Explorer on the phone and start it there.
Yeah I got a TP, I am running WM6.5.
Soo thats all? Take the .exe drop it onto the SD card and run? I didnt think I can. Ill try it and edit the post if I got it to work.
Ok so it does run it. It does not install anything thou. Just gata click it every time to load it.

Categories

Resources