I need to set some features' state to INSTALLSTATE_ABSENT/INSTALLSTATE_LOCAL depending on a checkbox selection, using VBScript in a custom action. Here is what I did,
---
Dim objInst
Set objInst = Session.Installer
objInst.ConfigureFeature( "{MyProductGUID}", "MyFeatueName", msiInstallStateAbsent )
---
I got Internal Error 2740 at runtime. Please help me out what I need to do to accomplish this. Thank you in advance.
P.S., I suspected it has something to do with msiInstallStateAbsent parameter, but could not find any documentation about it.
--Andy