PDA

View Full Version : Running de - elevated



NewsArchive
05-17-2008, 07:26 AM
Hi - as discussed in other threads, Arnors suggestion is a must I think.

My clients (on Vista) are having terrible problems trying to run WebUpdate
from my program. They are so frustrated they are actually not upgrading
which is sort of defeating the object.

I know this is not SB's fault but Vista on some machines takes forever (if
at all) to ask for permission to run WebUpdate. They quite often failo to
notice the orange flash on the lower taskbar as WebUpdate seeks permission
in the background.

So if there was ANY way at all that provision for running a program Not
Elevated could be provided it would be really appreciated even if only in a
limited format or for WebUpdate only.

Please note, I am not trying to get round UAC etc. on Vista because I
personally feel that if MS provide it then it should be used (rightly or
wrongly). But there are occasions (and WebUpdate is a prime example) when by
passing it would be really beneficial.

Any thoughts Friedrich?

Many thanks

John Fligg

NewsArchive
05-17-2008, 07:27 AM
John,

An application does not have access to Winsock under Vista/2008 when not
running elevated. That's why the wupdate.exe web update client in SB6
requests administrator execution level privileges.

Hope this helps.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-17-2008, 07:28 AM
And not sure if you read the following thread:
http://www.lindersoft.com/forums/showthread.php?p=19951

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-17-2008, 07:28 AM
Should read:
http://www.lindersoft.com/forums/showthread.php?p=19871

Friedrich

NewsArchive
05-17-2008, 07:29 AM
>
> Hi - as discussed in other threads, Arnors suggestion is a must I think.
>

By the way, what did Arnór suggest in other threads (in this NG?). Just to
make sure we already have his suggestions on our list and I did not miss it.

Friedrich

NewsArchive
05-18-2008, 04:39 AM
Roll on SB7 then!

John

NewsArchive
05-18-2008, 04:39 AM
>
> Roll on SB7 then!
>

Yep! :)

Friedrich

NewsArchive
05-18-2008, 04:40 AM
Friedrich - no did not read the aricle. Will do now. Thanks.

Arnor simply said running de - elevated would be nice <g>

Perhaps a tongue in cheek comment hinting at support for this as I
requested?

However point taken.

John

NewsArchive
05-18-2008, 04:40 AM
Hi John,

> Arnor simply said running de - elevated would be nice <g>
>
> Perhaps a tongue in cheek comment hinting at support for this as I
> requested?
>
> However point taken.

Two different pair of shoes here <g>. Arnór was talking about running an
application "de-elevated" from an "elevated" application. If you start
another application from an elevated application (e.g. at the end of an
installation), then this application will also run elevated. But your own
application should never run elevated. So you should never start your own
application from the installer.

Arnór needs a function to run an application "de-elevated" from an elevated
installer. Unfortunately, there is no known reliable way to handle this
under Vista and 2008.

Of course, SetupBuilder itself can generate applications that do not request
administrator execution level privileges (and run un-elevated). No problem.
Just change "General Information" -> "Generator Settings" -> "Requested
Execution Level" to "asInvoker".

If you do this with wupdate.sb6 then the wupdate.exe will not display any
elevation prompt because it will not request administrator execution level
privileges. But as a result, it cannot get access to the Winsock Internet
component to connect to the Internet <g>. In other words, wupdate.exe would
be worthless.

Do you see what I mean?

Friedrich

NewsArchive
05-18-2008, 04:41 AM
Understood (I think <g>)

Like I said - roll on SB7.

Thanks

John

NewsArchive
05-18-2008, 04:42 AM
Hi Friedrich,

>By the way, what did Arnór suggest in other threads (in this NG?). Just to
>make sure we already have his suggestions on our list and I did not miss it.

It was a joke, I suggested that we needed an option in vista to run
de-elevated<g> As in running a program at the end of the install
which doesn't work because the installer is elvated. Unfortunately
there is no option to de-elevate, hence my comment<g>

Best regards,

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


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

NewsArchive
05-18-2008, 04:43 AM
Arnor,

> Unfortunately there is no option to de-elevate, hence my comment<g>

I'm using the task scheduler just to do the oposite: I mean to run an
elevated application at Windows startup with no UAC prompts.
Maybe there a way to use it to run your standard user app as soon as the
installer has done its job ?

Regards

PS: I don't have a clue about SB feasibility...
--
Olivier Cretey
www.clarion.free.fr

NewsArchive
05-18-2008, 04:44 AM
Hi Olivier,

>Maybe there a way to use it to run your standard user app as soon as the
>installer has done its job ?

That's an interesting thought!

Best regards,

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


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