Some problems found - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Some problems found

Hello everybody,

I'm doing tests using the Advanced Installer RC 8.1(build 33034) and have found some issues:
  1. Building a path using properties: I'm using a condition within a button in the UI to construct a path. This path will sored in the registry. The problem is the backslash at the end of the construction. See the image:
    Property.png
    Property.png (60.1 KiB) Viewed 14188 times
    In the field "Argument" I use the following code: "[CommonAppDataFolder][Manufacturer]\[ProductName]\".
    I'm wating to get a path like: "C:\Users\Default\AppData\Roaming\PEAK-System\PCAN-Developer\"
    but I'm getting a double backslash at the end: "C:\Users\Default\AppData\Roaming\PEAK-System\PCAN-Developer\\"
    If I let the "\" out of the argument line, then I get the path: "C:\Users\Default\AppData\Roaming\PEAK-System\PCAN-Developer".
    Who is adding the second backslash?
  2. Unknown language at uninstall: This problem occurs under windows XP - SP2 (I have only tested under Win-7 32/64 Bit and XP-SP2). When uninstalling the product by clicking the "Remove" button of the Software list from windows, the language used by the msi-uninstaller ist wrong:
    XP SP2.png
    XP SP2.png (54.54 KiB) Viewed 14188 times
    The same process under a Windows-7 machine works properly. Take into consideration that my installation is mixed 32/64 Bit with two languages, english and german, together within the same exe.
  3. Installation Options - Package Type: (This is more a suggestion) When you select "Mixed 32/64..." then a wizard is launched. Let's say we don't want to use the wizard and we click "Cancel". If you do so, the selection on the "Package Type" box will return to the last selected type (the Intel64, if you did the change by scrolling the combobox). There is no work-around but to complete the wizard... in an empty project, actually no big deal.
    Well, let's say I have already all configured, all my files, my CAs etc. in my project, so it is finish. Then I thing "hey, I need a new property" and I go to the "Install Parameters" page. Here unintentionally I do change the Package Type and... that's it, I cannot set my all configuration anymore and here I "REALLY" don't want to let the wizard work because I don't know what will happen with all the changes I did before. So the only way is to close the project without saving and opening again.
    It would be nice we you could set this wizard as "optional". I know that he is used to set internal properties to control the mixed environment, but it could be done in backgound too.
  4. Unable to control the installation using the keyboard: Driving the installation with keyboard has some problems. In dialogs with options (checkboxes, radio buttons, etc.) I'm unable to select the controls in the traditional way:
    • In some dialogs (in my test, the license Dialog) first you don't have the focus on the dialog. So, hiting the TAB key, ESC key or any other key doesn't work. If you change from window (e.g. using ALT+TAB) and then select again the installation, then you'll able to use the keys.
    • After having activated the window, comes the second problem: The way to navigate through the controls (using tab traditionally, or the direction keys) works estrange:
      1. When you click ESC, the abort dialog is shown, having pre-selected the button "No" (which is at the right of the window). The direction keys work here in an inverse way. It is mean, to get the left button,"YES", (->) must be clicked, and to get the right button ("NO"), <- must be clicked.
      2. When you have two or more radio buttons, there is no way to select the option that is not checked, not with tab, nor with the direction keys. The only way is using the shorcut of each. Using another language is an aggravating factor. For example, in german the word "Back" is Zurueck and "Zu" for accepting the aggrement, so in the license dialog, when running in german you have as shortcut "Z" to get back to the previous dialog and also "Z" for accept the license. I know if I translate the "User Interface" in my dictionary I will be able to assign another shortcut for it, but it the default values for this pre-defined dialog should work without a translation, since there is already a translation for it.
In the other hand, I'm glad to see many possibilities to configure/change that I have missed in other products.

Regards,
Keneth
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Some problems found

Hi Keneth,

Thank you for your feedback.

