I need to get the installer's directory location when it runs and pass it to my config program that gets called at the end of the install. Using NSIS, I could pass the value of GetExePath. How can I get the installer's directory location and pass it as a command line argument?
I am calling my config program using Launch Installed File custom action and am trying to pass the path as an argument in the command line field.
I can use [AI_SETUPEXEPATH] as an argument which passes the full path \\Folder\setup.exe but I only want to pass the directory it is in \\Folder.