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!

Mattb
Posts: 1
Joined: Thu Aug 16, 2012 2:14 pm

Dynamic service name

Hi there

I need to have multiple instances of the service installed...

So what i will need is on the UI a textfield where the user can enter a name for the service, for example on one installation "service1" on the other "service2" and so on... (i know i have to allow multiple instances for the installation)...

I tried and searched a lot, but did not find a solution... the only thing that worked was the property but that would be set on build and not on runtime...

Does somehow know a way? In the services register on right click on the service I don't have the entry configurable... why?

ps: i know i have to store the name also in the app.config anf load it as servicename...

Thanks a lot!

Matt
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Dynamic service name

Hi Matt,

Unfortunately this is not supported by Windows Installer. The service name is not formatted, so it can use only hard-coded values.

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

Return to “Building Installers”