I'm writing a toolbar for Internet Explorer, and it requires that the following key is set.
HKLM\Software\Microsoft\Interet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\iexplore.exe
The installer is running with elevated rights.
I have set this value
But on Windows 7 Enterprise, the installer writes the registry setting to this p开发者_StackOverflow中文版ath instead:
HKLM\Software\Wow6432node\Microsoft\Interet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\iexplore.exe
If I change the setting in Internet Explorer (allow active content to run files on my computer), I see that it's the first path that gets adjusted.
How do I make the setup project write to right path in the registry?
Thanks
Christian
Yes, that happens when you run a 32-bit installer on a 64-bit operating system. Registry redirection will redirect the writes from HKLM\Software to HKLM\Software\Wow6432Node. You'll need a 64-bit installer.
The TargetPlatform property, in case you are using a VS Setup project.
精彩评论