Jump to content

Install CAB's, but NOT to delete CAB file. possible?


Recommended Posts

Guest duke_stix
Posted

Hey all

Im wondering if theres anyway i can tell WM5 NOT to delete the cab file after installing one?

is this at all possible?

thanx

Guest chucky.egg
Posted

The easiest way is to mark the files as read only, but there is also a "-nodelete" switch that you can add to the .cab file association in the registry

Posted

By default (at least on my device) the cab file does not get deleted. If your does, you can always make a copy of it and run the copy.

Guest shabazz18
Posted

My CABs are never deleted unless i delete them. Is this not nnormal?

  • 2 weeks later...
Guest cattr70
Posted

My device deletes the cab files also after installation. One way is to make a copy before or get the software called SmartTweak and it has an option to do some registry tweak to not delete the file... :)

I hope it helps...

Guest awarner (MVP)
Posted

Normally as standard a cab file will self delete, this is designed to save space as once the application etc is installed there is no need to keep the file on the device.

Now we all know we prefer to keep the file as it's easier to reinstall from the device after a hard reset than it is to have the hassle of resyncing etc.

I use the read o trick on the few items I always keep and reinstall on the phone.

  • 3 weeks later...
Guest carlvin
Posted
Hey all

Im wondering if theres anyway i can tell WM5 NOT to delete the cab file after installing one?

is this at all possible?

thanx

Change

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]

@="wceload.exe \"%1\""

To

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]

@="wceload.exe \"%1\" /nodelete"

Just add "/nodelete".

Does it help?

Posted

that's great, thanks.

what secret documentation did you get that from?

Guest gpcarreon (MVP)
Posted
Change

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]

@="wceload.exe \"%1\""

To

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]

@="wceload.exe \"%1\" /nodelete"

Just add "/nodelete".

Does it help?

True. :)

MSDN

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.