dbach
17th December 2007 09:37 UTC
Howto detect enabled Aero Glass (Vista) using NSIS?
Hi there,
I've got a problem. Our Software gets in trouble under Vista with Aero Glass enabled (due to direct-x reason). Never the less, we want to show a warning if a customer installs our Software and has Aero Glass enabled. But how can I check if Aero Glass is enabled or not?
Thanks for any help! :)
Good start in the week,
dbach
dbach
17th December 2007 10:27 UTC
I've found something with COM-Objects. But I never worked with them and they are also a level to high for me. Can anyone support me?
http://msdn2.microsoft.com/en-us/library/aa969518.aspx
Anders
17th December 2007 17:20 UTC
Just because it returns HRESULT does not make it COM, looks like a normal function to me, you should be able to call it with the system plugin
dbach
18th December 2007 13:23 UTC
I will try to figure out how the system plugin works (not very familiar with that).
Thanks @ Anders!
dbach
8th January 2008 10:44 UTC
I could get it work. I tried something like this:
System::Get "dll::DwmIsCompositionEnabled(i r0)"
Pop $0
System::Call "$0"
MessageBox MB_OK "$0"
as well as this:
System::Call "dll::DwmIsCompositionEnabled(i r0)"
Pop $0
MessageBox MB_OK "$0"
I am really absolutly not familiar with this stuff and I can't get it working here. :cry: I tried very hard but failed. Any help is very welcome!! :)
Anders
8th January 2008 12:19 UTC
System
::Call "dwmapi::DwmIsCompositionEnabled(*i .r0)i"
>MessageBox MB_OK "$0"
maybe (I don't have Vista to test on)
dbach
8th January 2008 12:37 UTC
Originally posted by Anders
System
::Call "dwmapi::DwmIsCompositionEnabled(*i .r0)i"
>MessageBox MB_OK "$0"
maybe (I don't have Vista to test on)
It works. Thanks a lot! :D