Setting registry value from command line parameter?
Updated: 22 May 2010 | 1 comment
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
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.
Would you like to reply?
Login or Register to post your comment.