WCELoad - Confirm file replace message

G

Guest

I am working with the .Net Compact Framework, Windows CE 4.2 and VS .NET 2003

I have a situation where I need to silently install a cab file on the CE
device, I cannot rely on the user pressing any yes/no buttons, so I have
created the cab so that there are no read-only files etc.

I install the cab by copying it onto the device and then remotely calling
wceload.exe, using the OpenNetCF.Desktop.Communication.RAPI class, and giving
it command line argument of /noaskdest "test.cab". Every now and then, and I
cannot seem to nail the pattern, I receive a "Confirm file replace" message
with Yes, Yes to All, No and No to All buttons. If I click Yes to All, I
don't receive the message when I attempt to install the cab again, if I click
No to All, I do, as you would expect.

I have attempted to use /noui, but that doesn't help at all.
I have attempted changing the fAskOptions value under the
HKLM\Software\Apps\Microsoft Application Installer key, to no avail.
I have exported the registry, both before and after an install and compared
the two and there nothing out of the ordinary is changed.
I have exported the filesystem information, again, before and after an
install and compared the two and, again, nothing is out of the ordinary.

I would appreciate any ideas as to why this is occurring.
 
G

Guest

Sergey,

Thank you for the reply. I had seen this post previously and had tried the
"/noui" flag but without any luck.

I have only just worked out what the error was:

We have had two developers working on this project; somehow a newer version
of a dll that we are using has been installed on only one machine. If we
attempt to install a cab containing the old version of the dll over the new
dll we receive the "Confirm file replace" message. If the new one is
installed over the old one, no issues pop up.

Sergey Bogdanov said:
See this thread, "/noui" should work for you:
http://groups.google.com/group/micr..._frm/thread/9adf099ddc4040bb/2702cfa33d11212c



--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Christian said:
I am working with the .Net Compact Framework, Windows CE 4.2 and VS .NET 2003

I have a situation where I need to silently install a cab file on the CE
device, I cannot rely on the user pressing any yes/no buttons, so I have
created the cab so that there are no read-only files etc.

I install the cab by copying it onto the device and then remotely calling
wceload.exe, using the OpenNetCF.Desktop.Communication.RAPI class, and giving
it command line argument of /noaskdest "test.cab". Every now and then, and I
cannot seem to nail the pattern, I receive a "Confirm file replace" message
with Yes, Yes to All, No and No to All buttons. If I click Yes to All, I
don't receive the message when I attempt to install the cab again, if I click
No to All, I do, as you would expect.

I have attempted to use /noui, but that doesn't help at all.
I have attempted changing the fAskOptions value under the
HKLM\Software\Apps\Microsoft Application Installer key, to no avail.
I have exported the registry, both before and after an install and compared
the two and there nothing out of the ordinary is changed.
I have exported the filesystem information, again, before and after an
install and compared the two and, again, nothing is out of the ordinary.

I would appreciate any ideas as to why this is occurring.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top