DavidSlade
Posts: 28
Joined: Tue Jun 05, 2018 7:04 am

Corrupted aip files

I have a large NET Framework WPF app where the Advanced Installer extension has started generating corrupt aip files when it saves. The files, instead of being about 180bytes in sizes are over 24MB in size and cannot be opened by Advanced Installer or VS2026 when reloaded. I cannot even open the files in Notepad.
I tried adding a new Advanced Installer project and got the same result.
Other large dot NET (not framework) apps seem to be ok.
I tried a small test NET Framework app and it worked ok.
Advanced Installer 24.1
DavidSlade
Posts: 28
Joined: Tue Jun 05, 2018 7:04 am

Re: Corrupted aip files

I know 23.9 worked ok with this solution. I will reinstall that version and check. Thankfully I still have the 23.9 backup files.
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Corrupted aip files

Hello David,

Please let me know if everything is working as expected using the 23.9 version.

And if so, could you please share the AIP file with me by email at support at advancedinstaller dot com? I would like to further investigate this on our end.

Do I understand correctly that after saving the project, you can no longer open it in Advanced Installer? Do you get any errors when trying to load the project? If so, what error are you getting?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DavidSlade
Posts: 28
Joined: Tue Jun 05, 2018 7:04 am

Re: Corrupted aip files

Hi Catalin,
I have found a cause:
The corrupted aip file occurs when selecting "Companion files( Copy to output directory)" in Add Project output in the AI project.
When deselecting this option, the aip file is saved and can be loaded successfully.
Selecting that option worked for previous versions. I am not sure which files are being selected with this option?

I will email the zipped aip file.
The error message when opening the aip file in Advanced Installer is:

Parse error in file: "<filename>" at line: [988] column: [154] (code:
reference to invalid character number).

Where <filename> is the aip file.

I installed 23.9 on a second pc and that is working ok with this solution (with Companion files selected)
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Corrupted aip files

Hello David,

Thank you very much for the provided file and for the test-case (it is really helpful).

I received it and will start investigating this soon.

I will let you know as soon as I'll have more information regarding this.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Corrupted aip files

Hello David,

Please note I have replied to you over the email.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Corrupted aip files

Hello David,

Please note I have replied to you over the email.

For anyone else reading this, this is indeed an issue on our side that will be fixed.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”