Feature request, number formats

Got a problem you cannot solve? Try here.
Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Feature request, number formats

Postby Tinus » Tue Jul 11, 2006 9:39 am

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.
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Wed Jul 12, 2006 8:39 am

No comment?
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

ante_s
Posts: 1
Joined: Thu Feb 19, 2009 5:42 am

Postby ante_s » Thu Feb 19, 2009 5:52 am

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.

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Postby bokkie » Thu Feb 19, 2009 10:31 am

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 "."
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Re: Feature request, number formats

Postby anumo » Mon Jul 12, 2010 6:48 am

What about this issue? Is this solved or still a problem (which occurs in Germany too)?
Evaluating InstallAware ...

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Feature request, number formats

Postby mills » Mon Jul 12, 2010 5:00 pm

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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Re: Feature request, number formats

Postby anumo » Tue Jul 13, 2010 11:47 pm

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 ... ;-)
Evaluating InstallAware ...

MartinIW
Posts: 70
Joined: Thu Feb 10, 2011 8:35 am
Location: Germany

Re: Feature request, number formats

Postby MartinIW » Wed Nov 16, 2011 9:29 am

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

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Feature request, number formats

Postby giaviv » Thu Nov 17, 2011 8:58 am

Martin,

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

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

MartinIW
Posts: 70
Joined: Thu Feb 10, 2011 8:35 am
Location: Germany

Re: Feature request, number formats

Postby MartinIW » Mon Jan 11, 2016 4:16 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Feature request, number formats

Postby FrancescoT » Tue Jan 12, 2016 12:42 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Re: Feature request, number formats

Postby anja_laenge » Thu Sep 08, 2016 7:28 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Feature request, number formats

Postby FrancescoT » Thu Sep 08, 2016 1:35 pm

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 22876 times


Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Re: Feature request, number formats

Postby anja_laenge » Fri Sep 09, 2016 2:22 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Feature request, number formats

Postby FrancescoT » Fri Sep 09, 2016 1:53 pm

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
Attachments
Basic dialog action.zip
(539.25 KiB) Downloaded 600 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 45 guests