During my installation I need to create a configuration file which is used by the service I am installing.
I created a custom action and put it under the InstallExecuteSequence->Install folder. It works fine if the application directory already exists, but if the application directory doesn't exist then the configuration file is not created.
I need the file to be created early in the process so that it is available when the service starts. If I use the deferred option it seems that the service is started first, but because the configuration file doesn't exist yet it fails to start and the installation files.
How do I get a custom action to run after the the app directory is created?
Thanks,
Chris.
FOLLOW US
Get the latest news in Application Packaging