I have a custom action and need to get below values for copying some parts from installation folder to VS2010 folder
- VS2010 directory path (
VS2010DEVENV
property) - Installation path (
INSTALLLOCATION
property)
To give enough privileges, I've set custom action as Execute='deferred' Impersonate='no'
. But when running the installer, it logged the message:
Cannot access session details from a non-immediate custom action
It seems we cannot access a property in a "deferred" custom action (i.e session["VS2010DEVENV"]
)
Is there any other way so that I can retrieve those values as needed?