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: 4931
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 283 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: 4931
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”