Hello. I dont want remove the cab from my SD after installation. I saw in somewhere that it is possible, but i didnt find again. Can you send me the link? Or the cab to do the registry change.
Tks.
Easy, go here with any registry editor:
HKCR\cabfile\Shell\open\command
It should looks like: wceload.exe "%1" /nodelete
Just remove /nodelete.
yes, that's the proper way to do it. If, like me, you always need* the latest ROM and are often reflashing, remember you could also make your cabs read-only.
I found it was easier to do this in the long term as I have many cabs stored on my PC and sometimes I was forgetting to edit reg. in newly installed ROM and losing cabs!
*like a fish needs a bicycle, I sometimes think...
Related
Hello professionals ;-)
i have to delete some registry keys during an softwareinstall with a cab file.
Can anybody tell me how to make an installationfile (like *.cab ore something else) deletes some keys in the registry!
whatfor?
i want to install some programs (like pocket plus) and make some configuration during cab file installation. so i looked into the registry what changes when i configurate pocket plus.
as i noticed there where som keys changed i can overwrite with the new values BUT there are some registry keys deleted also. How get them out???
is there any way ??
Have a look at creating a custom setup.dll file to include in the cab file.
You can certainly delete registry entries using it.
I don't know about deleting registry using cab files.
I think there is only options to allow or not to replace a registry key if exists during install.
Here a good link for .cab files Cab files
Apart that you can make your own install from PC to Pocket using RAPI. With that no problem to delete keys, copy files, add new keys ...
want to delete some keys bevore install
Thank's for your tips!
Have a look at creating a custom setup.dll file to include in the cab file. You can certainly delete registry entries using it.
Click to expand...
Click to collapse
is there more information about this ?
how it works?
how to do?
as i looked at the CABFiles Website this looks very complicated to me ;-(
i am an absolute beginner in developing software!
i need an easy way to delete some regkeys during installation.
I think you can use the excellent scripting utility called nScriptM to achieve your goal. Simply run a search on this in google and you will come across a number of resources including the download location.
k_kirk said:
I think you can use the excellent scripting utility called nScriptM to achieve your goal.
Click to expand...
Click to collapse
i will try this, Thanks!
Hello everybody.
Whenever I install a .cab from my miniSD card it dissapears from the miniSD card. Why is this? Is there any solution?
Thanks in advance.
Thats what WM does. It will remove the original CAB files once you have installed it. To solve this, copy a backup of the CAB file before installing.
Ot make a CAB not delete after running it. copy the file to your SD via your PC and then right click on the file and make it Read only.
Once read only the file will not be delete after being run.
hanmin said:
Thats what WM does. It will remove the original CAB files once you have installed it. To solve this, copy a backup of the CAB file before installing.
Click to expand...
Click to collapse
Or just set the file properties to read only using TotalCommander /GSFinder etc. That way you can keep them all on your SD card in case you need to reinstall away from your PC.
bryanz, click on cabinstl.exe. check the option <Do not delete cab file>. The default is unchecked (blank). This solves ur problem
Hi blogg buster, in what folder is that file?
Thanks for all your replies.
bryanz said:
Hi blogg buster, in what folder is that file?
Thanks for all your replies.
Click to expand...
Click to collapse
cabinstl is a freeware program for WM2003 which lets you to choose whether to install the application to main memory or SD card, (which WM5/AS4 now does itself), and the option to keep the cab, which you can do anyway by setting the RO attribute. So IMHO it's not really needed on the Wizard.
OK, thanks a lot Ineedtoys
Ineedtoys, I think bryanz may be right but from what I gather u are running smthing which looks like cabinstaller. Check from Start>program to see whether u have cab installer. if not, then discard my suggestion. Another way is to use the FIND option from ur file explorer to find "cabinstl.exe" .
Good luck
This little cab will stop all cabs installed after it from being deleted, although it will delete after you use it. It probably is the same as putting a check mark in the cabinstl.exe program.
blogg buster said:
Ineedtoys, I think bryanz may be right but from what I gather u are running smthing which looks like cabinstaller. Check from Start>program to see whether u have cab installer. if not, then discard my suggestion. Another way is to use the FIND option from ur file explorer to find "cabinstl.exe" .
Good luck
Click to expand...
Click to collapse
The only file I can find on my WM5 and 2003SE machines is a cabinstl.dll in ROM, which cannot be run directly. So if you have a "cabinstl.exe", you must have installed the freeware add-on?
Which is largely redundant in WM5 anyway, apart from letting you see or extract the contents of the cab prior to installation.
guttrhead said:
This little cab will stop all cabs installed after it from being deleted, although it will delete after you use it. It probably is the same as putting a check mark in the cabinstl.exe program.
Click to expand...
Click to collapse
I have posted on other forums the reverse issue for some people with other WM5 devices.
Kevin Tofel and James Kendrick of MobileTechRoundup have mentioned that on their WM5 phones - Verizon 6700 and Treo 700w, that any installation .cab files that they install are not deleted after the app is installed. I wonder if the above little cab (or something like it) has been installed on some OEM devices.
Any ideas how to reverse this and have the cab deleted for those that don't have the functionality.
There's actually a registry setting that controls this. Here's a quote from a registry tweak thread on Treo Central exlaining how:
Make WM5 keep CAB files around after installing (1)
If you wish to keep the original .CAB file around after installing the application, set:
HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)
Or to restore to the default:
HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 2 (DWORD decimal)
Make WM5 keep CAB files around after installing (2)
An alternative method of making WM5 keep the original .CAB file around after installing the application is by adding the "/nodelete" option to the Windows CE loader:
HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /nodelete' (REG_SZ string, no quotes)
I trialed a 700w for a while and noticed that it would delete cabs installed from main memory but not from SD. I'm wondering if nDynamicDelete = 1 sets this behavior.
Hello All,
Is there a way to strip an installed application from a PPC into an installable .CAB file, if one has lost the installation files/DVD, but still have the application installed on the hand-held.
Thanks in Advance.
Not really.
You can always copy the files out (if you can find them all - some may be in windows folder or places other then the main app folder) but you still would need to know every registry key the app requires.
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
ahh..hhaa !
meschle said:
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
Click to expand...
Click to collapse
My experience with SKTools makes me cringe...my ATRE would not stop rebooting until I remove the SD card(where SK Tool was installed and remove it completely.
What software do I need to make a .cab file ?
I will still make all efforts to attempt this anyways....
Ive had no problem with sktools - i always install to main memory. If you manually make your cab then use cabiwiz - or use a commercial app like wince cab manager. Which program are you trying to put together?
cabiwiz enclosed inc example app and tutorials
Funny thing - I was replying to another thread with similar question stating that there would be a problem finding out all the REG keys.
Then jackleung posted about a tool called "ssnap" that supposedly can take an image of the system.
Comparing an image from before and after installation should show all the changes a cab makes.
Since I am not personally familiar with the tool I can't say any more about it.
As for cab creation - while I use cabwiz my self, it is a command line tool and you need to know ho w to write inf files for it.
For a beginner an app like WinCE cab manager will be more comfortable.
It is a shareware, so it will stop working after a while unless you pay but it is very good.
P.S.
Hi Mark
Howdy.
Does anyone know of an autorun.exe which is coded to look in "extendedROM"? (As opposed to "extended_ROM").
I'm aware of PocketPC Installer and that it probably can create a custom autoexec.exe for me, but I'm looking for a free solution if there's already one hacked up out there.
Thanks
--SUmmiter
I thought that it got that value from the registry:
[HKEY_LOCAL_MACHINE\Comm]
"AutoRun"="\\Extended_ROM\\AUTORUN.EXE"
"AutorunCFG"="\\Extended_ROM\\CONFIG.TXT"
"AutoRunType"=dword:0
"TurnRadioFlag"=dword:0
Yes but you have to add this into rom before building if you want it to look for autorun there after flashing
Right. My possibly incorrect assumption was that autorun.exe is hardcoded to look inside "Extended_Rom" for it's config, ignoring what is in the registry. I'll mod my OS rom and try changing AutorunCFG and see what happens.
joemanb said:
I thought that it got that value from the registry:
[HKEY_LOCAL_MACHINE\Comm]
"AutoRun"="\\Extended_ROM\\AUTORUN.EXE"
"AutorunCFG"="\\Extended_ROM\\CONFIG.TXT"
"AutoRunType"=dword:0
"TurnRadioFlag"=dword:0
Click to expand...
Click to collapse
Autorun.exe and config.txt can be anywhere as long as the registry points to them.
(if the registry points to Extended_Rom, then of course the files need to be included in the Extended_Rom.)
My autorun.exe is in windows, and config.txt is in the extended rom, but I've tried it other ways and it's worked.
alot of cooked roms use this feature to do a final modification like loading a theme from the windows directory.
BTW config.txt contains the paths to the files you wish to process, so it doesn't matter where autorun.exe, or config.txt are.
In other words, you could put autorun.exe, and config.txt in windows or anywhere else as long as the registry points to them, and it will process the files on the paths contained in config.txt
Little question, has autoexec any link in startup, or not?
(I make in intiflash registry entry es mentioned before, I have hope corect congig.txt but after HR ... nothing, co customization . Interesting is, that I can launch autoexec in ext rom manualy and it runs ok. I rebuld quite naked WM 6.1 rom)
Thx for help...
Hi,
just wondering how do you make a Regedit file that you just click and it applies the registry edits you like, like for a normal pc (it has a blue cube icon on the pc). I would like to make one with the hacks I like, so I can just single click after a hardreset and be done with.
Thanks in advance !
this cant be done on the PPC..you will have to make a CAB file with the registery entries and then install it after hardreset
You can find some program to edit the registry. They can handle such files.
They are the same files than the one on your desktop I think.