CustomAction To edit Service file.
hi..
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
Changes to the system belong in the ExecuteDeferred sequence. There, your script will need to run before InstallFinalize.
Also, condition your CA to run only on install and edit your script to test for that line's existence. The way it is now, if the package gets installed 12 times, you'll get 12 identical lines in the SERVICES file.
Also, condition your CA to run only on install and edit your script to test for that line's existence. The way it is now, if the package gets installed 12 times, you'll get 12 identical lines in the SERVICES file.

so that the conversation will remain readable.