Unistall Dialog - Advanced Installer Community
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

Unistall Dialog

Hi,

I am facing two issues.

1.While I uninstall my msi from control panel I am getting following screens.
unistall.png
unistall.png (21.69 KiB) Viewed 4182 times
I want to edit the text in this dialog . But I am not able to find this dialog in AI dialogs. From where I have to edit this dialog.

2.While uninstalling from control panel I want to stop one process. I created custom action for this. But in which dialog event we have to call this custom action
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unistall Dialog

Hello,
I want to edit the text in this dialog . But I am not able to find this dialog in AI dialogs. From where I have to edit this dialog.
This dialog is automatically displayed by the Windows Installer. The dialog ("FilesInUse" on XP and "MsiRMFilesInUse" on Vista) is shown automatically by Windows Installer during the InstallValidate standard action when the installer checks if any file is in use and if so, it displays that dialog.
2.While uninstalling from control panel I want to stop one process. I created custom action for this. But in which dialog event we have to call this custom action
Please note that you need to add your custom action as a custom action with sequence. So, the above dialog can be avoided by running a Detect and Stop custom actions before the install/uninstall process which stops the processes which use the files.
Please take a look on the Detect or stop a process How-to article which may be useful to you.

As soon as you will implement this, the first problem will be resolved too, as the related dialog will not be displayed anymore.

Please let me know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

Re: Unistall Dialog

Hi Dan,

I added detect process and terminate process custom action with sequence....

And moved it as the first step in wizard dialogs stage.

But while I uninstall from control panel I am not able to stop the process.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unistall Dialog

Hi,

This may happens if the related actions run to soon or to late.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rahnajoseh
Posts: 18
Joined: Tue Dec 16, 2014 6:58 am

Re: Unistall Dialog

Hi Dan,

Thanks for the reply.

I solved the issue.

This link helped me. http://www.advancedinstaller.com/forums ... =5&t=27952.

Initially i added my custom action in wizard dialog stage only. Now I added it to install execution stage also.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unistall Dialog

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”