Keep in mind that no one knows aything about your problem that you donât reveal.
There are so many potential errors that you virtually have said nothing yet. File not found? Bad File name? Access Denied? Overflow? Division By Zero? Library Not Found? Item Not Found In Collection? ...?
Is it the creation of the installation package, or when you actually try to use the resultant package to produce an installation?