Hello,
I have problem related to execution sequence in Advance installer.
1. For first problem I did found workaround, but for mu understanding this is wrong way. I will explain.
1.1 I have creation of SQL database implemented in "SQL Database->CustomConnection->Execution of SQL Script.
1.2 I have custom action that executes process from temp folder.
This process have configuration file that have some value that needs to be replace, among other it has connection string properties.
If I put this action before finish stage it fails, because 1.1 (creation of db did no happen).
If I put this action after finish stage it works.
2. I have some custom installation properties (under install parameters) that have default values, for example MY_PROP = "somedefaultvalue"
I have some files inside application folder structure for which I perform "text file update". Here I replace some values with the values of properties. For example: I replace occurance of <MY_PROP> with value of MY_PROP
I custom action that need to set the value of MY_PROP.
Again the same problem:
If I put this action before finish stage it fails, because it seems that those properties are not defined before "finish" stage. But if I put it after "finish" stage, it executes but updates the property too late, bacause "text file update" seems to be already done.
Can you please help with this issues?
FOLLOW US
Get the latest news in Application Packaging