wixsharp: Can't access CLSID registry in desired way
Iโm trying to write some values in HKCR\CLSID, like so:
var project = new ManagedProject("Program",
new RegValue(fullSetup, RegistryHive.ClassesRoot, @"CLSID\{6ED90329-F283-477A-83A3-97ADA22C02F9}\InprocServer32", "CodeBase", "file:///[INSTALLDIR]"),
new Dir(@"%ProgramFiles%\Manufacturer\Program",
new Files(@"..\Program\bin\Debug\*.*",
file => !file.EndsWithAny(true, new string[] { ".pdb", ".obj" }))
));
however it always gets written to HKCR\WOW643Node\CLSID, even if I set project.Platform = Platform.x86;.
And looks like there is no method like ImportRegFile or ImportRegValue in project anymore, so I canโt set RegValue.Win64 to false.
What should I do?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 33 (15 by maintainers)
Oh, okay, that explains it ๐ Thanks!
Sure, thanks! I suppose I should close this issue now since my question is resolved ๐
And to make the future investigation turn around faster I have updated the documentation: