| Index: Makefile.DevInstall |
| =================================================================== |
| --- a/Makefile.DevInstall |
| +++ b/Makefile.DevInstall |
| @@ -25,11 +25,11 @@ |
| help: |
| @echo This Makefile is intended to be run from within Visual Studio to provide developer installations of Adblock Plus for IE. |
| -build64: register64 check_BHO copy |
| +build64: register64 check_BHO64 copy |
| rebuild64: clean64 build64 |
| -build32: register32 check_BHO copy |
| +build32: register32 check_BHO32 copy |
| rebuild32: clean32 build32 |
| @@ -70,11 +70,16 @@ |
| # |
| # Fortuitously, the warning message below is actually parsed by Visual Studio and show up with a yellow flag in the error list. |
| # |
| -check_BHO: |
| +check_BHO64: |
| !if [$(REG) query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>&1 >nul] |
| @echo Warning: BHO key not registered. IE cannot find the plugin unless the BHO key is present in the registry. Use "BHO_add.reg" to add the key. |
| !endif |
| +check_BHO32: |
| +!if [reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>&1 >nul] |
| + @echo Warning: BHO key not registered. IE cannot find the plugin unless the BHO key is present in the registry. Use "BHO_add.reg" to add the key. |
| +!endif |
| + |
| copy: |
| @echo Copying files |
| copy "$(ProjectDir)files\settings.ini" "$(OutDir)settings.ini" |