diff --git a/commerce_discount.install b/commerce_discount.install
index 5885a96..0e00289 100644
--- a/commerce_discount.install
+++ b/commerce_discount.install
@@ -6,6 +6,14 @@
  */
 
 /**
+ * Implements hook_install().
+ */
+function commerce_discount_install() {
+  field_info_cache_clear();
+  commerce_discount_install_helper();
+}
+
+/**
  * Implements hook_schema().
  */
 function commerce_discount_schema() {
@@ -129,15 +137,6 @@ function commerce_discount_install_helper() {
   $fields = field_read_fields(array(), array('include_inactive' => TRUE));
   $field_types = field_info_field_types();
 
-  // Clear field info cache, so entity reference, inline_conditions and
-  // commerce_product_reference field types can be used.
-  if (!isset($field_types['entityreference'])
-    || !isset($field_types['inline_conditions'])
-    || !isset($field_types['commerce_product_reference'])
-  ) {
-    field_info_cache_clear();
-  }
-
   if (empty($fields['commerce_discount_offer']) && isset($field_types['entityreference'])) {
     // Create entity reference field.
     $field = array(
