Service installation with Repackage - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kloc1010
Posts: 1
Joined: Fri Jul 15, 2011 6:42 pm

Service installation with Repackage

I have a service that i need to install when i repackage. I've been able to successfully point to the executable that i need to run the service but there is also a .conf file that i need to direct to for the service to run properly. I have an example listed below:


"ProgramFilesFolder\DirectAuthenticator\Administration Service\bin\administration-service.exe" -s "ProgramFilesFolder\DirectAuthenticator\Administration Service\config\administration-service.conf"

I've highlighted the second portion that i need to add to the executable for the service to run. Ive also included a picture below of where im attaching the service. If anyone point me in the right direction of how to attach the second .conf file to the executable id greatly appreaciate it.
Image
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Service installation with Repackage

Hi,

You can add the service command line parameters in Arguments field from Service Properties pane. After typing "-s" you can type a left bracket ("["). A menu will then appear which will allow you to select the configuration file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”