Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Clicking Next on the Customize dialog with no install path

Hi,

I have just noticed that if I dont have an install path on the CustomizeDlg and click next it takes me to the next Dialog in the Sequence. Is there anyway I can fix this or is it a Bug?

Matt
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Clicking Next on the Customize dialog with no install pa

Hi Matt,

Can you please give me more details about this? All features in CustomizeDlg have a path by default and you can change it only to another valid path. How did you remove the path? Also, can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Re: Clicking Next on the Customize dialog with no install pa

Hi,

To get the issue I did the following:

From the setupTypeDlg I selected custom which takes you to the CustomizeDlg.

When on the customizeDlg I Cleared the product install path so it was blank.

Click next and it takes you to the next dialog in the Sequence. It also works if the path is Invalid.

The problem also occurs If you remove the path or put an invalid one in on the setupTypeDlg then click custom then click next.

I will email you our .Aip now.

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

Re: Clicking Next on the Customize dialog with no install pa

Hi Matt,

This is happening because the Simple Edit control( APPDIR attached property ) on the CustomizeDlg has no validation set for the Modern theme.

If you are concerned the user might manually input blank or a wrong path value, you can disable the control from the right pane( Attributes -> Enabled : False ). This way the user will be able to select the path only through the BrowseDlg. Nonetheless, you can add any validation functionality to it or even change the control type as long as you keep the APPDIR as the attached property name.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Re: Clicking Next on the Customize dialog with no install pa

Hi,

Thanks for the reply. Is there a way we can do a validation check that will check that the file path exists? If so Can you send me a link to a help page that explains how to do this.

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

Re: Clicking Next on the Customize dialog with no install pa

Hi Matt,

You can use Path Edit control instead which has predefined validation implemented.

Here is a link to help you with the blank validation:
http://www.advancedinstaller.com/user-g ... field.html

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

Return to “Common Problems”