Dialog Issues - 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!

PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Dialog Issues

I have added a dialog to the install sequence giving the user the option to select the start-up mode of a service (i.e automatic or manual) and the option to start the service immediately. The dialog comes after the progress dialog and before the exit dialog. Everything appears to be working correctly, however I only want to show the dialog when an upgrade is being performed and not on the initial installation. Is this possible?

Phil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Dialog Issues

Hi Phil,

You can try to use "Show only if..." from the dialog's context menu with the following condition:

Code: Select all

OLDPRODUCTS
This property is set in the upgrading MSI if the package found an older version installed on the target machine.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Dialog Issues

Hi Mihai,

"Show only if..." seems not to be enabled for a dialog in sequence.
If I use "add dialog" then "Show only if..." is enabled - but I can't put the dialog where I want it, if I use "add dialog in sequence" then "Show only if..." is disabled but I can put the dialog where I want it (after the progress dialog and before the exit dialog).

Phil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Dialog Issues

Hi Phil,
after the progress dialog and before the exit dialog
I missed this part in your first post. Unfortunately, a "New dialog in sequence" by definition becomes mandatory( cannot be conditioned ) to run in Install UI Sequence.
Also, you can't insert a "New dialog" after "VerifyReadyDlg" dialog, because this would break the installation sequence.

You can condition any "New dialog" using the method from my previous post.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”