Page 1 of 2
Still waiting from a reply from somebody in InstallAware
Posted: Tue Mar 20, 2007 12:57 pm
by Doron
Hi All,
Is there a way to resolve this matter mentioned in the below thread? I need to know what the InstallAware team can offer to resolve this matter.
http://forums.installaware.com/viewtopi ... c&start=15
Regards,
Doron
Posted: Tue Mar 20, 2007 1:31 pm
by MichaelNesmith
Given that this is by design...I don't think we'll see a change. Just build a custom dialog if you don't like the default behavior - you have all the tools you need at your disposal! Nothing is hard-coded in InstallAware.
Some Feedback
Posted: Tue Mar 20, 2007 1:37 pm
by Doron
Hi Mike,
I was told by Andy that it is not possible to do so within the InstallAware. We tried to change the code and customize the Destination dialog...
Do you know anybody that accomplished that?
Regards,
Doron
Posted: Tue Mar 20, 2007 4:15 pm
by neillans
You can do this in InstallAware, however, you can not do it as a single text control.
If you take the two examples that are posted on these forums, you can merge the perspective parts you need to create your custom dialog.
keeping the Install Drive
Posted: Wed Mar 21, 2007 8:25 am
by Doron
Hi Andy,
Maybe you can be more specific.
Thanks,
Doron
Posted: Wed Mar 21, 2007 2:33 pm
by neillans
Hi Doron,
Sure
If you download these two:
http://forums.installaware.com/viewtopic.php?t=1894
http://forums.installaware.com/oldattachments/03 ... Demo_2.zip
And review the logic used in them, you should be able to combine them to create the dialog that you are after.
Posted: Fri Mar 23, 2007 8:08 pm
by Edhy
Hi Andy,
Interestingly enough I followed this thread and tried the 2 examples and from some reason they never worked as described in the previous thread. Maybe you can enlighten us with some sample code and elaborate a bit more regarding the above, so it can be implemented properly.
Thanks,
Edhy
Posted: Sat Mar 24, 2007 4:59 am
by neillans
Of course; can you explain what you observed with the scripts (note that one has multiple versions - be sure to use the latest), and also detail what you expected?
Posted: Sat Mar 24, 2007 9:10 pm
by Edhy
Hi Andy,
I looked at the demo named Fixed Path Demo 2 found in the link below and its behavior is same as the default IA script.
http://forums.installaware.com/viewtopic.php?t=2000
As I understood by reading the thread, the general idea is NOT to see the Program Files as default folder at all, only to see at the very first time a default folder like C:\\XYZ. If the user select into a different folder like this one D:\\MyTest\\XYZ, it should still show the default folder as show above. The problem is when selecting a different drive the default folder is not shown anymore and the end user will be force to enter whatever folder name and not my defaul folder "XYZ", if the Program Files is removed from the script.
It will be nice to have such a dialog that behaves like that. Maybe you have some time you may be able to adjust the Fixed Path Demo 2.
Thanks,
Posted: Sun Mar 25, 2007 4:36 am
by neillans
Hi Edhy,
Not sure I follow
The initial default folder can be changed, but I'm sure you know that.
Please provide a stepped example - e.g:
Initial Folder = C:\\XYZ
Interface Displays = C:\\XYZ
User selects = C:\\Example\\XYZ
Interface Displays = ?
Posted: Sun Mar 25, 2007 9:59 am
by Edhy
Hi Andy,
Here is the process:
Initial Folder = C:\\XYZ
Interface Displays = C:\\XYZ
User selects = another drive like D:
Interface Displays = D:
Code: Select all
And here is the problem, the Interface displays just the selected drive D: but not the folder name XYZ, so it should have say: D:\\XYZ.
This is not the case when allow IA to use the "Program Files" folder, in that case it will always update the selected drive like this: D:\\Program Files\\XYZ
Sorry for all the confusion here, I know sometimes it is hard to properly communicate an issue, and we do appreciate your time in this matter to seek a favorable solution.
Posted: Sun Mar 25, 2007 10:36 am
by neillans
Ok, so when the user selects D:, you want to enforce this as D:\\XYZ ?
If so, then this is what the 2nd version (or was it the 3rd? Cant remember now!) does. No matter what path you select, it enforces a specific subdirectory.
Keeping the install folder all the time.
Posted: Sun Mar 25, 2007 3:11 pm
by Doron
Hi Andy,
Code: Select all
Ok, so when the user selects D:, you want to enforce this as D:\\XYZ ?
Yes
When the user select D:\\ then he or she will see the D:\\XYZ
I also could not get that result as explained above. Is there a chance that you run at least one test just for testing purposes?

I looked at: Fixed Path Demo 2 In this thread:
http://forums.installaware.com/viewtopic.php?t=2000
Remember no need to see the Program Files as a default.
Thanks,
Doron
Posted: Sun Mar 25, 2007 3:29 pm
by neillans
Ok, I follow now.
The Fixed Path 2 DOES do this, however not the GUI part.
It is not possible to update a control via the Browse (Change) control, so you can not force a specific part of the path to be appended to the control immediatly. This is because the script language can not trap actions that are occuring on the form unless it closes (when you can query and set the variables via script).
Because of this, the destination form in the example has been customed to include the line:
"Setup will create a folder called Fixed Path Demo in the specified folder above.".
Please see the attached screenshot.
File Attached:
Screenshot.jpg
Posted: Sun Mar 25, 2007 3:50 pm
by Edhy
Hi Andy,
Once again, thank a lot for your time and consideration.
Now I undertand that there is a limitation on the dialogs to work with. Your solution is a way to provide this functionality even though I really wish to have more control on what is happening on the dialogs in order to customize the installation process.
Thanks.