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!

maro158
Posts: 7
Joined: Sun Jul 23, 2006 8:18 am

Skipping registration dialog depending on property value

Hi,

I want the registration dialog to show up only if the product has not been installed previously.

This is an important issue, because I don't want the registration dialog to show up again when the product is being updated from the Internet.

So, how can I skip the registration dialog depending on a property value red from the registry?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Here is how you can do this:

Select the dialog that is in front of "UserRegistrationDlg". Under the "Next" button you must have two published events like this:

a) Event: NewDialog
Argument: FolderDlg
Condition: MY_PROP = "FALSE"
b) Event: NewDialog
Argument: UserRegistrationDlg
Condition: MY_PROP = "TRUE"

I used MY_PROP = "TRUE" (defined in the "Install Parameters" page) as a condition. But you need to change this condition to feat your needs.
Do the same think for the "Back" button of the "FolderDlg" dialog (the "FolderDlg" is the one after the "UserRegistrationDlg" dialog).

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
maro158
Posts: 7
Joined: Sun Jul 23, 2006 8:18 am

Thank you very much. That did it!

Return to “Common Problems”