Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: Makefile.DevInstall

Issue 10952045: Developer installation from within Visual Studio (Closed)
Patch Set: Fixes addressing comments Created June 20, 2013, 3:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AdblockPlusDeveloperInstall.vcxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « AdblockPlusDeveloperInstall.vcxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld