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!

bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Terminate installtion based on the condition

Hi

I am unsing 9.8 Entr lis version of AI

I have a customa action class which will be called at the time of installtion and this will set a AI property varible.

I want to teminate the installtion( diretely go to finesh page) if this varible is true. I am able to do this by using ErrorMessage custom action with the condition.
But How can I do this with out using error message ??
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Terminate installtion based on the condition

Hi,

In order to achieve what you want you can modify your custom action so it will return an error code (equal with "3" in your case) instead of "true".

I attached here a sample so you can take a look on it for a better understanding.

Let us know if this helped.

Best regards,
Eusebiu
Attachments
Stop installation.rar
(2.62 KiB) Downloaded 362 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Terminate installtion based on the condition

ThnQ ..

It worked
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Terminate installtion based on the condition

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”