CaMat
Posts: 18
Joined: Wed Jun 22, 2022 11:48 am

What action AI_DATA_SETTER does?

Thu Mar 14, 2024 2:38 pm

Hello,

Don't know why, but my installer crash when it's process to main instalation after installing correctly prerequisites. In log file, in the end I have:
Action ended 14:15:38: AI_ChooseTextStyles. Return value 1.
MSI (c) (C4:A8) [14:15:38:821]: Doing action: PrepareDlg
Action started 14:15:38: PrepareDlg.
Action ended 14:15:38: PrepareDlg. Return value 1.
MSI (c) (C4:A8) [14:15:38:823]: Doing action: AI_DATA_SETTER_33

What action AI_DATA_SETTER_33 does? And what in this action can crash installer without any error?

Edit: Ok, in my case AI_DATA_SETTER_33 is Init Events performed on my next to PrepareDlg dialog.
Edit2: I thougth problem was in my defined actions, but after moving them to PrepareDlg, my installation, acording on log, fails on
Doing action: WelcomeDialog (next dialog in sequence). How I can check what fails on loading this dialog? I have no events defined on it. If I run installer without installing prerequisites everything is ok.

CaMat
Posts: 18
Joined: Wed Jun 22, 2022 11:48 am

Re: What action AI_DATA_SETTER does?

Fri Mar 15, 2024 4:47 pm

Ok, I found that installation log on prerequisites progress dialog (like on this video: https://www.youtube.com/watch?v=hyW2baZy9AQ) was cause of crashes.
So, I will have final question: How to debug installer except log file?
Because I found cause to this error by accident. I removed and added again prerequsites - this action also resets my prerequisites dialogs layout. And after that my installer magically started to work. So I changed layout of those dialogs step by step and finally I found what was a problem in this case.

Return to “Building Installers”