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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Shellexecute and installing a file with out showing any further dialogs.

Shellexecute and installing a file with out showing any further dialogs.

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminlinuxhelp
2 Posts 2 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.
  • K Offline
    K Offline
    kDevloper
    wrote on last edited by
    #1

    Hi,, I have a file abc.reg.I want to install the registry file , but the main point is the RUN dialog as well as the conformation dialog should be hidden to the user. After shell execute the installation should be done silently. Any help is appriciated. Regards, KDevloper

    _ 1 Reply Last reply
    0
    • K kDevloper

      Hi,, I have a file abc.reg.I want to install the registry file , but the main point is the RUN dialog as well as the conformation dialog should be hidden to the user. After shell execute the installation should be done silently. Any help is appriciated. Regards, KDevloper

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      You must use CreateProcess instead of ShellExecute. Give the lpCommandLine parameter as Regedit.exe /s <.REG filename>

      «_Superman_»

      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