ilya31
24th May 2005 19:19 UTC
how to change Internet Explorer security setting in NSIS?
Is it possible to allow active content to run files on my computer (this is a security setting in Internet Explorer 6.0) using NSIS? I want to turn on this feature in my NSIS script. I am creating several HTML pages in my NSIS script and I have links to PDF files on my HTML pages, but on some computers (depending on IE settings) IE blocks access to PDF files. If I check "Allow active content to run files on my computer" check box in security settings of IE 6.0 I can open PDF files without any problems. Thank you, any ideas would be great.
deguix
24th May 2005 19:58 UTC
Use the registry command "WriteRegDWORD" to do the job for you. I know that, in the key:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN]
When "iexplore.exe" DWORD value is 1, it
deactivates that option you mentioned. So:
WriteRegDWORD `HKCU` \
`Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN` \
`"iexplore.exe"` `0`
NOTE: It's activated at the moment it's changed. No need to restart Internet Explorer.
ilya31
24th May 2005 22:05 UTC
Thanks deguix. It works great.
RobGrant
25th May 2005 09:56 UTC
Yikes, it's that simple? Hackers of the world, rejoice!