Customization Questions - Single File installation

Got a problem you cannot solve? Try here.
kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Customization Questions - Single File installation

Postby kimatunit4 » Tue Nov 03, 2020 8:06 am

Hi,

1. How can I change the icon of the single file installation? The "Load Icon..." in Project Settings->Project->Add-Remove doesn't affect it.

2. The text when double-clicking on the single file installation, doesn't seem to get translated. Even though I am using
mTranslater.exe in "InstallAwareX12\Program Files (x86)\trans"

"The InstallAware Wizard is verifying the contents of this setup package. This may take a moment."

I have to modify the string in translation.English.

Is there a better way?

Thanks,

Best regards,

Kim

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Tue Nov 03, 2020 10:36 am

1- From IA IDE switch to Design View, from the left tree pane select "Creatives" under the "User Interface" node. Finally, add your logo as "installaware.png".

2- This is part of the Shared Strings.
shared_strings.png
shared_strings.png (62.67 KiB) Viewed 13702 times

You don't have to modify any string in the in translation.English file or in any other language file.
You have to localize your setup strings.

For more details, please also refer to:
"How to use InstallAware Translation Tool"
(https://www.installaware.com/forum/viewtopic.php?f=2&t=6772#p25655)

Localization Wizard
https://www.installaware.com/mh52/desktop/localizationwizard.htm
https://www.installaware.com/forums/viewtopic.php?f=2&t=5048

Hope this helps you.
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

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Fri Nov 06, 2020 6:45 am

Hi,

Thanks for the reply but unfortunately I cannot get it to work.

1- From IA IDE switch to Design View, from the left tree pane select "Creatives" under the "User Interface" node. Finally, add your logo as "installaware.png".

Doesn't that just display a custom logo during the installation progress?
It doesn't seem to affect what I want: The very icon for the Single file installation to be customized under the 'Single' folder.
2020-11-06_12-17-07.png
2020-11-06_12-17-07.png (8.37 KiB) Viewed 13680 times


2. The shared strings
I have used the Project Properties->Localize->Export strings from project to translator..., localized the installation string to Swedish but didn't get it to work regardless. Maybe I need to reinstall/repair InstallAware X12?

Best regards,

Kim

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Fri Nov 06, 2020 7:34 am

Regarding the initialization string not being replaced despite translation/localization, I might have a more precise case where it doesn't seem to work:

Add a setup.bmp in Creatives. Then the translation is not displayed but still being in English.
Make sure you have some large files to be included in the installation so it is displayed long time enough to discern it.

"The InstallAware Wizard is verifying the contents of this setup package. This may take a moment."

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Fri Nov 06, 2020 11:21 am

1- for what concerns the icon, for some reasons I missed that you was referring the file icon of the generated setup package. I'm sorry for that.

The icon file has to be defined in the "Project Settings" (SHIFT+CTRL+F11):
prj_options.png
prj_options.png (17.41 KiB) Viewed 13670 times


2- Concerning shared strings, did you import back into the project your strings once translated?
did you follow the steps described with the doc: "How to use the InstallAware Translation Tool"'?
shared_strings.png
shared_strings.png (34.75 KiB) Viewed 13670 times

init_progress.png
init_progress.png (6.55 KiB) Viewed 13670 times

In my case, my test setup targets the English language ...and I had to customized just the English version of my shared strings.

Hope this helps you
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

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Fri Nov 06, 2020 6:15 pm

Hi,

Thanks for the info.

The icon issue however, loading icon in Project Options as you showed works for CD or DVD installation exe file, but it doesn't seem to work for Single File installation exe (I have added a setup.bmp in Creatives as well here). Is this a bug or is there something I am not doing right?

For the strings, in Single File Installation, it doesn't seem to work either for any other language except English, an assumption I am making as it doesn't work with Swedish when I add setup.bmp as I described in the previous post.

Best regards,

Kim

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Mon Nov 09, 2020 10:49 am

1- There my be something you are not doing right. For the file icon of the generated setup package, it's just necessary to define an icon file in the "Project Settings" (SHIFT+CTRL+F11).

2- The generated setup will use the default language as defined in the Project Settings. Did you set this to Swedish?
default_language.png
default_language.png (44.38 KiB) Viewed 13646 times

Then don't forget to export/import your translated version of the Swedish strings
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

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Mon Nov 09, 2020 3:24 pm

Hi,

Thanks for the reply. I am running out of ideas.

I have also tried by creating a new project. With Setup.bmp, neither icon is changed in Single File installation nor the translation of the string are used. It displays ""The InstallAware Wizard is verifying the contents of this setup package. This may take a moment."

I am using InstallAwareX12 build 7.2.2020.

If anybody cracks what I am doing wrong and show me how to get both issues I have to work (unless there are bugs in InstallAware of course), I will send you a single malt whisky (a cheap one but still a single malt).

Cheers,

Kim
Last edited by kimatunit4 on Wed Nov 18, 2020 2:48 am, edited 1 time in total.

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Wed Nov 11, 2020 7:53 am

No, there isn't any bug or bugs.

For what concerns the localization of the "First Initialization dialog", and exclusively for what concerns this dialog only, its behavior depends on the target OS Language. So in your case, you should run your Compressed EXE on a Swedish target OS. I just did a test and works as expected.

Regarding the icon of the generated Compressed EXE, I can only suppose that this may be due a problem with the icon file you assigned. For example, I used the one attached (it's a compressed 7zip archive)...and it works fine.

Finally concerning the single malt whisky, you may contact me privately for the shipment address :D

Hope this helps you.
Attachments
Hello.7z
(51.62 KiB) Downloaded 800 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

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Wed Nov 18, 2020 2:53 am

Hi

Sorry for the delay to get back to the forum to look for your reply.

Thanks. I will try with the icon (Hello.ico) you attached.

Is there any way to force to show the same icon regardless of target OS language? As our icon doesn't have any localization details in it and many developers/QA have like me, have Windows 10 display language in English but regional settings to Swedish.

Best regards,

Kim

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Wed Nov 18, 2020 7:46 am

Hi,

I think I figured it out now what causes the customized icon to be replaced by the default in Single File Installation. Could this be a bug unless there is something with compression settings I am missing?

If the compression level is set to the max, the icon is not being customized. As soon as I drop the compression level to a lower, I see it displaying the icon I customized and expect. A confirmation would be nice.

icon.ico_not_begin_customized_compression_highest_level.jpg
icon.ico_not_begin_customized_compression_highest_level.jpg (112.01 KiB) Viewed 13504 times


The second issue which I also think might be a bug is the non-ASCII characters in output file name.

single_installation_fails_with_non_ASCII-output_filename.jpg
single_installation_fails_with_non_ASCII-output_filename.jpg (147.63 KiB) Viewed 13502 times


I tried to "overcome" this problem by building the installation with the output filename containing only ASCII and then add the produced single file installation with non-ASCII (ÅÄÖåäö) I omitted during installation build, but that didn't work. In certain Windows OS-versions, it caused similar problems still and the installation didn't complete.

This compression setting also made me to look at the earlier post I sent:

Remove InstallAware branding - viewtopic.php?f=2&t=11291

When the compression level is maxed, it also causes the Copyright field to get garbled
'All rights reserved8 InstallAware Software"

garbled_copyright_in_encrytion_set_to_max.jpg
garbled_copyright_in_encrytion_set_to_max.jpg (60.38 KiB) Viewed 13501 times


Now I start to wonder if this max compression level might cause more severe issues then the ones I am observing?

Best regards,

Kim

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Thu Nov 19, 2020 11:54 am

I think I figured it out now what causes the customized icon to be replaced by the default in Single File Installation. Could this be a bug unless there is something with compression settings I am missing?

If the compression level is set to the max, the icon is not being customized. As soon as I drop the compression level to a lower, I see it displaying the icon I customized and expect. A confirmation would be nice.


Yes, unfortunately it seems to be as you say. I just escalated the problem to our dev team, and at moment, I cannot anticipate any time frame about the resolution of the issue, nor if a fix will be available. If you are on Gold Support subscription, you may contact us for all additional support options available to Gold support subscribers.

The second issue which I also think might be a bug is the non-ASCII characters in output file name.

I don't understand from where you get such characters, honestly. These appear to be rather garbage characters.
InstallAware full supports UNICODE, consequently as you can see by my screenshot, I'm using Chinese characters (non-ASCII characters) with the file name ...and I don't see any problem.
prj_filename.png
prj_filename.png (15.74 KiB) Viewed 13445 times

...and then, this is the generated output
generated_file.png
generated_file.png (11.85 KiB) Viewed 13445 times

When the compression level is maxed, it also causes the Copyright field to get garbled
'All rights reserved8 InstallAware Software"

Unfortunately, it's true. I escalated this issue as well.
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

kimatunit4
Posts: 18
Joined: Tue Jul 28, 2020 5:07 am

Re: Customization Questions - Single File installation

Postby kimatunit4 » Fri Nov 20, 2020 3:30 am

Hi,

Thanks for the confirmation.

Regarding the non-ASCII characters in output filename for SIngle File Installation:

There is no problem to produce the file containing non-ASCII characters.
But try to run and complete the produced installation successfully. That doesn't work for me with compression level set to max. I have used Swedish characters 'ÅÄÖåäö'' to illustrate the problem.

I have attached a video. A confirmation whether this is a bug or by design would be appreciated.



Best regards,

Kim

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

Re: Customization Questions - Single File installation

Postby FrancescoT » Mon Oct 31, 2022 9:09 am

This has been fixed by the latest IA x15 minor update v.32.22.
- Highest compression self-extractor icon could not be customized
- Highest compression self-extractor resource strings unterminated
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 58 guests