Here is what we found regarding the issues you reported:
1. The issue is fixed for the 8.1 release
2. We are aware of the issue but we cannot reproduce it every time. We will continue to investigate it.
3. Thank you for the suggestion, we will consider the change in a future version. The reason it's like this is because usually a lot of users make mistakes when organizing components and features in a mixed package.
4. Please follow this link to see why.
(b)Thank you for bringing this to our attention, we will try to improve this in a future version.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello Mihai,

About 2: A tip: You should check what kind of "Font" you are using at uninstall. I have noted that the font at install time is different than at uninstall time (just a little). It could be that a wrong type was selected unintentionally, and this font is sometime present on a system and sometimes not. Since windows doesn't recognize the font, it tries to use another, in this case a wrong one.

About 3: I find the 32/64 wizard actually very good. Just the fact to have to repeat it if you try to change the type is what I find a little anoying. It would be enough if one could confirm if you really want to change the type from 32/64 to another type, with the warning that the wizard will need to run in order to set the 32/64 type again. Or the possibility (but this is more complicated) to allow the user to do a "Undo" action.

About 4:
mihai wrote: 4. Please follow this link to see why.
Thanks for the link. The problem with the windows focus is solved, using the tab order. But you say there too, that you can select the radio buttons in a radio-group with the arrow keys. This is not my case. I'm also using a classic theme and I'm not able to navigate to all radio buttons in a group, as I already described. Nevertheless I have realized that I'm using the enhanced UI on install (default). If I configure the UI to never use the enhanced UI, then the radio buttons work properly. So this is more a problem of the Enhanced UI.
//------------------------------------------

By the way, I have tried the other themes, Azure, graphite, Modern, and Spring(my favorite), but some of them have problems. Are, in general, still known problems with those themes, that are being corrected? For example, I have found the following:

Note: I have tested configuring the Enhanced UI to be used only on install, as well as to use it always. The results are the same.
  • Spring: some default text will not be translated. So you have a mix of languages. Added to it, always when the UI ends (by install, or maintenance), the resources of the theme cannot be found, so you get an empty dialog with an error text:
    Spring.png
    Spring.png (12.42 KiB) Viewed 14154 times
  • Modern: there are problems within the Maintenance window. In Design mode I can see tha this windows has 3 texts (Add..., Repair..., remove), but when you run this, in the place of those text you'll find 3 big big icons (not interesting that I set the images to keep original images sizes, and do not to stretch them:
    Modern.png
    Modern.png (198.86 KiB) Viewed 14154 times

Regards,
Keneth
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Some problems found

Hello Keneth,

Thank you for your feedback.

2: We tried to reproduce this issue but unfortunately it didn't appeared on our machines. Can you please send us the .AIP file to support at advancedinstaller dot com so we can investigate this further.
3: Thank you for the suggestion, we will consider the change in a future version. At the moment we have the "Undo" framework in research.

For the "Spring" theme, we are aware of this issue and it will be fixed in the final release.
For the "Modern" theme, please make sure that you are running the generated EXE file and not the MSI file. If the behavior still reproduces while running the EXE file on multiple machines, you can send us the AIP files at support at advancedinstaller dot com so we can investigate this issues.


Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello Octavian,

thanks for your reply.
octavian wrote: 2: We tried to reproduce this issue but unfortunately it didn't appeared on our machines. Can you please send us the .AIP file to support at advancedinstaller dot com so we can investigate this further.
For me is very easy to reproduce that problem. I have tested in 3 different computers, and I got the error all the times. As I mendtioned before, it occurs only in machines with Windows XP (tested with SP 2 and SP 3, in both english and german versions). The MSI version of those computer is 3.1
octavian wrote: For the "Modern" theme, please make sure that you are running the generated EXE file and not the MSI file. If the behavior still reproduces while running the EXE file on multiple machines, you can send us the AIP files at support at advancedinstaller dot com so we can investigate this issues.
I'm sure of it. The test-installation is an exe, which contain all files inside, (msi 32-Bit, msi 64-bit, Translaform file, for german). The exe is configured to always show the language select, and the Enhansed theme is configured to be use only on install.

You will find attached a demo project and a compiled exe (in a zip file). This installation does no more than copy a empty file in the application directory. With this installation you should be able to see both issues, the problem at deinstallation, and the problem when modifying the installation.

Regards,
Keneth
Attachments
Themtest.zip
(714.41 KiB) Downloaded 538 times
Themtest.aip
(14.93 KiB) Downloaded 684 times
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Some problems found

Hello Keneth,

octavian wrote:
For the "Modern" theme, please make sure that you are running the generated EXE file and not the MSI file. If the behavior still reproduces while running the EXE file on multiple machines, you can send us the AIP files at support at advancedinstaller dot com so we can investigate this issues.
I'm sure of it. The test-installation is an exe, which contain all files inside, (msi 32-Bit, msi 64-bit, Translaform file, for german). The exe is configured to always show the language select, and the Enhansed theme is configured to be use only on install.
We finally managed to reproduce this. This actually is not a bug. In order for it to appear you must select from Control Panel -> Add/Remove Programs the Change option for your installed application. Since, at built time, you selected "Use Enhanced User Interface: Only on Install" in maintenance mode Enhanced UI will be disabled and thus this appears. To fix it, please select "Use Enhanced User Interface: Always (install, uninstall and maintenance) "for your package or launch the maintenance by using the EXE and not from Control Panel.

2. We managed to reproduce this bug and it will be fixed in a future release of Advanced Installer.

Thank you for the provided feedback.

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello Octavian,
octavian.vasilovici wrote:We finally managed to reproduce this. This actually is not a bug. In order for it to appear you must select from Control Panel -> Add/Remove Programs the Change option for your installed application. Since, at built time, you selected "Use Enhanced User Interface: Only on Install" in maintenance mode Enhanced UI will be disabled and thus this appears. To fix it, please select "Use Enhanced User Interface: Always (install, uninstall and maintenance) "for your package or launch the maintenance by using the EXE and not from Control Panel.
Well, I think it does. I have tested it with that option too ("Use Enhanced User Interface: Always..."), as I said in one of my posts:
McKool wrote:Note: I have tested configuring the Enhanced UI to be used only on install, as well as to use it always. The results are the same.
The behavior clicking the exe or clicking "Modify" on Add/remove Programs from windows, should be the same. The other themes don't have such a problem, even when not using Enhanced UI on Modify, as in this picture:
Othertheme.png
Othertheme.png (81.72 KiB) Viewed 14112 times
(This is the same project as the attached in my last post, just Azure as theme). So the only thing that suffer using this Theme without Enhanced UI (and this is in this case understandable) is the resolution of the pictures.

Hope this help. Regards...

Keneth
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Some problems found

Hello Keneth,

We were able the behavior that appears when using the Modern theme with multilingual package and mixed 32/64 package type when always using the Enhanced User Interface and it is indeed a bug. It will be fixed in a future release of Advanced Installer.

Thank you again for the feedback you provided,

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello,

I'm having a little problem with the bootstrapper (possible only a configuration problem from my side). According with this:
octavian.vasilovici wrote:To fix it, please select "Use Enhanced User Interface: Always (install, uninstall and maintenance) "for your package or launch the maintenance by using the EXE and not from Control Pane
I should be able to start the "exe" after an installation, and get the maintenance dialog. But the bootstrapper ends with the error message, that the package is already installed. How can I achieve that the error is not showed but the maintenance dialog? Do I must configure something extra for this?

Thanks in advance,
Keneth
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Some problems found

Hello Keneth,

Usually this error appears when another package with the same Product Code is installed. Therefor in order for your installation package to work, you need to uninstall the older version from Control Panel, then install the new package (using the EXE) and run the EXE again to enter maintenance mode. This can happen if you built your project, installed it, changed the project (files, or settings without changing the Product Code), built it again and try to run it.
This article explains this.
Please try running the EXE file on a clean machine and let us know how it turns out.

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello Octavian,

thanks for the rapid response. You're right, I had changed something in the new installation. I have actually expected that the mantenance dialog appears because the Product-ID is the same (and with it, still the same product), as other installer apps do. But I think now that this behavior from AI has sence, I just have to remove from me some bad habits :wink:

Just taking this oportunity, I have seen another strange thing within the "Spring" theme. When you try to "modify" the installation using the "Modify" button from "Add/Remove Programs" (using Ehanced UI "Always", or "on Install" is the same), the dialog stays flickering for a while, like it would try to refresh itself (about 2 seconds). Could you investigate this?

We are very pleased with AI. We really like the Spring theme and we want to use it, so it would be very nice if this is fixed for the 8.1 version (When do you plan to release the 8.1 version?).

Regards,
Keneth.
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Some problems found

Hello Keneth,
Just taking this oportunity, I have seen another strange thing within the "Spring" theme. When you try to "modify" the installation using the "Modify" button from "Add/Remove Programs" (using Ehanced UI "Always", or "on Install" is the same), the dialog stays flickering for a while, like it would try to refresh itself (about 2 seconds). Could you investigate this?
We just tested this and I can confirm it happens. The reason for this behavior is that in maintenance mode the "Enhanced User Interface" isn't enabled. What you are seeing is the transition from "PrepareDlg" to "MaintenanceDlg". However, we also tested it with a RC that has the "Always Show Enhanced UI" bug fixed and this behavior doesn't appear. So, in the final version of 8.1 a clean Maintenance interface, using Enhanced UI will be displayed .
As for the exact final release, I'm afraid I don't have an exact release date for this version, however it should be release very soon, probably until the end of this month.

If you are interested in an Advanced Installer 8.1 RC that has this fixed included, you can contact us at support at advancedinstaller dot com.
Thank you again for all your feedback and if you have any other question, please don't hesitate to contact us.

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Hello all,

I have just seen other two small problems. The first one is within the Azure theme (I have not tested the other themes for the same behavior).
McKool wrote:The behavior clicking the exe or clicking "Modify" on Add/remove Programs from windows, should be the same. The other themes don't have such a problem, even when not using Enhanced UI on Modify, as in this picture:

Image

(This is the same project as the attached in my last post, just Azure as theme). So the only thing that suffer using this Theme without Enhanced UI (and this is in this case understandable) is the resolution of the pictures.
I have configured the quoted example to use two languages and to show the Enhanced UI ALWAYS. It works good if I use english, but if I run the installation in German, then when I try to modify the installation using the "Add/remove Programs from windows", the english installation is launched, instead of launching the german maintenance dialog. Shouldn't be saved too which language was installed in order to call the correct msi on maintenance?

The other problem is regarding an exception within the RC version I'm testing. I have sent the aip file per email to your support email address.

Regards,
Keneth
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Some problems found

Hello Keneth,
I have configured the quoted example to use two languages and to show the Enhanced UI ALWAYS. It works good if I use english, but if I run the installation in German, then when I try to modify the installation using the "Add/remove Programs from windows", the english installation is launched, instead of launching the german maintenance dialog. Shouldn't be saved too which language was installed in order to call the correct msi on maintenance?
Thank you for reporting this. I can confirm the issue and forwarded it to our development team. A fix will be available in a future release.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Some problems found

Dear support,

are you working on a solution for the problem about the wrong font at uninstall when using Windows XP (explained at the beggining of this topic)?
Image

We are wating for a fix since version 8.1. We have already version 8.4 and the problem is still there. Since many of our customers use Windows Xp, we have each time more and more of them reporting this issue.

Could you please augment the priority for bringing out this fix?

Thanks,
Keneth

Return to “Common Problems”