How to access parameters or settings for guest executable during SetupEntryPoint?
See here for information on how the Application/Service Manifest APIs allow you to specify environment variables for each service that can be driven off of application (per instance) parameters, while also being able to specify suitable defaults.