Jump to content

Running an application install then importing a reg key


Recommended Posts

Posted

Kind of doing this for the first time and can't find anything specific on the web. I can silently install my application with a simple batch file but I am not able to install the required registry information (or so it seems). My batch file is simply this:

systemupdate302-2007-9-21.exe -s -a /s /v" /qn"

and then I want the reg information to be installed. Is it as simple as adding the reg key details with a /s switch to the next line in the batch file??

Many thanks for any advice.


Posted

Use a cmd file like this:

@echo off

start /wait systemupdate302-2007-9-21.exe -s -a /s /v" /qn"

regedit /s settings.reg

exit

Posted
Thanks Radix!

Better try this:

@echo off

start /wait systemupdate302-2007-9-21.exe -s -a /s /v" /qn"

start /wait regedit /s settings.reg

exit

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...