Preheat oven to 350 degrees.
Place pie dough in a 9-inch pie plate and shape to fit. Either cut off any excess or fold it under so that dough does not extend past the edge of the pie plate. Use your fingers to crimp the edges. Cover loosely with plastic wrap and refrigerate while you make the filling.
Using an electric mixer at medium speed, mix together the eggs, sugar, salt, and vanilla.
Mix in flour, milk, and butter until mixed well.
Remove pie crust from refrigerator and brush edges of dough with heavy cream (to help browning).
Scatter pineapple pieces evenly across bottom of pie.
Pour filling over pineapple.
Scatter coconut and macadamia nuts on top. Use a rubber spatula to press them down slightly into the filling.
Place pie pan on a baking sheet and bake for 50 to 55 minutes.
Let cool and then refrigerate. Best served cold.