We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

smljoju
Posts: 41
Joined: Fri Jun 27, 2014 1:36 pm

Determine installer exe file name during install time

Is there a way to determine the installer exe file name during installation? I checked and there seems to be AI_SETUPEXEPATH and AI_SETUPEXEPATH_ORIGINAL though both seems to return same value, I though "original" will return the original file name, but it doesn't matter, is there a way to get just the file name instead of the path without any parsing?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Determine installer exe file name during install time

Hi,

I'm afraid that there is no predefined property that contains only the name of the EXE setup. As you mentioned, in order to achieve this you can parse the "AI_SETUPEXEPATH" property which contains the path to the EXE file and extract the name from it.

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

Return to “Building Installers”