ryjekpl
Posts: 4
Joined: Wed Jan 11, 2017 8:42 am

Installer property doesn't resolve in ActionData.

Hello,
I have a problem with installer property. I setting a public property LOGPATH in Install Parameters and using it in CA Action Data. But unfortunately it doesn't resolve correctly and I get Property.LOGPATH insead of it's value, i.e:
MSI (c) (0C:40) [17:41:05:675]: PROPERTY CHANGE: Adding CustomActionData property. Its value is 'APPDIR=C:\Program Files\AppName\;LogPath=Property.LOGPATH;'.
What am i doing wrong?

Best regards,
Piotrek
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer property doesn't resolve in ActionData.

Hi Piotrek,

I'm not sure why this does not work for you.

Please take a look on the "How to access installer properties from deferred custom actions" article which describes the steps that you need to take. The "can't access property from vbscript" thread may also help you.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”