PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

UpdateFeaturesInstallStates not keep modify requeststate

Thu May 06, 2021 1:17 pm

Hi,

the UpdateFeaturesInstallStates doesn't keep the previous RequestState of a feature

I have a dialog showing the QuickSelectionTree.
The feature is setting as Not Installed
When I check the feature, the RequestState is changed to Local

when the DoAction UpdateFeaturesInstallStates is excecuted after, the RequestState is modified to absent.

Regards.

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: UpdateFeaturesInstallStates not keep modify requeststate

Mon May 10, 2021 2:38 pm

Hello Philippe,

Unfortunately, I can not say for sure why this happens.

In order for me to further investigate this, could you please create a sample project that reproduces this and forward it to me?

If you can not create a sample project, please forward me a copy of:

- your .AIP file

- the installation log

by e-mail at support at advancedinstaller dot com so I can investigate its' settings and try to reproduce it locally.

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

PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

Re: UpdateFeaturesInstallStates not keep modify requeststate

Wed May 12, 2021 9:02 am

Hi,

Attached a AIP sample project in the zip
testApplication.zip
(141.7KiB)Downloaded 169 times
contains
aip project
custom action dll (testApplicationAction.CA.dll) which show the feature states

To reproduce the dysfunction :
Launch a test installation UI
Click on the Next Button of welcome dialog
Click on the Next Button of Folder dialog
In the SelectFctDlg dialog select only featureB
Click on Next Button

A form appears "before change INSTALL_FEATA_PROP"
the requeststate of FeatureB is Local
Click on Ok button
a publish event set property INSTALL_FEATA_PROP to 1

A form appears "after change INSTALL_FEATA_PROP"
the requeststate of FeatureB is absent

regards,

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: UpdateFeaturesInstallStates not keep modify requeststate

Mon May 17, 2021 6:41 pm

Hello Philippe,

Thank you very much for the provided resources.

I have run some tests on my end and I was indeed able to replicate the behavior.

Unfortunately, I can not say for sure why this is happening.

Please give me some more time to further investigate this and maybe consult with our development team and I will come back as soon as I have more information.

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

Return to “Common Problems”