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!

toma22
Posts: 2
Joined: Fri Aug 26, 2005 10:02 am

Custom Action

Hello,

I've a problem with a custom action. In fact, i want to add an exe. I know that Advanced Installer can check return code. So I try to do a simple exe in C++ with a fonction "int main". There is no problem : if a return 1, install is cancelled and if 0, it continues.
But, I don't want a simple exe but an exe based on DialogBox. So I don't have any "main" but "InitInstance". And if I return 1, install is not cancelled. So I don't know how to do to cancel install.

Thanks for help.
toma22
Posts: 2
Joined: Fri Aug 26, 2005 10:02 am

I found the solution :
it was not a problem with Advanced Installer!
in fact, i use "exitinstance" in which i can choose the return value.

Return to “Common Problems”