Issue in using Same dialog in InstallMode = "Change" - 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!

ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Issue in using Same dialog in InstallMode = "Change"

Hi,

I created an installer in which the flow of dialog is as follows.

1. Welcome Dialog
2. User Credentials Dialog
3. License Dialog
4. Location Dialog
5. SQL Connection Dialog
6. Display Components Dialog
7. Verification Dialog
8. Install Dialog
9. Exit

If user wants to edit the installed components then user will click on same exe it will open Maintenance Type Dialog (Here user will click on Modify button) and then same dialogs that I was using at the time installation will continued as mentioned below.

1. License Dialog
2. Location Dialog
3. SQL Connection Dialog
4. Display Components Dialog

I am facing issue these dialogs are not working. I am able to see License Dialog but I am not able to go next dialog from License Dialog. I think this is due to “AI_INSTALL” condition.

Please help me what should I do to user same dialog.

Thanks
Amit
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Issue in using Same dialog in InstallMode = "Change"

Hello,

I am unsure as to why you are encountering this behavior. Please send your .aip project file or a stripped down version that accurately reproduces this behavior to support at advancedinstaller dot com so we can properly investigate this issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue in using Same dialog in InstallMode = "Change"

Hi,

Thanks for reply.

please find the attached .aip with.

Steps to reproduce.
1) Install the product.
2) Run the same exe and click on modify.

Thanks
Amit
Attachments
Demo Project.aip
(38.22 KiB) Downloaded 446 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Issue in using Same dialog in InstallMode = "Change"

Hello,

Indeed the conditions seem to be the issue. To force them to evaluate to true, you can place something like:

Code: Select all

AI_INSTALL OR 1
This will force them to evaluate to true, thus working in maintenance too.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”