Hello,
Unfortunately, we don't have a predefined support for this. However, you can do that using a custom action. You can add a
"Launch attached file" with sequence custom action after "Install Execution Stage -> Add Resources" standard action which runs a .dll that will create the file. The custom action should run as "Deferred with no impersonation" and only on install. Also, you should pass the file path and the filename parameters of the related file using
"CustomActionData" property.
You can take a look on our
"Serial Number Validation DLL" article to see how to run a .dll using a custom action.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging