The dialog ErrorDlg has the error style bit set, but is not - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

AlexSkylink
Posts: 7
Joined: Thu Jul 07, 2011 10:54 pm

The dialog ErrorDlg has the error style bit set, but is not

I have a msi file that I created using Visual Studio setup project. I imported the msi into Advanced Installer. I've added a Upgrade property to remove a msi that is already installed on the system and install the new msi.
When I test this new installer, I'm able to remove the existing msi and when it tries to install the new product I get the following error message and then it rolls back:
"The dialog ErrorDlg has the error style bit set, but is not an error dialog."

The interesting thing is that if the old msi doesn't exist (Which means I don't need to un-install existing msi) on the system and I just run the new msi, it works OK.

I'm not sure what to check in order to fix this issue. Any help is appreciated.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: The dialog ErrorDlg has the error style bit set, but is

Hi,

This could happen if you have a .NET custom action in your project. In the following thread you can see a similar discussion.

If the solution is not in the above mentioned forum post please create a verbose log and send it along with the .aip file to support at advancedinstaller dot com so we can investigate it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”