sean_acadicus
Posts: 7
Joined: Fri Jan 20, 2023 11:14 pm

Can we ignore un-install dialogs when performing an un-install via an update?

Fri Feb 03, 2023 8:17 pm

Before we upgrade to enterprise we would like to make sure what we want to do is possible.

We would like to implement an un-install dialog to ask the user if they would like to delete downloaded content. But avoid this prompt when un-installing via an update.

Currently our updates are using the un-install > install method to perform updates. We want to make sure that when this update occurs that the un-install doesn't prompt to delete the downloaded content as we would not want that to occur or be prompted for.

Is this possible to do? If so we might upgrade to enterprise to be able to use the un-install dialogs.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Mon Feb 06, 2023 4:40 pm

Hello Sean,

Not quite sure I fully understand your scenario here.

Indeed, in order to create and edit dialogs, you need the "Dialog Editor" feature, available in our Enterprise suite.

And yes, you can have the dialog being spawned when the user uninstalls the setup in Maintenance Mode.

There are multiple ways of uninstalls:

- the Full UI one if you go to "Control Panel" and double click on the setup --> this will launch the setup in Maintenance Mode from where the user can choose to remove it

- basic UI --> if the user goes to "Control Panel", selects your setup and click "Remove" - this way, the dialogs are no longer spawned and it's only the "ProgressDlg" dialog being displayed

In your case, I think we can achieve what you need through our support for "Uninstall Cleanup".

The only condition for this, however, would be for the files to be downloaded in the same folder.

Say we have the C:\test folder where all our files are downloaded.

The first step is to recreate the folder structure in Advanced Installer. That would be creating the "test" folder under "Windows Volume".

After that, we can right click on the "test" folder --> "Uninstall Cleanup" and the wizard will guide us through.
Screenshot_75.png
Screenshot_75.png (22.68KiB)Viewed 13370 times
Screenshot_76.png
Screenshot_76.png (32.05KiB)Viewed 13370 times
Screenshot_77.png
Screenshot_77.png (28.53KiB)Viewed 13370 times

After that, during uninstall, we will get different behaviors, e.g.:

- basic UI:
Screenshot_78.png
Screenshot_78.png (58.77KiB)Viewed 13370 times
Screenshot_79.png
Screenshot_79.png (9.67KiB)Viewed 13370 times

- full UI:
Screenshot_80.png
Screenshot_80.png (46.66KiB)Viewed 13370 times
Screenshot_81.png
Screenshot_81.png (50.22KiB)Viewed 13370 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

sean_acadicus
Posts: 7
Joined: Fri Jan 20, 2023 11:14 pm

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Tue Feb 07, 2023 7:10 am

Thanks Catalin,

It sounds like the capability to include an un-install dialog to remove files is supported for the enterprise level license.

The question I have is whether the un-install dialog would appear when a user is updating our application. The way we update our application is to have the installer automatically un-install then install. Since we setup the un-install and install to happen without any dialogs or prompts we would like to ensure the new un-install dialog will not appear for these automated updates.

Thanks,

Sean

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Wed Feb 08, 2023 2:35 pm

Hello Sean,

You are always welcome!

No, the article should not appear during the upgrade operation.

As it can be seen in the screenshot from my previous thread, there's an option there "Do not perform cleanup when just upgrading" which basically does just that.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube


Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Fri Feb 10, 2023 11:24 am

You're always welcome!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

sean_acadicus
Posts: 7
Joined: Fri Jan 20, 2023 11:14 pm

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Wed Feb 22, 2023 11:04 pm

I have another question regarding this feature but if we could do the same thing with our professional license minus the dialogs?

Would it be possible to have designated files and folders removed during un-install, except for when upgrading, with the professional license?

Basically everything the un-installer dialog was doing except for asking the user we would just automatically remove the files and folders. But again not perform this removal if the user is performing an upgrade? By upgrade I am speaking about an automatic process that detects a new version, downloads the new installer and then un-installs and installs the new version.


Thanks

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Mon Feb 27, 2023 4:36 pm

Hello Sean,

The option to not remove the folders during an upgrade should be available with the Professional suite, too.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

sean_acadicus
Posts: 7
Joined: Fri Jan 20, 2023 11:14 pm

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Thu Mar 02, 2023 1:57 am

Hello Sean,

The option to not remove the folders during an upgrade should be available with the Professional suite, too.

Hope this helps!

Best regards,
Catalin
Great! I was successful in implementing the uninstall removal feature with the option to ignore upgrades.

Thanks a bunch!

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Can we ignore un-install dialogs when performing an un-install via an update?

Thu Mar 02, 2023 9:23 am

You are always welcome, Sean!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”