Uninstall routine - Advanced Installer Community
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Uninstall routine

Hi

The uninstall routine is different if I click uninstall in the programs and features-window of Microsoft and If I start the uninstall via Setup.exe.
How can I execute the same Routine in the program and Feature-Window like my Routine over the Setup.exe ?

Sincerely,
Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

Hello Michael,

I'm not sure I fully understand your scenario. Can you please give us more details, how does the uninstall routine differs?

Please keep in mind that when you click the Setup.exe after you installed your installation package, then you enter on the maintenance routine.
If you want to prevent the user to Uninstall directly from the Add/Remove Programs list, you can go in the Product Details page and enable the Disable Remove option.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

The user should have the possibility to remove the software through programs and Features.
But I want that are displayed the same dialogues as in the maintence Routine.
How can I reach it?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

Hi Michael,

Can you please go in the Settings tab from the Theme page and enable the Always (install, uninstall and maintenance) option for the Enhanced User Interface.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

Hi Dan
I have activated the Enhanced User Interface.

But if I Uninstall the Software via programs and Features the Routine starts with the ProgressDlg without showing the previous dialogs I want to Show.
I dont know why.
Last edited by MichaB on Fri Nov 08, 2013 8:29 am, edited 2 times in total.
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

How can I Change the start Dialog for the Uninstall?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

Hello,
But I want that are displayed the same dialogues as in the maintence Routine.
I'm afraid that the only scenario is to check the Disable Remove option from Product Details page. This way, when the user would like to uninstall the application, the maintenance dialogs will be displayed and the "Modify", "Repair" and "Remove" option will be available.
The user should have the possibility to remove the software through programs and Features.
Please note that the user will still have the possibility to uninstall the application using the Change button from the Control Panel list.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

Many Thanks, it helped !!
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

Do I have the the possibility to Show the language selection Dialog even before the uninstall? or is it just with the installation possible?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

Hello,

I'm not sure why would you like to display the language selection dialog because on the "Uninstall" process there will be used the installation language.
Can you please give us more details about your specific scenario?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

Hello Dan,
you are right. Thank you!
I have no more questions.

Best regards,
Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

You're welcome Michael.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

I found something strange.
If I uninstall my program with the Setup.exe it will be uninstalled in the Installation language.
But if i unstall it via Program and Features (i click the program and click "Change") it won't be uninstalled in the Installation language.

Why this behavior?

EDIT: I guess its because the program and Feature "Change"-shortcut dont call the exe bootstrap which loads the language. But it loads the msi sequence without the Installation language or not? :?:

Best regards,
Michael
MichaB
Posts: 18
Joined: Mon Oct 28, 2013 7:44 am

Re: Uninstall routine

Am I Wrong?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall routine

Hello Michael,

I'm not sure why you encountered this behavior. Using the Change option from Programs and Features list should also use the Installation language during the Uninstall process.
So, 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

Return to “Common Problems”