Announcement

Collapse
No announcement yet.

automaticaly import a *.reg file in the Registry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • automaticaly import a *.reg file in the Registry

    Hi,

    i have a regfile called "example.reg". In this regfile a several registry keys stored. Now I've tried to start with an "Action" to import the whole "example.reg" into the registry. But everything i tried, an error occures!
    (Execute (%SrcDir%\Folde\example.reg))

    Of course i can set the keys manually within an action, and this works fine, but this "example.reg" file has so much keys that this will be to complex and is too much work.
    Has anyone an solution to this problem?

    Thx

    El *germany*

  • #2
    Re: automaticaly import a *.reg file in the Registry

    Hi !

    Of course you should be able to load complete .reg-files.

    I did it the following way:

    Execute action.

    "File to execute":
    %WinDir%\regedit.exe

    "Command line args":
    /S %AppDir%\example.reg

    (if you copied "example.reg" to %AppDir%; "/S" stands for "silent").

    Hayo

    Comment


    • #3
      Re: automaticaly import a *.reg file in the Registry

      I use the file-search functions to automatically locate & run all .reg files in the destination install directory. That way, the install program does not need to know the names or number of such files.

      TT

      Comment

      Working...
      X