Hello!
I have a specific problem: i am using a couple of custom actions (inline PS scripts) to calculate\set variables after user selects installation path and i want to update some file before it will be installed (moved to target directory).
The below setting (web.config file) should be upated to a variable that calculated by inline PS script:
<appSettings>
<add key="visionblue.exe.path" value="MY_VARIABLE" />
</appSettings>
Basically, target folder will have a couple of already installed Web services (by separate installer) with their own web.config files, so I cannot update configs in target foder after installation to not break previously installed services.
The updates required only for those services, that are a part of "Files and Folders" section:
I tried to use a folder name from the above screen - "ClaimsServiceAPI_Dir", but it does not exists for a moment.
Also, i tried to use APPDIR folder and get a list of files under it, but my source files (from "Files and Folders") are not yet there because install process is not yet started i.e. user did not click "Install" button.
So I wonder how can I update some source file while installation (or before user clicks "Install")?
I was thinking about subscribing some event that occurs when file moves to a target folder, so I can update it beforehand.
Regards,
Andrey