PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro (http://forum.ppcgeeks.com/forumdisplay.php?f=63)
-   -   quick cab question (http://forum.ppcgeeks.com/showthread.php?t=64975)

speck 04-14-2009 10:39 PM

quick cab question
 
I'm not sure exactly how to ask this question, so I'll give an example:

Say I create a cab file which does nothing but copy a set of manila files to the windows directory.

I install the cab

Later I 'uninstall' the cab by going to 'remove programs'.

Question - when I installed the cab originally, if a file in the cab already exists in /windows, will the original file be backed up so that when I uninstall it will restore the original files?

silentjoker 04-14-2009 10:42 PM

Re: quick cab question
 
no it just overwrites the file and deletes the original

speck 04-14-2009 10:47 PM

Re: quick cab question
 
OK, thanks.

I wonder if I can do file operations in the cab to backup the original files? But then I guess I'd need a way to restore them on the uninstall. Oh well. I was just trying to figure out a quick way to be able to swap out icon sets easily.

silentjoker 04-14-2009 10:48 PM

Re: quick cab question
 
why not just make a cab with the original files so when u uninstall u just install the old one

speck 04-14-2009 11:09 PM

Re: quick cab question
 
OK :):) - that's a good idea - I was obviously over-thinking this!

Thanks! (and I hit that button :))

eenieMINI 04-14-2009 11:33 PM

Re: quick cab question
 
If you're overwriting stock manila you can just uninstall and the original files come back on reboot. If you're overwriting/overcabbing already changed files and you want to restore to the last change then yes, you'd need to back up before install or reinstall the first cab....


All times are GMT -4. The time now is 09:15 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0