|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Junior Member
Join Date: Apr 2011
Posts: 4
|
How to delete a file from pocket PC in the process of install
Hi ;
I have a script which sent some cab files to pocket pc and install them. I want my script to do that: When installing is finished, control the install directory on pocket pc (ex: program files\Demo) and delete a file specified(ex: demo.sdf). How can I do that? Thanks.. |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Jan 2011
Posts: 69
|
...
I think System::Call rapi::CeDeleteFile.... should work for you.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Apr 2011
Posts: 4
|
...
Thanks for your quick response.
I have no idea about code you wrote. Can you give me a link, refference or a key words about it? |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Jan 2011
Posts: 69
|
...
Have a look at the NSIS website. In the developer center there are PDA examples where you can read more about it.
Cheers |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Apr 2011
Posts: 4
|
Only example I can found is this: http://nsis.sourceforge.net/Copying_files_to_pda
However, I couldn't solve my problem with this link. Is there any example directly about CeDeleteFile? |
![]() |
![]() |
![]() |
#6 |
Member
Join Date: Jan 2011
Posts: 69
|
...
Can´t test it in the moment but it should be:
PHP Code:
|
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Apr 2011
Posts: 4
|
It's worked Highcoder. Thank you very much.
|
![]() |
![]() |
![]() |
#8 |
Member
Join Date: Jan 2011
Posts: 69
|
...
Fine.
![]() But keep in mind that there is no errorhandling in this code... The better code is: PHP Code:
|
![]() |
![]() |
![]() |
|
Tags |
cab, delete, pocket, pocket pc |
Thread Tools | Search this Thread |
Display Modes | |
|
|