Hi and welcome to Advanced Installer forums.
The name of a file that is added in the Files and Folders page is of
PseudoFormatted type, so it can be modified only before or during the build time, it cannot be modified at install time.
However, you can achieve this if you follow the steps below:
- use the
[OriginalDatabase] property to get the name of the MSI package (this property contains the full path to the MSI, so you can create a custom action to parse it)
- create a custom action which will rename the .exe file after it was installed on the user's machine and place it after "Install Execution Stage -> Add Resources" action group
- check the "deferred" with "no impersonation" option for this custom action
Let us know if this helped, otherwise give us more details about your scenario.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging