*Urgent* Some files are not installed - Advanced Installer Community
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

*Urgent* Some files are not installed

Dear Advanced Installer Support Team,

We noticed a very weird issue: depending on how the features are selected on the FeatureSelection dialog of our install wizard, some files are possibly not installed at all. I'll send over our .aip and an .exe file you can test.

Reproduction steps:
Scenario 1: Working scenario:
1. Launch our .exe
2. Select "Therefore Connect" -> "Web Access and eForms" feature. Use "Entire feature will be installed ..." option.
3. Confirm that you can see 59 files in "C:\inetpub\wwwroot\TWA\TDWV" folder. That is correct, we need 59 files to be in there.

Scenario 2: Non-working scenario:
1. Launch our .exe
2. Select "Therefore Connect" -> "XML Web" feature. Use "Entire feature will be installed ..." option.
3. Select "Therefore Connect" -> "Portal" feature. Use "Entire feature will be installed ..." option.
4. Select the entire "Therefore Administrate" feature. Use "Entire feature will be installed ..." option.
5. Select "Therefore Connect" -> "Web Access and eForms" feature. Use "Entire feature will be installed ..." option.
6. Confirm that you can see 19 files in "C:\inetpub\wwwroot\TWA\TDWV" folder, which is incorrect. Many files are missing.

Please let me know if you could reproduce the problem. We managed to do so many times.

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,

Thank you for the provided files.

I have done some tests on our end, but unfortunately I was not able to replicate the described behavior.

In both scenarios, the mentioned folder contained 1 subfolder and 52 files (so a total of 53 files):

First scenario:
firstScenario.png
firstScenario.png (52.23 KiB) Viewed 10249 times
Second scenario:
secondScenario.png
secondScenario.png (118.43 KiB) Viewed 10249 times
In order to have a better view about this, could you please also forward me a verbose log of each scenario?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Hi Catalin,

Could you please use this reproduction steps instead?

1. Launch our .exe
2. Select "Therefore Connect" -> "XML Web" feature. Use "Will be installed on local hard drive" option.
3. Select "Therefore Connect" -> "Portal" feature. Use "Will be installed on local hard drive" option.
4. Select "Therefore Connect" -> "Web Access and eForms" feature. Use "Will be installed on local hard drive" option.
5. Confirm that you can see 19 files in "C:\inetpub\wwwroot\TWA\TDWV" folder, which is incorrect. Many files are missing.

We just managed to reproduce the issue. You are right, the "Entire feature will be installed ..." option is working fine.

Thanks.

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,

First of all, please accept my apologies for the delayed reply.

Thank you very much for your followup on this.

I have run some more tests and I can indeed confirm that I was able to reproduce this issue on my end.

To be honest with you, I can not say for sure why this happens.

I have, however, forwarded this to our development team for further investigations.

In the first test I've done, I was not able to reproduce the issue, which led to me discovering something quite interesting.

It looks like the order of selection in the "CustomizeDlg" dialog actually matters. In my first test, I've selected the features in the following order:

Web Access and eForms --> Portal --> XML Web

When doing so, I have noticed that the folder contained 53 resources (52 files and 1 folder).

Could you please try this on your end and let me know if you are also able to reproduce this?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Hi Catalin,

We know that there is a "correct" order, that's what I wrote in the email. If we first select the Web Access, then it works, we really get 53 files. But our problem is that some customers were selecting our features in the wrong order, and then they started to complain that some files were missing. We need to makes sure every selection order works.

Thank you. :)

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,

Sure thing.

I just wanted to make sure that everything worked as expected on your end as well with the scenario I discovered.

As I've mentioned in my last thread, I have forwarded this to our development team for further investigations as I was not able to find the root cause of this.

I will let you know once I will receive an answer from the development team.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,

Unfortunately, we were still not able to figure out why this strange behavior occurs.

The project is quite big and it would really help us if you could replicate this behavior in a test-project which then you could forward to us for further investigations. Could you please try to replicate this in a test-project and then send it to us?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Hi Catalin,

