Still waiting from a reply from somebody in InstallAware

Got a problem you cannot solve? Try here.
Doron
Posts: 20
Joined: Mon Nov 27, 2006 4:36 pm
Location: USA

Still waiting from a reply from somebody in InstallAware

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Doron
Posts: 20
Joined: Mon Nov 27, 2006 4:36 pm
Location: USA

Some Feedback

Post 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
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post 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.
Andy Neillans
Doron
Posts: 20
Joined: Mon Nov 27, 2006 4:36 pm
Location: USA

keeping the Install Drive

Post by Doron »

Hi Andy,

Maybe you can be more specific.
Thanks,

Doron
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Hi Doron,

Sure :)

If you download these two:
http://forums.installaware.com/viewtopic.php?t=1894
http://forums.installaware.com/oldattac ... 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.
Andy Neillans
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Post 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
Edhy Rijo
Thom Child and Family Services
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post 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?
Andy Neillans
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Post 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,
Edhy Rijo
Thom Child and Family Services
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post 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 = ?
Andy Neillans
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Post 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.
Edhy Rijo
Thom Child and Family Services
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post 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.
Andy Neillans
Doron
Posts: 20
Joined: Mon Nov 27, 2006 4:36 pm
Location: USA

Keeping the install folder all the time.

Post 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
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post 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
Andy Neillans
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Post 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.
Edhy Rijo
Thom Child and Family Services
Post Reply