HOWTO: Merge REG Files with the Registry

HOWTO: Merge REG Files with the Registry

Document ID: IR02004
The information in this article applies to:
  • Setup Factory 6.0

SUMMARY

This article describes how to merge a REG file with the registry using Setup Factory.

DISCUSSION

In Setup Factory 6.0 you can use an Open Document action to merge a REG file with the registry, however your user will get a confirmation message asking them if they would like to merge your REG file with the registry. As a result it may be preferable to merge your REG file with the registry silently.



If you would like to merge a REG file with the registry silently, an Execute File action should be used. Use the Execute File action to launch regedit.exe, you will them pass regedit the "/S" command line argument (forcing it to run silently), a space, and then the full path to your REG file.



Here is an example of what your Execute File action would look like:



File to execute: %WinDir%\regedit.exe		(the path to the file regedit.exe)
Command line argument: /S %AppDir%\myfile.reg (the command line argument and the path to the REG file)


MORE INFORMATION

See the topic: Command Reference | Actions | Individual Actions | Execute File

KEYWORDS: registry, REG file, regedit


Last reviewed: September 23, 2002

Copyright © 2002 Indigo Rose Corporation. All rights reserved.