For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > March 2006 > silent CAB install









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author silent CAB install
SBunger

2005-10-21, 7:04 pm

I'm trying to disable the UI for a CAB file install on Smartphone. I have
tried the /noui flag that disables the UI on a PPC but the install fails on
Smartphone when I do.
Robert Levy [MS]

2005-10-21, 9:56 pm

The cab needs to be signed with a privileged certificate in order to install
silently

--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile

"SBunger" <SBunger@discussions.microsoft.com> wrote in message
news:84DEA56B-43CD-40F1-9574-CEAD3A89C709@microsoft.com...
> I'm trying to disable the UI for a CAB file install on Smartphone. I have
> tried the /noui flag that disables the UI on a PPC but the install fails
> on
> Smartphone when I do.



SBunger

2005-10-24, 7:02 pm

I tried this with the Test Privileged code signing certificate (comes with
Smartphone 2003 sdk) but it still fails with the /noui flag.

"Robert Levy [MS]" wrote:

> The cab needs to be signed with a privileged certificate in order to install
> silently
>
> --
> -Robert Levy
> Program Manager, Windows Mobile Developer Experience
> http://blogs.msdn.com/windowsmobile
>
> "SBunger" <SBunger@discussions.microsoft.com> wrote in message
> news:84DEA56B-43CD-40F1-9574-CEAD3A89C709@microsoft.com...
>
>
>

Robert Levy [MS]

2005-10-24, 7:02 pm

Was that on the emulator or a device?

--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile

"SBunger" <SBunger@discussions.microsoft.com> wrote in message
news:5C8BAF9D-999E-4490-88DF-314E0B6BF14C@microsoft.com...[color=darkred]
>I tried this with the Test Privileged code signing certificate (comes with
> Smartphone 2003 sdk) but it still fails with the /noui flag.
>
> "Robert Levy [MS]" wrote:
>


SBunger

2005-10-24, 7:02 pm

on device MPx220

"Robert Levy [MS]" wrote:

> Was that on the emulator or a device?
>
> --
> -Robert Levy
> Program Manager, Windows Mobile Developer Experience
> http://blogs.msdn.com/windowsmobile
>
> "SBunger" <SBunger@discussions.microsoft.com> wrote in message
> news:5C8BAF9D-999E-4490-88DF-314E0B6BF14C@microsoft.com...
>
>
>

Robert Levy [MS]

2005-10-24, 7:02 pm

Ok, that makes sense. The SDK test certs aren't on actual devices. They
are on the emulator though.

For real devices, you'll have to get the CAB signed with the Mobile2Market
privileged certificate

--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile

"SBunger" <SBunger@discussions.microsoft.com> wrote in message
news:8C901BCB-5872-466F-8AD0-DDE3E04E8270@microsoft.com...[color=darkred]
> on device MPx220
>
> "Robert Levy [MS]" wrote:
>


SBunger

2005-10-24, 7:02 pm

Please see article by James Pratt at following link. I have used the test
privileged certificate on my device for other privileged operations.

http://msdn.microsoft.com/library/d...ne_security.asp



"Robert Levy [MS]" wrote:

> Ok, that makes sense. The SDK test certs aren't on actual devices. They
> are on the emulator though.
>
> For real devices, you'll have to get the CAB signed with the Mobile2Market
> privileged certificate
>
> --
> -Robert Levy
> Program Manager, Windows Mobile Developer Experience
> http://blogs.msdn.com/windowsmobile
>
> "SBunger" <SBunger@discussions.microsoft.com> wrote in message
> news:8C901BCB-5872-466F-8AD0-DDE3E04E8270@microsoft.com...
>
>
>

riki

2005-10-25, 3:57 am

SBunger wrote:
> Please see article by James Pratt at following link. I have used the test
> privileged certificate on my device for other privileged operations.
>


try this:
http://homepages.inspire.net.nz/~ga...ticle/#privmode

riki


I poured beer on my lawn and it came up half cut!
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Carlton Craighead

2005-10-28, 3:58 am

In this regard about how you need priviledged certificate to complete a
silent install, would this be true for PPC 5.0 devices also?



C




"riki" <see_my_home@page> wrote in message
news:%23Mc6HOR2FHA.1100@TK2MSFTNGP15.phx.gbl...
> SBunger wrote:
>
> try this:
> http://homepages.inspire.net.nz/~ga...ticle/#privmode
>
> riki
>
>
> I poured beer on my lawn and it came up half cut!
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com



Robert Levy [MS]

2005-10-28, 7:03 pm

On WM5 Pocket PC with the default policy you need to be signed but an
unprivileged certificate will do the trick.

--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile

"Carlton Craighead" <carlton@bitworks2000.com> wrote in message
news:eMiG%23d42FHA.268@TK2MSFTNGP10.phx.gbl...
> In this regard about how you need priviledged certificate to complete a
> silent install, would this be true for PPC 5.0 devices also?
>
>
>
> C
>
>
>
>
> "riki" <see_my_home@page> wrote in message
> news:%23Mc6HOR2FHA.1100@TK2MSFTNGP15.phx.gbl...
>
>



SBunger

2005-11-02, 3:58 am

All,

Found that for Smartphone 2003 the flags was changed from /noui to /silent.
Another change was that the /silent parameter must now come after the CAB
file in the wceload.exe command line.

"SBunger" wrote:
[color=darkred]
> I tried this with the Test Privileged code signing certificate (comes with
> Smartphone 2003 sdk) but it still fails with the /noui flag.
>
> "Robert Levy [MS]" wrote:
>
SBunger

2005-11-04, 3:58 am

Further investigation and testing revealed that an unprivileged certificate
is sufficient for using the /silent parameter.

"Robert Levy [MS]" wrote:

> The cab needs to be signed with a privileged certificate in order to install
> silently
>
> --
> -Robert Levy
> Program Manager, Windows Mobile Developer Experience
> http://blogs.msdn.com/windowsmobile
>
> "SBunger" <SBunger@discussions.microsoft.com> wrote in message
> news:84DEA56B-43CD-40F1-9574-CEAD3A89C709@microsoft.com...
>
>
>

Robert Levy [MS]

2005-11-04, 7:01 pm

Depends on the device configuration. Some devices are setup to treat
unpriveleged as privileged, but this is not the default.

--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile

"SBunger" <SBunger@discussions.microsoft.com> wrote in message
news:96B992A5-E4EF-450C-89F8-8580EF36677C@microsoft.com...[color=darkred]
> Further investigation and testing revealed that an unprivileged
> certificate
> is sufficient for using the /silent parameter.
>
> "Robert Levy [MS]" wrote:
>


neax

2006-03-20, 3:50 pm

We are developing a hard reset solution on wm5 device. we have developed an autorun.exe that will install .cab files stored in the extended ROM.

However, we seem to have issues...'noui' for wceload does not seem to stop the security from stalling the install, works fine without 'noui' and user taps the yes and ok prompts, but have been unsucessful to get it to run without user input (in silent mode).

Will implementing certs overcome this problem? :P
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com