Greg102
Posts: 6
Joined: Tue Sep 02, 2008 10:26 am

MsgBox Session.Property("APPDIR") return ""

MsgBox Session.Property("APPDIR") return ""

Custom Actions/ InstallExecuteSequence/ Install/ ScriptInline

Execution Properties: "Synchronous execution, check return code"
Execution Options: "Defered"
Scheduling Options: "Always Execute"
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Re: MsgBox Session.Property("APPDIR") return ""

Hi,

Please note that this custom action will fail during installation. It should be:

Code: Select all

MsgBox Session.Property("APPDIR")
Also you cannot access properties from a deferred custom action. You should set it to "Immediate execution".

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”