I've been given the task of familiarizing myself with the process of publishing Captivate Courses for use with Moodle using SCORM 1.2.
We have the current Adobe Captivate 9.0.1.320 and I have installed Moodle 3.0.2+ (Build: 20160218) into an XAMPP install running locally.
In Captivate I publish a course with the preset Moodle and SCORM 1.2 and it produces a ZIP file. In Moodle I select Upload Course and it seems to upload successfully however when I click Preview it says that it can't read the CSV file:
https://docs.moodle.org/30/en/error/tool_uploadcourse/csvfileerror
I have checked the ZIP file and there is no CSV file included and unsure how to generate this?
I am not sure what I am doing wrong?


Well, I am severely prejudiced against using XAMPP, because it does not allow some things, it is slow, resource hungry and does not allow too many users at one time. XAMPP based Moodles are useful tools for a user/course developer to put onto their laptop or desktop to develop courses, then upload them to their production Moodle. It is also good for testing new stuff, new plugins and other ideas, learning new tools and so on, but when it goes wrong, it goes seriously wrong. XAMPP Moodle should never be used as a production Moodle.
I am going to assume that you have not read the SCORM pages in Moodle Docs. That is usually a good place to start. (I am sorry, but usually the rule for most guys is "Do what you think you should do first, but read the instructions last". Lots of highly skilled people do this, and wonder why it goes wrong.)
Like a lot of things, though, SCORM is a useful tool for some things, but as a whole course? That is why it is it is not uploading successfully, btw. Create your course, then add the SCORM content into a course, it should never be uploaded as a course though.
Lastly, I am sure you have good reason to do this the way you want it, but educationally, SCORM is of limited value. It is good for a summary and quiz, but there is so many other ways of providing the information that is summarized and quizzed. SCORM on its own seems a good approach, but it is not really. You may want to consider other approaches as well.
this is probably the page you probably want:
https://docs.moodle.org/en/SCORM_settings#Adding_a_SCORM_package