Unfortunately we could not reproduce it in a smaller .aip yet.

But I think you have more possibilities on your side, since you have deeper knowledge about what Advanced Installer is doing (e.g. how you generate the exe). I know our project is quite complex and big, but it was already a big effort from our side to track down this bug and figure out the reproduction steps. This issue is quite tricky, and also serious, because some files might be missing from our customer´s PCs.

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,
But I think you have more possibilities on your side, since you have deeper knowledge about what Advanced Installer is doing (e.g. how you generate the exe).
Unfortunately, the not so good thing here is the fact that this issue reproduces on MSI as well, therefore we believe it is not our EXE which causes the problem.

Our developer believes you may have reached some Windows Installer limitation of some sort.

I have also tested this over the last few days consistently, but I could really not find anything. Comparing the two installation logs, they are literally identical beside the fact that in one of the logs, the TDWV feature is installing and in the other, it is not. From what I can see, this is the feature that is affecting the number of files in the folder you specified.

Additionally, I can see that the feature has its' default state set to "Installed", and I could not find anything that would prevent it from installing in the project file.

There is one thing I would like you to test, if possible. Could you please set the "Always install this feature" option for the TDWV feature in "Organization" page and let me know if this affects the behavior in any way?

In the meantime, I will try to further investigate and test this and I will let you know if I find anything that might be useful.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Hi Catalin,

Sure, I will test the "Always install this feature" option for the TDWV feature in "Organization" page and I will let you know the outcome of my tests.

Regarding this sentence "Our developer believes you may have reached some Windows Installer limitation of some sort.": maybe you are right and it can be a Windows Installer limitation, but then only Advanced Installer knows the answer how we should change our .aip project in order to avoid that limitation. I mean the only place where we change things is the Advanced Installer project itself. We are not hacking in anything, we are not doing any unconventional. We just added a new feature for our .aip project with 53 files inside and we expect that the feature will be installed on the hard drive if it's selected for installation. Then we generate an .exe file with Advanced Installer, but the generated .exe is not doing what we expect and what we configured in the .aip project.

We are happy to try out different settings (changing install condition, whatever) in Advanced Installer based on your proposals, but we are not able to fix this issue without your help. We could just prove that the exe is not exactly doing what it should do based on the settings we set in the .aip.

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,
Sure, I will test the "Always install this feature" option for the TDWV feature in "Organization" page and I will let you know the outcome of my tests.
Yes, please let me know the outcome of this.

If that is of no help, could you please archive your resources and forward them to me so I can build your project and play a bit with its' settings?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Hi Catalin,

It seems "Always install this feature" option helps and fixes the issue -> the problem is that we don´t know why it helps :) In theory the files should be installed even without that option, right?

Do you think it is a proper solution?

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,

I am really glad (and relieved) to hear that it is now working as expected. :)
In theory the files should be installed even without that option, right?
Yes, you are indeed right, the files should have been installed since you had the default installation behavior set to "Installed" and no counter condition for that.
Do you think it is a proper solution?
Yes, I believe it is. Please allow me to explain why.

This feature had the default installation behavior set to "Installed" and no counter condition set (either in the "Not installed" field or on any dialogs). Additionally, the feature was hidden from the "CustomizeDlg" dialog.

Basically, this is what you wanted from the start, to always install this feature, otherwise you would have let the feature visible for the user to decide whether he wants to install it or not or you would have a counter condition for it.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: *Urgent* Some files are not installed

Dear Catalin,

You are right, the problematic feature (TheTDWV) is always installed IF its parent feature (TheWebAccess) is selected for installation by the user. By default TheWebAccess is not selected. I hope TheTDWV feature will be installed only if its parent is selected - even if we use the "Always install this feature" checkbox.

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: *Urgent* Some files are not installed

Hello Zsolt,
I hope TheTDWV feature will be installed only if its parent is selected - even if we use the "Always install this feature" checkbox.
I've done some tests and it looks like a sub-feature is not installed if its' parent feature is not.


Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”