Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How does Google Chrome Installer gets installed with UAC Prompt

How does Google Chrome Installer gets installed with UAC Prompt

Scheduled Pinned Locked Moved C / C++ / MFC
questionworkspace
11 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Raj Aryan 1001

    Hey Friends I downloaded google chrome, clicked on download button, a eula was displayed and volla google chrome was downloaded and installed without any UAC prompt. That's really nice , however when i create my own setup applications (with InoSetup) they display uac prompt. If UAC prompt can be removed from setup, it would be great , is'nt it? Any idea how google chrome setup is doing the magic? Regards

    H Offline
    H Offline
    Hans Dietrich
    wrote on last edited by
    #2

    For one thing. Chrome gets installed (on Win7) to C:\Users\Hans\AppData\Local\Google\Chrome. This is a user-accessible folder (unlike Program Files), so no UAC prompt. Note: there might be other things that suppress the UAC interaction.

    Best wishes, Hans


    [Hans Dietrich Software]

    R 1 Reply Last reply
    0
    • R Raj Aryan 1001

      Hey Friends I downloaded google chrome, clicked on download button, a eula was displayed and volla google chrome was downloaded and installed without any UAC prompt. That's really nice , however when i create my own setup applications (with InoSetup) they display uac prompt. If UAC prompt can be removed from setup, it would be great , is'nt it? Any idea how google chrome setup is doing the magic? Regards

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #3

      Raj Aryan 1001 wrote:

      it would be great , is'nt it?

      No. If one user were able to install an app, remove an app, or alter an app in a way that affects all users of the system, it would not be great. It would be unsafe. :|

      Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      R 1 Reply Last reply
      0
      • H Hans Dietrich

        For one thing. Chrome gets installed (on Win7) to C:\Users\Hans\AppData\Local\Google\Chrome. This is a user-accessible folder (unlike Program Files), so no UAC prompt. Note: there might be other things that suppress the UAC interaction.

        Best wishes, Hans


        [Hans Dietrich Software]

        R Offline
        R Offline
        Raj Aryan 1001
        wrote on last edited by
        #4

        nops that does not seems correct. the uac prompt is displayed before even the installation begins.

        H 1 Reply Last reply
        0
        • R Raj Aryan 1001

          nops that does not seems correct. the uac prompt is displayed before even the installation begins.

          H Offline
          H Offline
          Hans Dietrich
          wrote on last edited by
          #5

          As I said, there might be other things involved, besides the installation folder.

          Raj Aryan 1001 wrote:

          the uac prompt is displayed before even the installation begins.

          I have no idea what this means. You mean before you even click on the install package, you get a UAC prompt? That makes no sense. Some other things: does your install package reference the registry? Have you checked the manifest settings?

          Best wishes, Hans


          [Hans Dietrich Software]

          R 1 Reply Last reply
          0
          • H Hans Dietrich

            As I said, there might be other things involved, besides the installation folder.

            Raj Aryan 1001 wrote:

            the uac prompt is displayed before even the installation begins.

            I have no idea what this means. You mean before you even click on the install package, you get a UAC prompt? That makes no sense. Some other things: does your install package reference the registry? Have you checked the manifest settings?

            Best wishes, Hans


            [Hans Dietrich Software]

            R Offline
            R Offline
            Raj Aryan 1001
            wrote on last edited by
            #6

            forget about my installer, let's take any other installer, let's say internet explorer when you download it will ask you whether to run it or save it? google chrome does not asks to run it or save it, it just gets started automatically now here the thing is that probably google chrome installer is running on my pc without any prompts whatsoever installation page of google chrome [^] ie http://windows.microsoft.com/en-US/internet-explorer/products/ie/home[^]

            H 1 Reply Last reply
            0
            • L Luc Pattyn

              Raj Aryan 1001 wrote:

              it would be great , is'nt it?

              No. If one user were able to install an app, remove an app, or alter an app in a way that affects all users of the system, it would not be great. It would be unsafe. :|

              Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

              Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

              R Offline
              R Offline
              Raj Aryan 1001
              wrote on last edited by
              #7

              yeah correct, but if application can get installed atleast for signed on user without uac prompts then it would be better i think (if it asks for admin password and user does not have admin password then user will not be able to install it and may be google chrome can be installed, will check)

              1 Reply Last reply
              0
              • R Raj Aryan 1001

                forget about my installer, let's take any other installer, let's say internet explorer when you download it will ask you whether to run it or save it? google chrome does not asks to run it or save it, it just gets started automatically now here the thing is that probably google chrome installer is running on my pc without any prompts whatsoever installation page of google chrome [^] ie http://windows.microsoft.com/en-US/internet-explorer/products/ie/home[^]

                H Offline
                H Offline
                Hans Dietrich
                wrote on last edited by
                #8

                Do you have a googleupdate app running on your PC?

                Best wishes, Hans


                [Hans Dietrich Software]

                R 1 Reply Last reply
                0
                • H Hans Dietrich

                  Do you have a googleupdate app running on your PC?

                  Best wishes, Hans


                  [Hans Dietrich Software]

                  R Offline
                  R Offline
                  Raj Aryan 1001
                  wrote on last edited by
                  #9

                  yeah, is that the magic? i have google toolbar installed

                  H 1 Reply Last reply
                  0
                  • R Raj Aryan 1001

                    yeah, is that the magic? i have google toolbar installed

                    H Offline
                    H Offline
                    Hans Dietrich
                    wrote on last edited by
                    #10

                    Raj Aryan 1001 wrote:

                    yeah, is that the magic?

                    Yep. Sorry I misunderstood what you were asking.

                    Best wishes, Hans


                    [Hans Dietrich Software]

                    R 1 Reply Last reply
                    0
                    • H Hans Dietrich

                      Raj Aryan 1001 wrote:

                      yeah, is that the magic?

                      Yep. Sorry I misunderstood what you were asking.

                      Best wishes, Hans


                      [Hans Dietrich Software]

                      R Offline
                      R Offline
                      Raj Aryan 1001
                      wrote on last edited by
                      #11

                      that's brilliant, you cracked it these hidden services can do anything you are just brilliant, thanks

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups