PDA

View Full Version : Wupdate.exe



NewsArchive
07-31-2005, 08:08 AM
Hi Friedrich,

Finally getting around implementing calling wupdate with the runtime
switches to just check for updates. It does not seem to work
properly. I'm calling it from a C6.0 app with:

Run('wupdate.exe /C /Q',True)
If ErrorCode()
Message('Error in Run (' & ErrorCode() & ') ' & Error())
Else
Message('Runcode (' & RunCode() & ')')
End

I've tried this with both '/C /Q' and just '/C' and in both cases I
get:

"Error in Run (300) Unknown Error Posted : 300"

Any ideas???

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
07-31-2005, 08:08 AM
Hi Friedrich,

>Run('wupdate.exe /C /Q',True)

Should have checked the script better<g> It's /S for silent not /Q
for quiet<g>

Anyway, it always seems to return error code 300, but I'm just
ignoring it and checking the RunCode(). That works:)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
07-31-2005, 08:08 AM
There's probably a German -> English -> Icelandic translation problem....<g>

paul macfarlane