If it does not belong anywhere else and has to do with Pocket PCs post it here.
Apr 14th, 2009, 10:16 pm
I am trying to create a _setup.xml for a cab I'm making that will either
A)Move links or
B)Delete them

Here are my provisions:
For moving the .lnk I have tried this:
Code: Select all<wap-provisioningdoc>
 
<!-- Owner Preferences -->
<characteristic type="file operation">
<characteristic type="%CE2%\Start Menu\Programs\Internet" translation="install">
    <characteristic type="MakeDir" />
    <characteristic type="Internet Explorer.lnk" translation="install">
        <characteristic type="Move">
        <parm name="Source" value="%CE2%\Start Menu\Programs\Internet Explorer.lnk" translation="install"/>
        </characteristic>   
    </characteristic>
</characteristic>
 
</characteristic>
</wap-provisioningdoc>


And for Deleting them so I can rewrite them myself, I have tried this:

Code: Select all<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
    <!-- \Windows\Start Menu -->
    <characteristic type="\Windows\Start Menu\Windows Media.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Calendar.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <!-- \Windows\Start Menu\Programs -->
    <characteristic type="\Windows\Start Menu\Programs\ActiveSync.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Calculator.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Camera.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\File Explorer.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Pictures &amp; Videos.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Internet Sharing.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Notes.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\QuickMenu.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Search.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
    <characteristic type="\Windows\Start Menu\Programs\Tasks.lnk" translation="install">
      <characteristic type="Delete">
        <parm name="ForceDelete" />
      </characteristic>
    </characteristic>
  </characteristic>
</wap-provisioningdoc>


and this...

Code: Select all<wap-provisioningdoc>
 <characteristic type="FileOperation">
   <characteristic type="%CE2%\Start Menu\Programs\Internet Explorer.lnk" translation="install">
 <characteristic type="Delete">
 <parm name="ForceDelete"/>
    </characteristic>
  </characteristic>
</characteristic>
</wap-provisioningdoc>


However, nothing seems to be working for me. If it should, am I doing something wrong with the cab installation or what?
Apr 14th, 2009, 10:16 pm

SUPPORT DEVELOPERS. IF YOU LIKE IT, BUY IT.