-
Re: Running wupdate.exe
Hi Kai,
> app. When i call the wupdate.exe from within my app i get the elevation prompt.
That is correct. You will ALWAYS get the prompt. The manifest ONLY tells
how the program will handle when it is run, i.e. if it will force itself to
be elevated (RequireAdministrator) or if it is not elevated (asInvoker).
The web update is always run elevated, so unless your application is also
elevated running the web update will prompt the user to elevate. For
example when I run SB on Vista, if I don't run it elevated, I get an
elevation prompt when I do the "Check for updates"
See
http://www.windowsecurity.com/articl...rol-Vista.html
- they have a nice writeup on it with screenshots:)
The only way to NOT see the elevation prompts is to turn UAC off, which I do
not recommend.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
-
Re: Running wupdate.exe
Hello Arnor,
ok, but why some webUpdates still looks if an update is available without
elevation prompt? Ok, when an update is available it´s ok to verify the
program with the elevation prompt but i like a background updatecheck without
user input....
best regards
Kai
-
Re: Running wupdate.exe
Hi Kai
> ok, but why some webUpdates still looks if an update is available without
> elevation prompt? Ok, when an update is available it´s ok to verify the
> program with the elevation prompt but i like a background updatecheck without
> user input....
Can you name a sample? I don't recall seeing SB webupdate without elevation
prompt unless the program calling it was elevated.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
-
Re: Running wupdate.exe
Hi Arnor,
i.e. Avira Antivir, Adobe PDF, some of my lenovo thinkpad tools stuff checks
for updates without user input.
Not SB - that´s true. But what do the other updates other than SB?
Best regards
Kai
-
Re: Running wupdate.exe
Hi Kai,
> i.e. Avira Antivir, Adobe PDF, some of my lenovo thinkpad tools stuff checks
> for updates without user input.
>
> Not SB - that´s true. But what do the other updates other than SB?
Friedrich will correct me if I'm wrong, but I understand that SB uses HTTP
protocol to download the manifest file from the server using Winsock
technology. That requires elevation under Vista. I "bypassed" this in a
client project by using NetTalk to download it via FTP (which does NOT
prompt for elevation) to do a silent checking.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
-
Re: Running wupdate.exe
Hello Arnor,
when this is the reason, why sb can´t use ftp? I think this is a big show
stopper (you say this in english?) ;-)
Best regards
Kai
-
Re: Running wupdate.exe
> when this is the reason, why sb can´t use ftp? I think this is a big show
> stopper (you say this in english?) ;-)
Well, not a showstopper at all because 90%+ of all companies do not allow
FTP communication today. FTP would result in a support nightmare for you!
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
-
Re: Running wupdate.exe
perhaps i can´t remove the manifest from my clarion app and use the SB manifest
because i use XPThemes. It´s possible that XPThemes add the manifest bei
itself?
Best regards
Kai
-
Re: Running wupdate.exe
Kai,
> the xp themes will work on my app but i have problem with the elevation of
> my app. When i call the wupdate.exe from within my app i get the elevation
> prompt. only if i run my app as administrator the wupdate runs without the
> elevation prompt. Friedrich give me some infos for this too. but i can´t
> figure out what i have to do for the elevation...
If you run YOUR application as administrator, then you'll see the elevation
prompt for YOUR application. You start wupdate.exe from your (already
elevated) application and the elevated privileges are carried over to that
application. So there is no 2nd elevation prompt.
If you run your application asInvoler (non-elevated) and you call
wupdate.exe, then wupdate.exe requests administrator execution level
privileges and you see the elevation prompt.
Does this help?
Friedrich
-
Re: Running wupdate.exe
Hello Friedrich,
yes i understand that for now.
But how can tools like avira antivir check for updates without user input?
If i like to check for updates ones a day it is not comfortable for the users
to interact with something about the update check. for me the user can get the
elevation prompt when there is something to update but i don´t understand why
the check for updates will need that. when my prog calls some dll´s there is no
need for any elevation.
Thanks and best regards
Kai