Page 1 of 2

Feature request, number formats

Posted: Tue Jul 11, 2006 9:39 am
by Tinus
Hi Michael,

can you please add this to the list?

The amount of required and remaining disk space is always formatted with American/English settings.
This should use the settings from the regional options.

Posted: Wed Jul 12, 2006 8:39 am
by Tinus
No comment?

Posted: Thu Feb 19, 2009 5:52 am
by ante_s
I'm also intrested in a solution to this problem.

In Sweden the comma is used as the decimal symbol which means that when installation app is localized to swedish it gives very incorrect values for availible space and requiered space.

Posted: Thu Feb 19, 2009 10:31 am
by bokkie
ante_s wrote:I'm also intrested in a solution to this problem.

In Sweden the comma is used as the decimal symbol which means that when installation app is localized to swedish it gives very incorrect values for availible space and requiered space.


Same for South Africa. It took me a while to make the switch from "," to "."

Re: Feature request, number formats

Posted: Mon Jul 12, 2010 6:48 am
by anumo
What about this issue? Is this solved or still a problem (which occurs in Germany too)?

Re: Feature request, number formats

Posted: Mon Jul 12, 2010 5:00 pm
by mills
This problem still persists in InstallAware 9r2 and has a low priority on our fix list. Until we get around to fixing it, there may be a couple of work-arounds that could satisfy you:
  • You could hide the fields that display the "incorrect" information.
  • Depending on where this is being seen, you may also be able to replace the form that's displaying the incorrect data with a custom form of your own, using "Check Disk Space" and "Get Component Space" MSIcodes to calculate available space.

Re: Feature request, number formats

Posted: Tue Jul 13, 2010 11:47 pm
by anumo
Regarding your suggestion

You could hide the fields that display the "incorrect" information.

I like to say: I am still evaluating and about to spend several dollars to by your software, at least about 2000 ... and you suggest to hide "incorrect" information? This is a problem first reported more than 4 years ago now ... a long long time ... sorry, I then don't care about priority! What about to hide all of InstallAware completly, what do you mean? Then there should no errors anymore ... ;-)

Re: Feature request, number formats

Posted: Wed Nov 16, 2011 9:29 am
by MartinIW
Hi there,
we are from Germany and are also interested in formating the discspace-lables.
We allready had to copy all of our dialogs in InstallAware 9 R2 because its not possible here to load pictures dinamicaly (2 Products with same Setup but different pictures in the dialogs).
Another copy of this dialog will be an overhead that does not compare the use of it.

Please give an answer when this "low" priority feature will be included.

Thanks
Martin

Re: Feature request, number formats

Posted: Thu Nov 17, 2011 8:58 am
by giaviv
Martin,

Thank you for your input. We cannot say when this feature will be available, but we will definitely take your comments into account.

Re: Feature request, number formats

Posted: Mon Jan 11, 2016 4:16 am
by MartinIW
Hello again,

is this feature still in work?
I saw that the number format was still with ',' as separator for thousands. In Germany there have to stand '.'.
Its confusing for our customers to install a German software and everything is in German inside the Setup but the number format for memory are allways English. We now use InstallAware X3 but i havnt seen any progress in this problem!?
Any answer when this feature will be implemented would be appretiated.

Greetings,
Martin

Re: Feature request, number formats

Posted: Tue Jan 12, 2016 12:42 pm
by FrancescoT
Dear Martin,

unfortunately nothing is changed on this side and in all honesty, I cannot say if such feature will be available.

Anyway, you may use the "Parse String" command to replace such separators. Of course you need to customize the Destination dialog as well, in case you want to replace the default layout used to display disk-space values.

I may suggest you to have a look at the "Check Disk Space sample" from the following link. This sample demonstrates how to format disk space value in; Kb, MB and GB, but the same approach can be used to format a given string in different ways.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&start=0

Hope this helps you.

Regards

Re: Feature request, number formats

Posted: Thu Sep 08, 2016 7:28 am
by anja_laenge
FrancescoT wrote:Anyway, you may use the "Parse String" command to replace such separators. Of course you need to customize the Destination dialog as well, in case you want to replace the default layout used to display disk-space values.

I may suggest you to have a look at the "Check Disk Space sample" from the following link. This sample demonstrates how to format disk space value in; Kb, MB and GB, but the same approach can be used to format a given string in different ways.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&start=0


I can extract and display the values by myself, okay... but how to react to the user changing the targetdir to another disk? Your build-in dialog reacts to changes of the root directory.

Regards

Re: Feature request, number formats

Posted: Thu Sep 08, 2016 1:35 pm
by FrancescoT
Dear Anja,

if I haven't missed your question, this may only depend on the Dialog Theme you used with your project or by the "browse control" you used with your custom dialog theme.

For example, destination dialog from a project created using the Basic project template (Aero theme);
target.png
target.png (49.39 KiB) Viewed 24778 times


Hope this helps you.

Regards

Re: Feature request, number formats

Posted: Fri Sep 09, 2016 2:22 am
by anja_laenge
Hello Francesco,

no, not quite. We are a german company, we need german setups. That means all products deployed via InstallAware show wrong values of available disk space in their setups (in german, a comma is a decimal separator, so your setups present wrong values by the factor 1000!!)

From the posts I found dating back to 2008, I can extract the available diskspace via "Check disk space", of course I have to supply a drive letter. This function does not work with the complete target path when using variables, only with the target path splitted at the first occurance of a backslash.
Fine, I get a value which is correct for the default installation path. As soon as the end user changes the target path to another disk, I'd have to react to this event (!?!), parse the target path again to get the drive letter, use "Check disk space" again" and fill this value into the variable displayed in the dialog. This process does not seem to be possible.
Also, the "Space Available", from which the Label receives information from, does not seem to be part of the predefined variables.

So, what is your recommendede way to present correct formattet values for available space when the customers usually have more than one available hard disk ?

Regards

Re: Feature request, number formats

Posted: Fri Sep 09, 2016 1:53 pm
by FrancescoT
Dear Anja,

I believe that the only possible approach that you may follow, it's to release something similar to the approach illustraded by the attached sample.

However, this may require some work!

For what concerns the sample, this demonstrates how to execute some script code conditionally as result of a dialog button selection. The sample also demonstrates how to update a script variable each time the button gets pressed.

For what concerns your specific needs, you should use the approach illustrated by the sample in order to call a custom "Folder selector" function. This may be available with a custom DLL that integrates a call to "SHBrowseForFolder" WINAPI. Alternatively and if I am not wrong, you may use this third party plugin at such purpose (http://www.installaware.com/forums/viewtopic.php?f=3&t=503).

Finally once you get the selected path, via script and before to return the control to the setup dialog, you can use the same identical approach you already released to get the disk space and to format the various value.

I know this doesn't look so simple, but it's the only possible approach that I can suggest.

Hope this helps you.

Regards