PDA

View Full Version : Can Setup Factory Merge Registry Keys


Adam
04-28-2008, 12:09 PM
Question
Can Setup Factory Merge Registry Keys

Answer
Merging registry keys is a very easy process in Setup Factory. It
involves nothing more than using a File.Run action and setting the Command
line arguments to point to the registry file to be merged. As an example,
we will merge c:\\mykeys.reg into the user's registry:

Create a File.Run action with the following settings:
File.Run(SessionVar.Expand("%WinFolder%\\regedit.exe"), "/s c:\\mykeys.reg");

For more information please see the following topics in the Setup Factory help file:

Program Reference | Actions | File | File.Run (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/File.Run.htm)
Program Reference | Actions | SessionVar | SessionVar.Expand (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/SessionVar.Expand.htm)


For more information please visit the following websites:
Microsoft Knowledgebase Article: http://support.microsoft.com/?kbid=310516