Related
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.
Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!
Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.
You can use the freeware CabInstall and install program directly from the SD.
Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.
The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!
if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.
Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)
Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0
Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com
oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions
Hi guys,
I use WinCE CAB Manager v1.1 for creating CAB files.
The only problem is that there is no option here like "Allow Uninstall: TRUE/FALSE" (like in v2.0).
I would like that some of the CAB files that I created do NOT show up in "Remove Programs".
Is there something like a standard INF file that I can use for this option, so that with every CAB that I am going to create I 1st import the .inf file (that sets uninstalling to False) and then add my files/registry settings and things like that.
If this is possible, can someone provide me with something like this?
Thanks and regards,
Molski
As far as I know there is no such option in the INF, but the app that installs the cabs (wceload.exe) has the '/nouinstall' command line parameter.
levenum said:
As far as I know there is no such option in the INF, but the app that installs the cabs (wceload.exe) has the '/nouinstall' command line parameter.
Click to expand...
Click to collapse
So adding: "wceload.exe "%1" /nouninstall" to the registry would solve my problem.
But when I do this, every CAB file I install cannot be uninstalled.
I would like to set nouinstall per CAB file, so one CAB file can be uninstalled and another one cannot.
Regards,
Molski
Why do you want to do this?
If I installed something that later could not be removed - I'd be VERY pissed off.
TheBrit said:
Why do you want to do this?
If I installed something that later could not be removed - I'd be VERY pissed off.
Click to expand...
Click to collapse
It's for 2 files I use in the Ext Rom of my Molski.Biz roms.
And believe me...you DON'T want to uninstall these 3 files ;-)
Molski
Hi molski
If you remove the registry entry in HKLM\security\appinstall for the named apps they wont show in the remove program list. You could make a cab file to do this after installing the other cabs, or try including this in the apps cabs - I only know how to do this with xml. If you need help give us a shout.
meschle said:
Hi molski
If you remove the registry entry in HKLM\security\appinstall for the named apps they wont show in the remove program list. You could make a cab file to do this after installing the other cabs, or try including this in the apps cabs - I only know how to do this with xml. If you need help give us a shout.
Click to expand...
Click to collapse
Is it possible that you could create a XML file for me that I could use in the CAB'S that I want to prevent from uninstalling?
If you want I can PM you the CAB files.
Thanks,
Molski
molski said:
Is it possible that you could create a XML file for me that I could use in the CAB'S that I want to prevent from uninstalling?
If you want I can PM you the CAB files.
Thanks,
Molski
Click to expand...
Click to collapse
Yes pm the cab files and i will see what i can do - i have managed to delete the reg entry with a cab so far and will try to include it in yours. What do the cabs install? Will it affect my wizard?
Install all of your files and export HKLM\security\appinstall to a .reg
Post the contents here and we can make you the cab you are after.
meschle said:
Yes pm the cab files and i will see what i can do - i have managed to delete the reg entry with a cab so far and will try to include it in yours. What do the cabs install? Will it affect my wizard?
Click to expand...
Click to collapse
It are 2 files, Performance and Registry tweaks CABS.
Check out "My Cabs" page on www.molski.biz for what the files do with your Wizard.
Molski.
molski said:
It are 2 files, Performance and Registry tweaks CABS.
Check out "My Cabs" page on www.molski.biz for what the files do with your Wizard.
Molski.
Click to expand...
Click to collapse
Yes i am familiar with those - i'll download the cabs and i will see what can be done.
meschle said:
Yes i am familiar with those - i'll download the cabs and i will see what can be done.
Click to expand...
Click to collapse
I will PM you the latest version tomorrow, don't use the files on molski.biz, they are outdated
Molski
molski said:
I will PM you the latest version tomorrow, don't use the files on molski.biz, they are outdated
Molski
Click to expand...
Click to collapse
I have posted you a cab - it appears the best fix. I doubt if including the reg tweak in the 2 cabs would work as the reg values are added after the install. Install my cab after yours and it will do a fix - i have left the name of the fix cab blank so it does not appear in the uninstall programs list.
rename zip to cab
@molski...
What are those cab files for? if those CAB files are only for registry manipulation (meaning no files would be dumped to th device) then CAB Provisioning will be the best, it doesn't show on the Remove Programs.. Please tell if that's what you are looking for. Goodluck!
Here are the 2 files
Here are the 2 tweak files, they are created with WinCE CAB Manager v1.1
I would like that these 2 files cannot be uninstalled after they are installed by the Extended Rom.
And please...can you guys be sure that after adding the "nouninstall" option to these files I still can edit them with WinCE CAB Manager v1.1 (because I noticed that WinCE CAB v1.1 cannot open every CAB file, especially files that are created with Visual Studio or a newer version of WinCE CAB Manager).
Really thanks a lot guys!
Regards,
Molski
p.s. Some of the tweaks are in both files in case people want to manually install one of the files, but for installing via the Ext. Rom I want to make sure that they are not able to uninstall!
p.s.2 These are the tweaks that are in the files right now:
The file: Molski.Biz Performance Registry Tweaks
• Increase FileSystem cache
• Increase FileSystem filter cache
• Increase font cache
• Disable window animations
• Disable menu animations
• Enable FileSystem cache
• Enable ClearType
• Enable ClearType in Landscape mode
• Change the thickness of scrollbars to 9
• Change the length of scrollbar arrow buttons to 9
• Enable 802.11g 54Mbps
• Set IE Mobile Zoom Settings to "normal"
• Move "IE Temporary Internet Files" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE History" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE Cookies" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE Cache" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Enable CAPS Lock indicator
The file: Molski.Biz Customizing Tweaks
• Don't delete CAB files after installing
• Turns SMS Delivery on
• Install Wireless today plug-in
• Enable receiving of files over BlueTooth/IrDA
• Add time sync page to Phone Settings
• Add a 'Disconnect' button (and Timer) to the "GPRS Balloon Tip"
• Disables different GPRS/EDGE indicator icon
• Show All Day Event and tomorrow appointments on the Today Screen
• Workaround to avoid GPRS connections conflict with phone calls
• Enable DTMF Support
• Always show the clock in the taskbar
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
da_mayhem said:
@molski...
What are those cab files for? if those CAB files are only for registry manipulation (meaning no files would be dumped to th device) then CAB Provisioning will be the best, it doesn't show on the Remove Programs.. Please tell if that's what you are looking for. Goodluck!
Click to expand...
Click to collapse
CAB Provisioning sounds great....can you give me some more info on how to do this?
The CAB files are only containing Registry Entries.
Molski
t0flus said:
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
Click to expand...
Click to collapse
Thanks, unfortunately they cannot be openend anymore with 1.1, but until I have some changes to these files they will be perfect.
Can you give me some more info on how you did this?
Maybe I can do it myself also
Molski
t0flus said:
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
Click to expand...
Click to collapse
When I try to install the files it says that the files are not compatible with my current OS ?
Molski
I just opened and edited them with Cab Manager 2.0
The Registry CSP is documented at MSDN: http://msdn.microsoft.com/library/d...en-us/mobilesdk5/html/wce51grfregistrycsp.asp
I've attached a example and the only thing you need to do is to edit the _setup.xml file and run runme.bat to generate the cab file.
Easy as .... dell..?
Best regards
Øystein
ReLoad
This is a MortScript script written to simplify reinstalling cab files, and restoring files back to the device from a zip file on the trinity.
More information about MortScript at http://www.sto-helit.de
-v.01 Initial Release
Known Issues
-Cab files that initiate the installation of another cab file ie.Wisbar Advanced
-How to setup:
1)Extract Reload.rar to your storage card.
2)Place cab files in the CabsAuto folder if you want to the cab to be automatically installed to the device (installation to automatically install to the storage card is currently not available).
3)Place cab files in the CabsManual folder if you want to be able to choose where to install the cab.
4)Place file in the Backup.zip file that you want to be restored.
ie. If you wanted example.jpg to be placed in the \Windows folder, place example.jpg in the Windows folder of the zip file.
*Please note that the cab files placed in the CabsAuto folder need to conform to only asking the user for the installation destination, then showing installation successful/unsuccessful. Otherwise you might encounter some
problems. You should place cabs that don't conform in the CabsManual folder, or adjust these cab files with programs such as WinCE CAB Manager.
-How to use:
1)In the Reload folder, execute Run1st. Click ok the the window that pops up. This just installs MortScript
2)Execute Run2nd. This will initiate the script that will first install the CabsAuto, then CabsManual, and finally restore the files in the zip file.
Use at your own risk.
Download
http://rapidshare.com/files/29964511/Reload.rar.html
Thx, that's a good idea.
is there a way to have it restore registry entries from a .reg file?
Is there a way to install certain cab files on RAMDisk/Storage card without individually clicking the install option??
@racerx_
Currently there isn't a way to restore the reg file directly. But you can create a cab from the reg file and then have that cab automatically installed.
MortScript wasn't able to read in the reg files i saved with resco explorer, so I gave up on doing it this way. For right now the easiest way is to create a cab file with WinCE Cab Manager.
@c_shekhar
The best way to install the program to the Storage Card, backup the reg (and any possible files installed on rom), then create a cab from this.
This post has alot of good information on this.
http://forum.xda-developers.com/showthread.php?t=277727
yeah, i've been trying like a madman to get win ce cab manager to make a cab of my .reg file.. but when i click on 'import' and try to grab the .reg file it tells me it's only for registered versions of the program.. is there another way i'm not seeing? cause right now the only other options i see for registry entries is to manually create them one by one which doesn't sound very exciting hah
thanks for the help..
@racerx
What OS and version of WinCE Cab Manager are you running. I heard of some problems with the newest version of WinCE Cab Manager with Vista. I am running version 2.1.0.35.
If that isn't it, you might have run the program past its initial trial use.
hmm.. Win Ce CabManager is 2.1.0.50 running on xp.. still got 17 uses left.. sigh..
Maybe i missed something. Just in case, what button or command are you using to get your .reg file into WinCE? I was using the 'file' 'import' command.
@racerx
That's the same way I do it. I would find an older version and try it again.
Reload V0.2
I made a couple of changes to the script for a rom we are going to be releasing soon...it checks if Backup.zip exists and only does the unzip if it does...I also added a SDBackup.zip for files to unzip to Storage card (specifically exe's and dll's I've already upx'd to shrink them but reinstalling the cabs replaced them again so this puts them back)....
#ReLoad
#v.02 Initial Release
#Use at your own risk.
#v.02 Extract files from SDBackup.zip to Storage Card
If(Question("Do you want to ReLoad?", "Reload 0.2", "YesNo")="No")
EXIT
EndIf
Run("Storage Card\ReLoad\Bin\Message_Running.mscr")
RegWriteDWord("HKLM", "Comm", "AutoRunFlag", "0")
RegWriteString("HKLM", "Comm", "AutoRunCFG", "\Storage Card\ReLoad\CabsAuto\Config.txt")
#Create Config File
Delete("\Storage Card\ReLoad\CabsAuto\Config.txt")
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "SHOW:\Storage Card\ReLoad\Bin\ReLoad.bmp^NL^")
ForEach x in files { "\Storage Card\ReLoad\CabsAuto\*.cab" }
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "CAB: ", 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", x, 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "^NL^", 1)
EndForEach
#CabsAuto Install
RunWait("\Storage Card\ReLoad\Bin\AutoRun.exe")
#CabsManual Install
ForEach x in files { "\Storage Card\ReLoad\CabsManual\*.cab" }
RunWait(x)
EndForEach
If (FileExists("\Storage Card\ReLoad\Backup.zip") )
#Restore files from zip to main storage
UnzipAll("\Storage Card\ReLoad\Backup.zip", "")
EndIf
If (FileExists("\Storage Card\ReLoad\SDBackup.zip") )
#Restore files from zip2 to storage card
UnzipAll("\Storage Card\ReLoad\SDBackup.zip", "\Storage Card\")
EndIf
KillScript("\Storage Card\ReLoad\Bin\Message_Running.mscr")
If(Question("Finished ReLoading.^NL^Do you want to reset?", "Reload 0.2", "YesNo")="No")
Exit
EndIf
Reset
Very good soft, it works nice !!
The only difficulty for the french users is to replace in the script "Storage Card" by "Carte de stockage"
Thx men for this !!!
Nice soft,
I could use FAMAN WM6 on my trinity now !
French translation and modification is (seem to be) ok.
Just wait the OK from the boss and I'll give you !
Edit : Why don't you use the LOCK:Enabled in the header and LOCKDisabled on the end of the config file ? Thxs in advance.
I use SettingsSavior on my Trinity mainly for its similar auto-install functionality
Hello,
Thank you for this very useful tool
My .cab are removed after using Reload. How can I keep my .cab on my SD after a new installation ?
Thank you for your help.
Guillaume
__________________
SPV M700
FAMAN 4.03.FR
1.50.08.11
2.79.7020.19H
can this software reinstall cabs, copy skin files in programs installation directory (eg pocketcm skin) and reconfigure mail and exchange accounts ?
OOPS delete this post.
Hey Guys,
I am trying to add rlToday.cab to my Glofiish M700 Rom,
but after flashing, when the phone is installing the extRom files, it stops after installing the rlToday.cab file.
When I install the software the normal way, it gives a notification that the rlToday-plugin is added to my todayscreen and than you have to push OK.
So I think that I have to push that button, before the extRom installation continues. So, is there any way to unable that notification.
Thanks in advance
This thread has a program that allows CABs that require user intervention to be installed using Autorun. I use it for rlToday, AEButton plus, and Mortbuttons. All three require user intervention during install, and SDconfigGen works great!
Thanks for your reaction. I read about this, but this is actualy not the way I want it, because now you need the ROM, a SD-card + the cab files on it. I could probably edit the .mscr file and put the rlToday cab in my ROM in the Windows folder, but that way you'll have unnessesairy files in your Rom, or yes, maybe I could do it this way, but isn't there any other way??
You know, I am just trying to make the perfect Rom for myself, so it would be realy great if I got it working.
By the way, does anybody know how to add your contact list to your ROM??
SDConfigGen can show you how to setup user intervention, look at the files it generates, use it as an example and edit a few files so that everything works from the Extended_Rom. It's really easy. here is the mortscript I created for rlToday:
Code:
windowTitle = "Setup"
WaitFor(windowTitle, 60)
SendCR(windowTitle)
Just rename sdconfig.txt to config.txt, edit the paths to the files, move a few files to your Extended_Rom image, and you're good to go.
this is the best way to solve your problem.
other solutions:
1. leave LOCK turned off in config.txt and do your own user intervention. (not sure this works)
2. rebuild rlToday.CAB so there is no user intervention.