Update: It seems that the missing key is added when 'DragonAge2Launcher.exe' is run but
only if the launcher is run with administrative permissions otherwise it silently fails to write to the registry. Interestingly it only sets the 'Path'...
Disclaimer: Assumes a 64-bit OS, that the game was installed by Steam and that default installation paths were used for Windows, Steam and DA2. The specific keys below also assume English language. Anyone comfortable enough to change default installation paths should probably be fine with amending the Path as necessary...
Sadly I do not have a list of valid language values to offer! (see the bootnote for the language codes used by the Steam install script)
Procedure:
Click Start | All Programs | Accessories
Right-click on Command Prompt and select Run as administrator
Type (or copy and paste) each of the following commands followed by [Enter]:
REG ADD "HKLM\\SOFTWARE\\Wow6432Node\\Bioware\\Dragon Age 2" /t REG_SZ /v Flavor /d "steam"
REG ADD "HKLM\\SOFTWARE\\Wow6432Node\\Bioware\\Dragon Age 2" /t REG_SZ /v language /d "en"
REG ADD "HKLM\\SOFTWARE\\Wow6432Node\\Bioware\\Dragon Age 2" /t REG_SZ /v Path /d "C:\\Program Files (x86)\\Steam\\steamapps\\common\\dragon age ii"If you receive the following error 'ERROR: Access is denied.' check you are running the Command Prompt as 'Administrator'. You should be able to tell as the title of the Command Prompt should read 'Administrator: Command Prompt'.
Regarding 32-bit: To make this work with a 32-bit OS I would assume that removing 'Wow6432Node' from the key and ' (x86)' from the Path would probably be sufficient but I'd feel more comfortable if I could confirm it...

PS: The case of the Strings and their values were taken from the registry keys present in DA1.
EDIT: It may be that only the Path is needed for the installer to work but to be honest I am not inclined to remove and then re-install DA2 to find out! It makes sense to me that the DLC installer might need to know the language and flavor of the install though as this may affect the text displayed during the DLC installation and where files are written to during the install...
BOOTNOTE Steam Languages: It seems that the install script in Steam reveals a few language codes...
English: "en"
French: "fr"
German: "de"
Italian: "it"
Spanish: "es"
Polish: "pl"
Russian: "ru"
Modifié par lamaslany, 14 mars 2011 - 03:42 .