Service stop issue during uninstall - Advanced Installer Community
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Service stop issue during uninstall

There is a problem in uninstall, suppose if we installed on "c:\program
file\appname", during uninstall the service (created in custom action)
is getting stopped.

While if we install application in d:\ or any other drive the service is not getting stopped. I have checked in log file, AD installer is taking
"c:\program file" path. So why it is taking that path?. I have attached the log files and .aip file. Please find the attachment.
Attachments
test.aip
(112.97 KiB) Downloaded 365 times
MSI55981.LOG
(184.98 KiB) Downloaded 325 times
MSI3C53.LOG
(322.79 KiB) Downloaded 317 times
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service stop issue during uninstall

Hello and welcome to Advanced Installer forums,

This is happening because you don't have any file in the Application Folder view from the Files and Folders page and the Create folder on target machine option from the Folder Properties Dialog is disabled.
Having this option disabled, no component is assigned to the APPDIR, so during the uninstall process the APPDIR is set to its default
value: [ProgramFilesFolder][Manufacturer]\[ProductName] ( C:\Program Files (x86)\Vigyanlabs\IPMPLUS).

So, can you please enable the Create folder on target machine option from the Folder Properties Dialog for the Application Folder and see if the behavior still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: Service stop issue during uninstall

No I have tried but Same error.
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service stop issue during uninstall

Hello,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please attach a new verbose log of the uninstall process? Is the APPDIR set with the same default value even if the selected installation folder is on other drive than WindowsVolume (e.g. D:\) ?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: Service stop issue during uninstall

Yes still its taking default path. I have attached the log, please find the attachment.
Attachments
uninstall.LOG
(98.59 KiB) Downloaded 317 times
Best Regards,
Dan
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: Service stop issue during uninstall

Hi,

I apologize, I have not selected "application folder" component "Create folder on target machine" so it was not working. Now its working fine.

Thank you.
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service stop issue during uninstall

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”