[REQ] Any Way to modify CAB installations - Windows Mobile Development and Hacking General

I'm curious if there is any way to modify the cab installations so that we can be asked which start menu folder we would like the shortcut to be placed in?
I have the Start Menu set up so nicely (thanks to Indagroove) but any time I update an app or install a new app I have to go move the link and then restart my phone so it does not appear in the 6.5.x Start Menu.
Any real developers have any ideas?

Way 1
buy "WinCE Cab Manager"
install it on your PC
open .cab files with it
modify .cab files
save .cab files
Way 2
same as above... but as someone who already has WinCE Cab Manager
Way 3
extract files in .cab
edit the files in the .cab with notepad, ultaredit,...
hope it will be ok
repack .cab
easy...

That's what I do now.
Oh well, thanks for replying though.

Related

K-JAM CAB Delete Disable tool - Stop CAB files being deleted

I made a little CAB file which contains a reg key to prevent CAB files from being deleted after you install them.
Just run this on your K-JAM and no more CAB files will be deleted.
(Although ironically of course it still deletes this CAB file since the change doesn't take place until after the install finishes and this file is deleted.)
Neat!
I store CAB files in zip files, when I want to install anything, just open it and run from zip. This way my CABs are not deleted either.
I think it's enough if you set the Read Only attribute on the CAB file.
Re: K-JAM CAB Delete Disable tool - Stop CAB files being del
awojtas said:
I made a little CAB file which contains a reg key to prevent CAB files from being deleted after you install them.
Click to expand...
Click to collapse
my solution is CabInstaller program. simply copy it on your wizard, run it and check two options:
[x] Do not delete CAB file
[x] Associate CabInstl with CAB files
from now on, CabInstaller will popup after every CAB file installation attempt, then just click install and that's it!
I've got my cabs on a storage card, and within totalcommander you can
set the properties of the cabs to "read only",
this works like a good workaround for me, some cabs i want to be deleted,
some not..
I agree^^^. I set them to read only before I copy them to the device and they are fine. If you have something like total commander or resco explorer then you can set the Read Only attribute on the device.

Auto install of CAB files

Hi all,
I have a cab file (call it cab1) containing three files to install on a WM5.0 device. These three files are another cab file (call it cab2) and two config files. I drop cab1 onto the device and it executes. This puts cab2 and the two config files into the correct folders that I want. This is all fine
What I need to happen then is for cab2 to auto execute without anymore interaction. How can I add this instruction to cab1?
Dropping cab2 into the startup folder and waiting for the device to soft reset is not an option for me
The whole install needs to happen on the device by sending a single cab file to the device i.e. I cannot use any msi etc to install over ActiveSync
I've created the cabs in VS2005
Thanks for any help
This one is tricky. You need to create a setup.dll for cab1 then have it launch an exe and exit. The exe will wait about a second for th cab installer to complete then launch the installation of cab2.
i believe this is the only way to accomplish what you want with one cab without combining the content of cab1 and cab2 in to a single cab.
Thanks levenum
Combining the cabs is what I would like to do but cab2 is signed so I can't unpack it without breaking it. That's why I went down the road of putting it into another cab with the other files I need to install
Is there a way to add a post-install command to launch cab2 in the setup.dll of cab1(or anywhere else)?
What levenum means is that you can't launch the installation of the second cab from the first one. The reason for this is that only one instance of wceload.exe can be running.
You need to build a setup.dll in the first cab file. The first cab must also have an exe that will install the second cab file. You launch the exe from the setup.dll. The exe must wait until wceload.exe has shut down after installing the first cab before it can install the second one by running createprocess on wceload.exe with the right arguments.
If you don't know how to make the setup.dll, take a look in the Windows Mobile 5.0 SDK. It includes an example on how to do this.
Did you get it?
Øystein

How to install .XML files??

How to install the .xml files bundled in the cabs.rar?? I do not know how to make the extrom run automatically after the HR so i have to install each cab file 1 by 1, can anyone help??
Use the ones in cabs2. Also make sure you know what are those .xml for (they are replaced with .cab (s) in cabs2)
xml files are a typicaly a formatted text file like html
not really binary exe programs files
some programs use xml files to store settings and data
maybe they need to be in a location the program in question
will look for them
Rudegar said:
xml files are a typicaly a formatted text file like html
not really binary exe programs files
some programs use xml files to store settings and data
maybe they need to be in a location the program in question
will look for them
Click to expand...
Click to collapse
Did you mean copy the .xml files to the location of the program file ??
use HTCustom1.7.cab
yup...
I am having the same issue. I keep seeing these .xml files. I am not a computer guru lol. Do I cut and paste it somewhere on my phone or what? I am so lost please help.
Same thing here on my side mixtape_butcha. I'm subscibed in an Universal forum and have to install a USB switch which is a folder containing an xml file. I asked many time a guide on how to use it but nothing came back.
If you happen to know how to handle it, let me know. I'l do the same with you.
bests
Michael
first of all it is nice that you looked up a matching post yourself and obviously searched for a solution there, but...
if i get your problem right, it doesn't match the ones before. they were talking about .xml files that came with a cab file and stored the settings on how to install and execute.
you, however, talk about a subscribtion to a thread, meaning your xml file is an RSS feed, for which you need a special reader, since PIE is not a proper desktop browser and therefore does not handle feeds. but there is a lot of software out there to handle rss feeds. i personally use spb online 1.2, but there is also freeware, like this: http://www.dewantoro.net/search/pda+rss+reader+cab
i don't get the point with the usb switch though, maybe if that didn't solve your problem you should post further details about that issue and maybe post filenames or screenshots so we all know exactly what you are about to do.
You need not worry to install xml file if it comes with a cab. Cab file should be designed to use it automatically. xml files store usually configurable settings, it may be worth opening those files using any text editor like note pad or even IE to check the contents, that may help if any change is needed. But 99% chances are that you need not do any thing with those xml files.
I have found some people run in to this problem when they download a .cab file from the internet and once downloaded it is a .rar so you extract the .rar to find NOT .cab but .xml
Here is more about it and how to fix it.
http://forum.xda-developers.com/showthread.php?p=2367946#post2367946
I am trying to install a game on my MDA Vario IV , it does have .xml file. But no .cab files , only .000 file , .002 , .003 , and .004 files. How do i install this game then ? The installer is the .xml file.
EDIT : Nvm , fixed it , i needed not the files within the .cab file , but just the .cab file itself to extract in on my mobile.
Hello guys iam actually looking to install a sat nav software on my HTC TOUCH HD phone and i got this file called SETUP.XML Document and there's thousands of other files in the same location called KB, which i have no idea what they are but my problem is when i copy those files to my phone and open the SETUP.XLM Document, it opens by the internet explorer in the phone and it does nothing, please let me know if u know any answer to this.
Thank you very much....
nickholas said:
Hello guys iam actually looking to install a sat nav software on my HTC TOUCH HD phone and i got this file called SETUP.XML Document and there's thousands of other files in the same location called KB, which i have no idea what they are but my problem is when i copy those files to my phone and open the SETUP.XLM Document, it opens by the internet explorer in the phone and it does nothing, please let me know if u know any answer to this.
Thank you very much....
Click to expand...
Click to collapse
Couple of things:
You are in the wrong subforum. This section is for the Blue Angel. You should look for the Blackstone (aka Touch HD) section.
Now, the file that you opened is a cab file. You don't need to extract the contents of a cab file. Just copy it to your device and click on it one. The cab will install everything, including the settings in the xml.
Good luck!
Gili50 said:
I am trying to install a game on my MDA Vario IV , it does have .xml file. But no .cab files , only .000 file , .002 , .003 , and .004 files. How do i install this game then ? The installer is the .xml file.
EDIT : Nvm , fixed it , i needed not the files within the .cab file , but just the .cab file itself to extract in on my mobile.
Click to expand...
Click to collapse
Couple of things:
You are in the wrong subforum. This section is for the Blue Angel. You should look for the MDA IV (aka Touch Diamond) section.
Now, the file that you opened is a cab file. You don't need to extract the contents of a cab file. Just copy it to your device and click on it one. The cab will install everything, including the settings in the xml.
Good luck!

Simple and small Reboot/Soft-reset program

Heres a very simple and very small program I made with MortScript. I call it QuickReboot 1.0. It will ask you if you whant to soft-reset your phone. It works best if you map it to a hardware button, well, It does for me.
READ! VERY IMPORATANT HOW TO USE: Unzip the zip file and move the file "QuickReboot" to the My device folder (The root of your device) Then click on it. It will then make a shortcut to itslef in the programs folder. Then use it whenever you need to soft-reset. TO UNINSTALL IT: Open your file explorer and goto /Windows/start-menu/Programs and delete it from that folder. Then its completely gone from your device
IF YOU TAP ON THE FILE WHEN ITS NOT IN THE "My device" FOLDER, IT CANNOT MAKE A COPY TO "Programs" FOLDER!
Requirements: Mortscript 4.0
(You need MortScript 4.0 to use QuickReboot)
If you don't have mortScript 4.0 download here: http://www.sto-helit.de/downloads/mortscript/MortScript-4.0.zip
Free and NOT SPACE-TAKING
Cool, im gonna try it on my TP. thx
thanks and correction
first of all thanks! that's exactly what i was looking for.
second, i had to edit your code a little because the copying didnt work. your path was ".../start-menu/..." and should have been ".../start menu/..."

Internet Settings Cab (want to create)

Ok so i have my internet settings and i was wondering how would i go about making in to a cab? is there any tutorials on to teach me what i need to create the cab and how to make it?? any info would be appreciated folks
Thank you
Hi trev you will need WinCe cab manager and this tutorial is good on ppcgeeks.
http://forum.ppcgeeks.com/showthread.php?t=27906
Thanks matey, ill have a good go, be better than inputting them all the time
hhmm little more complicated than i thought!!!
yeah the tutorial is a bit complicated but when you manage you wont forget, just like riding a bike.
1st open wince cab manager
2nd click file then new enter a name click next,next,finish
3rd right click files and the add navigate to files you will pack in .cab file and add. Choose the location where you want the cab file to install the files. The file should be added to wince cab manager now
4th somewhere on your pc make a file called INF file.In the right corner of cab manager you should see 2 red arrows one above and one below a white square. Press the one with the red arrow above then set the output directory to where you made the INF file. It will export a file.
5th Now press the other red arrow navigate to your INF file and open file click on your inf file and import it back into cab manager.
6th press file, save as,choose somewhere to save the cab file. VERY IMPORTANT make sure to change file type to WinCe CAB files. When you press save you should have a cab file saved.
Good luck, how is things in Grimsby.
Its COLD we have SNOW GGRR lol
Yeah we have snow aswell but its -10 here
Did you manage to make the cab file
yeah its not that cold here, you should be used to it lol
erm no i think im in over my head here lol, (BIG style)
so i have the program, i have my settings, in my phone already is there no way i can just create a cab that way??
how big is the file, do you still have my e-mail address? Send it to me and i can cab it for you.
what am i sending to you?? the thing is i still wanna learn is whats annoying me,
its @jessheim.net right??

Categories

Resources