Hello,
I’m developing an installer for a Rhino plugin, and during the installation process, I need to run a PowerShell script that installs another file (“yek.”) on the system.
For this purpose, I need to get the folder path that the user selected during the installation (the destination path).
I’m using the [APPDIR] property to retrieve it, but it always returns the default path C:\Program Files — unless the user manually changes the drive (for example, selects D:). Also, if the user chooses another folder inside the C: drive, it still returns the same default C:\Program Files path instead of the selected subfolder.
My PowerShell custom action runs after the system has been successfully modified, but I still need to know the correct user-selected [APPDIR] value at that point.
How can I correctly get the actual installation path selected by the user during setup?
Thank you in advance for your help!
Best regards,
Vahid