January 17 2011 03:15 AM
I'm trying to craft a _sstransferagent.xml for a CN50 device. Part of the process implies to empty the Programs icons (\Windows\Start Menu\Programs) and copy new icons for the few programs that will be allowed to be run.
In the XML file I have this section:
<DeleteFile File="\Windows\Start Menu\Calendar.lnk"/> <DeleteFile File="\Windows\Start Menu\Contacts.lnk"/> <DeleteFile File="\Windows\Start Menu\Help.lnk"/> <DeleteFile File="\Windows\Start Menu\Internet Explorer.lnk"/> <DeleteFile File="\Windows\Start Menu\Messaging.lnk"/> <DeleteFile File="\Windows\Start Menu\Phone.lnk"/> <DeleteFile File="\Windows\Start Menu\Programs\ActiveSync.lnk"/>
After a clean boot, I've found that many icons still remain, and the Games folder. Examining the sstransferagent.txt log file I find some 'Delete File Failed' messages. I've been investigating and I've found that the icons that are not removed (Getting Started, Messenger, Task Manager, Windows Live, Windows Media) they are all marked as Read Only.
Could this be the reason why _sstransferagent.xml cannot delete them? Is there any possibility to SSTransferAgent delete these files or an alternative solution?
Also, deleting the Games folder doesn't work. The log says:
Curiously I found no problem deleting the Office Mobile folder.
Thanks in advance
January 17 2011 08:02 AM
I finally decided to remove the entire folder, so the problem is partially solved (strange why cannot delete individual files but can delete the folder itself without any problem). Now I have this code:
<DeleteDir Dir="\Windows\Start Menu\Programs"/> <DeleteDir Dir="\Windows\Start Menu\Office Mobile"/> <DeleteDir Dir="\Windows\Start Menu\Settings"/>
I get an error trying to delete the Settings Folder:
DelDir1 err -18.
Any idea of what means this error code?
January 18 2012 06:03 PM
I am also trying to move or delete the shortcuts to Microsoft apps in the start menu. However, I am not having success using either the DeleteDir Element or the File Element.
I working with a CK3 on WM6.1.
Could you please share how you have been able to accomplish this? Thanks in advance for your help!
<?xml version="1.0" encoding="UTF-8"?>
January 18 2012 10:21 PM
when you see files on a windows ce or windows mobile device, you have to distinguish between XIP files (Files in ROM) and object store files. You cannot delete XIP files on such devices.
AFAIR lnk files (links to programs) have been part of ROM in the past. But that may be different for the one or other file.
If you want to lock down a device, there are other approaches like Intermec Launcher or Blacklists to keep the user from doing unwnated things on a device.
.....................Don't be lazy, give KUDOS........................
New Knowledgebase: http://hsm.force.com/publickb
© 2013 Honeywell International Inc.