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!

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

UpdateFeaturesInstallStates not keep modify requeststate

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: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: UpdateFeaturesInstallStates not keep modify requeststate

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

Hi,

Attached a AIP sample project in the zip
testApplication.zip
(141.7 KiB) Downloaded 4453 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: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: UpdateFeaturesInstallStates not keep modify requeststate

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”