Re: xml provisioning using FileCopy operation
- From: "Big D" <BigDaddy@xxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 08:17:07 -0400
Based on the xml file below all I am trying to do is copy a file from a ROM
folder to the Windows directory. We use to use Cpy files to do our copying
but per Microsoft documentation they recommend using provisioning files.
I ran into a permissions issue to modify the registry with using a cpf file.
With much googling I came across this article:
http://blogs.msdn.com/marcpe/archive/2006/01/11/511921.aspx
I modified the value and I no longer had to sign Cpf files. I moved on and
created a provisioning file that would copy files from a ROM folder. Now I
get a permission error with copying a file. Not sure if I need to change a
value to assign a higher role.
After more and more researching I found this artcle related to provisioning
when the device is cold booted. I created the provxml file and it never gets
processed from the ROM folder on a cold boot.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51conbootstrappingsmartphonethroughromconfigurationxmlfile.asp
I am trying many ways of proviosning to some how to either process files on
a cold boot or through a cpf which is like a Cab file.
I relize WM5 is new but the infomration is lacking and some what
frustrating.
I appreciate any information you can help me out with. Thanks again!
"Lochan Pandya" <LochanPandya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:507F7592-3B2A-4839-9D30-36C429F97542@xxxxxxxxxxxxxxxx
Can you just explain what do you mean by file operation? If you r trying
to
deploy/change some exe/dll you'll need the files to be signed too.
Lochan
"Big D" wrote:
I can install other cpf's that use the registry. I had to change a value
in
the registry that i found in the sdk security folder. It's called
secuirtyOff.cpf. Once I applied setting I was able to install cpf's. Now
that I want to do a file operation I am getting a access denied error.
"Lochan Pandya" <LochanPandya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2D0A1F50-1C61-4E9F-A8BF-B1BC31D9A403@xxxxxxxxxxxxxxxx
You need to sign your .cpf file thrhu a trusted certificate or a test
certificate.
WM5 will not allow the .cpf file to execute if it is not signed.
For testing purpose u can sign it thru a test certificate
For test certificate u can use :
1.> SDKFailsafeEmulator.pfx or
2.> SDKSamplePrivDeveloper.pfx or
3.> SDKSampleUnPrivDeveloper.pfx
located at c:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0
Pocket PC SDK\Tools
First u need to have windows mobile 5.0 POcket PC SDK installed with
VS2005
Lochan
"Big D" wrote:
I am in running into a system permission issue with using a cpf file
that
was created from a _setup.xml. I created the cpf file from xml code
below. I
clicked on cpf on the device and the message I get is not enough
permissions.
I ran the one the secuirtyoff.cpf from the PocketPC sdk. I also
modified
the
registry to grant manager policy to 144. I am not sure why/ Or what
policy
is not allowing me to copy files using the provisioning process.
Any help is appreciated.
SampleCpy.xml
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="\Windows" translation="filesystem">
<characteristic type="MakeDir"/>
<characteristic type="example.txt" translation="fileystem">
<characteristic type="Copy">
<parm name="Source" value="\Application\example.txt"
translation="filesystem"/>
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
.
- Follow-Ups:
- Re: xml provisioning using FileCopy operation
- From: Lao K
- Re: xml provisioning using FileCopy operation
- References:
- xml provisioning using FileCopy operation
- From: Big D
- Re: xml provisioning using FileCopy operation
- From: Big D
- Re: xml provisioning using FileCopy operation
- From: Lochan Pandya
- xml provisioning using FileCopy operation
- Prev by Date: Re: xml provisioning using FileCopy operation
- Next by Date: Re: GETting and POSTing from a Pocket PC
- Previous by thread: Re: xml provisioning using FileCopy operation
- Next by thread: Re: xml provisioning using FileCopy operation
- Index(es):
Relevant Pages
|
Loading