Skip to main content

Auto Installing files on Windows CE Device - Removing install prompt

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework - VB.NET >> Auto Installing files on Windows CE Device - Removing install prompt Page: [1]
Login
Message << Older Topic   Newer Topic >>
Auto Installing files on Windows CE Device - Removing i... - 11/10/2007 12:05:33 PM   
Wes

 

Posts: 102
Score: 0
Joined: 2/5/2003
Status: offline
I could not see a Windows CE category on the forum so this is the next best place!

Device = Symbol PPT8800, Windows CE.

I am using the symbol cpy file and also editing the registry in order to copy files from the permanent memory to the windows folder on cold boot. The registry edit executes the copied files on cold boot.

However I get a prompt "Install Here", each time a file is about to be executed. This means on cold boot the user has to click "OK" each time they are prompted to install a setup file.

Does anyone know how to disable the prompt and install the files automatically?

Here is an extract from the reg file:
[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog12]
"Name"="\windows\wceload.exe"
"Command"="\Windows\3_xOpenNETCF.SDF.WCE4.ARMV4.CAB"
"Continue"=dword:0
"ColdBootOnly"=dword:1

Post #: 1
RE: Auto Installing files on Windows CE Device - Removi... - 11/11/2007 3:42:28 AM   
petevick


Posts: 3320
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
Hi,
this help at all ?

Pete

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to Wes)
Post #: 2
RE: Auto Installing files on Windows CE Device - Removi... - 11/11/2007 12:22:27 PM   
Wes

 

Posts: 102
Score: 0
Joined: 2/5/2003
Status: offline
Hi Pete,

thanks, that does look exactly like the solution. However it doesnt run the file now at all on cold boot. Can you verify that I am applying the command line syntax ok. I have tried both methods below.

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]
"Name"="\windows\wceload.exe"/noaskdest
"Command"="\Windows\1_xnetcf.all.wce4.armv4.cab"
"Continue"=dword:0
"ColdBootOnly"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]
"Name"="\windows\wceload.exe /noaskdest"
"Command"="\Windows\1_xnetcf.all.wce4.armv4.cab"
"Continue"=dword:0
"ColdBootOnly"=dword:1

(in reply to petevick)
Post #: 3
RE: Auto Installing files on Windows CE Device - Removi... - 11/11/2007 12:43:32 PM   
Wes

 

Posts: 102
Score: 0
Joined: 2/5/2003
Status: offline
Its ok, I have found the correct syntax, as follows. Works prefect, thanks for your help


[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog11]
"Name"="\windows\wceload.exe"
"Command"="/delete 1 /noaskdest /noui \Windows\2_xsymbol.all.arm.cab"
"Continue"=dword:0
"ColdBootOnly"=dword:1

(in reply to Wes)
Post #: 4
RE: Auto Installing files on Windows CE Device - Removi... - 11/11/2007 2:43:15 PM   
petevick


Posts: 3320
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
Hi,
there are some more detail here

Dunno how it would run from the registry though - sorry.

Are there not details with the symbol?



_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to Wes)
Post #: 5
RE: Auto Installing files on Windows CE Device - Removi... - 11/15/2007 8:24:34 AM   
Wes

 

Posts: 102
Score: 0
Joined: 2/5/2003
Status: offline
Hi,

Symbol made available Prog10-20 in there registry setting
[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\...]

First of all I copy the files to the windows location (using .cpy file - again, this is symbol specific). Then I add the registry setting as above. I have it working ok now.

If anyone wants any further info on how to do this, let me know!

(in reply to petevick)
Post #: 6
RE: Auto Installing files on Windows CE Device - Removi... - 4/30/2008 9:21:28 AM   
pooja_sa1

 

Posts: 1
Score: 0
Joined: 4/30/2008
Status: offline
Hi Wes,
I have the somewhat same problem... I will be grateful for any help provided.... actually i am programming for a symbol GUN MC3090. In this if i delete a profile "Symbol Out of Box Magic" and do a warm boot then it does not display the profile entry when checked through "Manage profiles" but if it is deleted and do a cold boot then the profile reappears in "Manage Profile"... what i want is when i delete the profile and do a cold boot then it should not appear again in "Manage profile"... Please help me in this ??

(in reply to Wes)
Post #: 7
Page:   [1]
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework - VB.NET >> Auto Installing files on Windows CE Device - Removing install prompt Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.109