I am sorry that you are having this problem with your dog. As you already know the ingredients in aquaphor are usually not life-threatening, but, can cause vomiting, diarrhea, pancreatitis, etc. This is what you can do:
1- Do not give things like Pepto Bismol or Imodium. Start him on Pepcid AC (famotidine) 10mg tablet every 12 hours or Zantac (ranitidine) 75mg 1/2 tablet every 12 hours for the next 2-3 days. You can buy Pepcid AC or Zantac over the counter in any pharmacy.
2- No food or water for 5-6 hours. Need to give his gastrointestinal tract time to rest.
3- After 5-6 hours offer a small amount of water. Wait half hour, if no vomiting, offer a small amount of rice (50%) and boiled boneless chicken or ground beef (50%) 4-6 times a day. Keep on this diet for several days then wean into regular diet.
4- If he continues to vomit after doing the above he will need to be seen by your family veterinarian for a hands on examination. He may need supportive care of IV fluids, anti-emetics, etc.
My goal is to provide you with excellent service - I hope I've provided the information you were seeking, if you feel you have received anything less, please reply back as I am happy to address follow-up questions. Kindly rate me when you are done.