Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Setting registry value from command line parameter?

Updated: 22 May 2010 | 1 comment
TOMTEFAR's picture
0 0 Votes
Login to vote

Hello,

I'm wondering if it is possible and if so how to set a registry value using a parameter set as a command line parameter.

I would like to write something like the following:

msiexec.exe /i myproj.msi BRMSERVER=http://www.my_site.com

and have http://www.my_site.com being set at a place I want in the registry.

Is it possible?

If not can it be done in another way? Using an ini filer or something?

I don't want to create a exe/dll that does it if possible.

I'd appreciate any help/hints.

/Martin

discussion Filed Under:

Comments

AngelD's picture
19
Nov
2009
0 Votes 0
Login to vote

Sure, as you're already

Sure, as you're already setting the value in a public property just refer to that property ([BRMSERVER]) in the Key or Value field/input.