Service and multiple Instances - 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!

Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Service and multiple Instances

I create a setup which installs a exe file as a service and use multiple instances to run the setup again and create another service. As the application folder I use [ProgramFilesFolder][Manufacturer]\rt[InstanceId] and on the service page the servicename would be CoCRealtimeNode.Service[InstanceId].

The install works properly, but when I want to uninstall a instance this didn't work. What i found out is that when I stop the service manually and run the uninstall it will work.

The settings on the service operation are stop and delete for the uninstall event. This setting worked in my other setups without multiple instances properly.

Regards

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

Re: Service and multiple Instances

Hi Maverick,

Can you please give me more details about the problem you encountered? What is the exact behavior shown during the uninstall of an instance? Also, can you please send us the .AIP you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Service and multiple Instances

Hi Cosmin,

the behavior is that on an uninstall the setup ended permaturely when the servie is running before uninstall.

I've sended you the aip file.


Regards

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

Re: Service and multiple Instances

Hi,

Your project seems to be configured correctly. Also, we are unable to reproduce this behavior on our test machines. Can you please send us a verbose log of the uninstall process with the problem so we can investigate it?

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

Return to “Common Problems”