PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-2010, 04:23 PM
Rhodium500's Avatar
Banned User
Offline
Pocket PC: TP2
Carrier: VZW
 
Join Date: Mar 2009
Posts: 528
Reputation: 265
Rhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Cab Making

Is it possible to make a cab install files and also delete one file on the phone? I have WinCE cab but I don't know how or if it is easy to make the cab delete a file.
I have to delete an old database file for a new program to work properly.

Last edited by Rhodium500; 04-07-2010 at 09:52 AM.
Reply With Quote
  #2 (permalink)  
Old 04-06-2010, 04:45 PM
sanjsrik's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Rooted Stock ROM
Carrier: Sprint
 
Join Date: Apr 2007
Posts: 716
Reputation: 320
sanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regularsanjsrik is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

searched google:

http://msdn.microsoft.com/en-us/library/bb158712.aspx
Reply With Quote
  #3 (permalink)  
Old 04-07-2010, 09:50 AM
Rhodium500's Avatar
Banned User
Offline
Pocket PC: TP2
Carrier: VZW
Threadstarter
 
Join Date: Mar 2009
Posts: 528
Reputation: 265
Rhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

Am I missing something. I don't see my question answered in your link.
Reply With Quote
  #4 (permalink)  
Old 04-07-2010, 10:06 AM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

you can do it with a provxml, add this to "pre XML" or "post XML" section, depending on needs, on the "cab information" page in wincecab manager
Code:
<characteristic type="FileOperation">
	<characteristic type="*full path of file to delete*" translation="install">
		<characteristic type="Delete">
			<parm name="ForceDelete" /> 
		</characteristic>
	</characteristic>
</characteristic>
Reply With Quote
This post has been thanked 2 times.
  #5 (permalink)  
Old 04-07-2010, 10:13 AM
Rhodium500's Avatar
Banned User
Offline
Pocket PC: TP2
Carrier: VZW
Threadstarter
 
Join Date: Mar 2009
Posts: 528
Reputation: 265
Rhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

Thanks for the help. does this look right.
Code:
<characteristic type="FileOperation">
    <characteristic type="\Application Data\HTC\databases\forecast_cache.db" translation="install">
        <characteristic type="Delete">
            <parm name="ForceDelete" /> 
        </characteristic>
    </characteristic>
</characteristic>
Reply With Quote
  #6 (permalink)  
Old 04-07-2010, 10:49 AM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

looks right to me, try it out and make sure
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 04-08-2010, 03:03 PM
Rhodium500's Avatar
Banned User
Offline
Pocket PC: TP2
Carrier: VZW
Threadstarter
 
Join Date: Mar 2009
Posts: 528
Reputation: 265
Rhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regularRhodium500 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

It didn't work. What should I try now?
Reply With Quote
  #8 (permalink)  
Old 04-08-2010, 05:01 PM
sebo's Avatar
Regular 'Geeker
Offline
Pocket PC: TP2
Carrier: Sprint
 
Join Date: Feb 2008
Posts: 463
Reputation: 1644
sebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

from what i know that isn't possible...you have to create a SETUP.DLL in WinCE manager to delete files, and creating these DLLs isn't exactly easy either since you have to write the functions in C++
__________________
the internet is FREE..
search and you shall find..
Reply With Quote
  #9 (permalink)  
Old 04-08-2010, 06:37 PM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

yes it is possible, check out my cab from the new sprint navigation thread. it does exactly this. it deletes the old preferences file before installing the new stuff. the file may be in use hence is why you cannot delete or override it. try turning off manila then installing your cab.
Reply With Quote
This post has been thanked 2 times.
  #10 (permalink)  
Old 04-08-2010, 09:09 PM
sebo's Avatar
Regular 'Geeker
Offline
Pocket PC: TP2
Carrier: Sprint
 
Join Date: Feb 2008
Posts: 463
Reputation: 1644
sebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

you're right it is possible, just tested it..wonder it it's possible to move stuff this way? a lot easier than dealing with dlls that's for sure!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:37 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com