rollback in dependency of a property value - 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!

olaf
Posts: 1
Joined: Thu Aug 24, 2006 2:16 pm

rollback in dependency of a property value

Hello,

I want to rollback the installation process with an error-message

if a certain property has a certain value.

I try to to this with “Custom Actions”/new Custom Action/ Error Message

-but the MenüItem “Error Message” is not active.

Has anybody an idea ?
thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You can schedule your "Error Message" CA under a windows installer standard action (this type of CA can not be scheduled on rollback).

You can show a specific standard action like this: right click on "InstallUISequence" or "InstallExecuteSequance" and choose "ShowStandardAction" option. Under selected standard action you can schedule your "Error Message" custom action (for example: "InstallExecuteSequance->ShowStandardAction->BeforeInitialize->CostFinalize").

You can set a condition for your custom action in the "Execution Condition" field.

Read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html

If you encounter any problem please let me know.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”