ambr
Posts: 1
Joined: Tue Feb 12, 2008 4:23 pm

How to specify additional path default value?

Hello,
I'm new to the Advanced Installer and have come onto this problem-
I need the user to specify additional path (where DB files are located) using additional dialog with browse dialog. So I created the PathEdit control along with Browse button, assigned the new property to them (APPDIR_1).
This is all good, but how to specify default value for this new property?
[ProgramFilesFolder] and similar cause error and I can't find Property Table where this property could be found.
So please help!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

When creating a Path Edit control you can set it's property in the "Property Name" field in the "Properties" section (it is shown when you select the Path Edit control in the "Dialogs" page).

Under the "Property Name" field you can find the "Default Value" field. In this field you can set the default value of the property of the Path Edit control.

You can read more about the Dialog Editor feature here:
http://www.advancedinstaller.com/user-g ... ditor.html
http://www.advancedinstaller.com/user-g ... ditor.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rawand
Posts: 13
Joined: Tue Apr 08, 2008 2:33 pm

Re: How to specify additional path default value?

Hi , i have the same situation but it doesnt work with me, I added an extra path edit and browse button but the problem is in browse dialog when I click ok it give me an error 2727, i think its because i chenged the property name of the extra pathEdit to APPDIR_1, one more question is how can i delete properties created by me?
Regards
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to specify additional path default value?

Hi,
I added an extra path edit and browse button but the problem is in browse dialog when I click ok it give me an error 2727
This may happen if the "Browse" button is not associated with the property of the Path Edit control. Please note that we have a How-To for this which can help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”