Confirm File Replace

  • Thread starter Thread starter MDB
  • Start date Start date
M

MDB

Hello all, I pragmatically install updates to my handhelds and when doing
so, I get a Confirm File Replace message with Yes, No, Yes To All, No To
All, is there a way to make this message go away and always use the "Yes To
All" option? Since this is done automatically, I do not want my users to be
able to select No.
 
What method are you using to copy the files? using the System.IO.File.Copy
method exposes no UI.

Peter
 
I am not sure since it is done automatically. I am using intermec handhelds
that check a cab file directory. When there is a new file in it, it
automatically executes the cab file which is when I get this message. For
example, I am currently trying to update the handhelds from compact
framework SP1 to SP3. When the cab file is executed, I get this message.


Thanks
 
Hi MDB,

to extend what Peter said - we were lucky in such a situation by changeing the command of the file assignment.
So try to check (via remote reg edit) the command for the CAB extension. If you find it just extend the command
with the switch Peter suggested.
BUT - this will disable warnings globaly on your device.

Another hope is that the "autstarte app" writes its parameters to the registry - I would try to search the registry
for the command - maybe this helps.

If the command is hardcoded - you are in bad luck.

HTH

Manfred
 
Back
Top