I am experiencing the same error. I can get the error to go away by removing the custom action that I created for the InstallScript. I don't actuall get the error when I build the project, only when I click the compile button. The script runs fine...