This is a limitation of Windows Installer , not Advanced Installer. PowerShell does not have access to the installation Session object, so you cannot set / get properties from the powershell script in MSI, no matter which tool was used to build the MSI.
The only custom actions you can use to set the property (of course, as immediate , of course) are VBS scripts (embedded or file attachments) or DLLs written in C ++ or C # . C # is much simpler since you have access to many .NET APIs (but you also have the requirement that the .NET Framework be on end-user computers).
@ravikanth
script, . Weird!
Windows, , MSI. , , MSI, ", " . Windows , PowerShell Advanced Installer .
, PS , , , , , , . (, / Windows, ..). DLL , ( ), IDE ( ).