AI 12.6.1 Error causes rollback, but no error message. - Advanced Installer Community
Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

AI 12.6.1 Error causes rollback, but no error message.

Today I have made a new build with AI 12.6.1 Enterprise using my already existing AIP project. I updated the XML file and much of the SQL, and many of the files also changed. The last build worked okay. The new build always tries to install, fails silently and rolls back. I don't get an error message. I have tried twice with verbose log, both failed; but I don't find where and why exactly the setup failed.

Perhaps you have more luck? Please see attached file:
verbose.7z
(345.11 KiB) Downloaded 262 times
I have also tried to upgrade to 12.7.1, but that also fails, leaving me without a working installer.
Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Re: AI 12.6.1 Error causes rollback, but no error message.

I have gradually reverted all changes I made.

The issue is with "Remove XML on Install". If I set "Condition" to 0, the Setup runs through - if I set it to 1, it fails. So it seems to not be able to remove the item from the XML file.

My XML file definition is as follows:
AI_RemoveXMLOnInstall.png
AI_RemoveXMLOnInstall.png (20.86 KiB) Viewed 2917 times
I had to add the "Remove XML on Install" because the XML file cannot be correctly updated due to limitations of the XML upgrade process in AI, resulting in an unusable Web.config file.
Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Re: AI 12.6.1 Error causes rollback, but no error message.

Problem solved. The "Remove XML Element" must be after the "New element".

Return to “Common Problems”