sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

uninstall old setup.exe software

Dear,

I'm doing an advanced installer project that needs to uninstall old software on the machine before installing my msi.

I did some tests and managed to get software created by .msi to do this uninstallation, but software created from setup.exe I couldn't do the uninstallation.

Is there any way to uninstall a setup.exe in the advanced installer?
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: uninstall old setup.exe software

Hello Rodrigo,
I did some tests and managed to get software created by .msi to do this uninstallation, but software created from setup.exe I couldn't do the uninstallation.
Not quite sure what you mean by this.

Could you please give me some more details so I can better assist here?

Are you saying that if you build an MSI, it can uninstall the older EXE package, but if you build an EXE package it can NOT uninstall the old EXE package?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

Re: uninstall old setup.exe software

On Catalin, sorry for my confusion and thanks for responding

the question is:

When installing my MSI I need to uninstall other software first.
third party. It's not my software, it's other software on the machine which I know is installed with a setup.exe
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: uninstall old setup.exe software

Hello Rodrigo,

Thank you very much for the explanation - now it's clear for me what you want to achieve.

Could you please have a look over the following article:

How to upgrade an older version of the package created with another tool and it is not MSI-based

and let me know if it helps?

My colleague Liviu has created that article specifically for a scenario like yours.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

How to create a dialog that shows the installed requirements and checks them dynamically

Dears,


I want to create a prerequisite dialog that one by one shows the prerequisite and shows whether it is currently being installed while the progress bar advances. is this possible?
Attachments
pre.png
pre.png (33.82 KiB) Viewed 12454 times
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: uninstall old setup.exe software

Hello Rodrigo,

The prerequisite dialog is usually displayed before the actual prerequisite installation.

That means that we can not show the dialog with the prerequisites as well as the progress of the prerequisite.

This is the default behavior of most installlation packages.

You can do something like in your dialog, but it's quite hard to refresh the dialog in order to check/uncheck said checkboxes (yes, the dialog needs to be refreshed so that it changes the state of the control).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

Re: uninstall old setup.exe software

Catalina, thanks for responding

Normal behavior:
1 - a dialog showing the prerequisites that will be installed
2 - a progress dialog that I only interact with when it finishes downloading the entire pre-requisite

what I'm wanting is:

In the progress dialog, with each installed prerequisite I check/uncheck the prerequisite and show it dynamically in the dialog.

is this possible? Is there any similar example?

the dialog needs to be refreshed to change the control's state. but where do I do this?

Rgs,
Rodrigo
sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

Re: uninstall old setup.exe software

Catalina, thanks for responding

Normal behavior:
1 - a dialog showing the prerequisites that will be installed
2 - a progress dialog that I only interact with when it finishes downloading the entire pre-requisite

what I'm wanting is:

In the progress dialog, with each installed prerequisite I check/uncheck the prerequisite and show it dynamically in the dialog.

is this possible? Is there any similar example?

the dialog needs to be refreshed to change the control's state. but where do I do this?

Rgs,
Rodrigo
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: uninstall old setup.exe software

Hello Rodrigo,

I'm afraid that what you want to achieve might not be possible.

However, we can do something similar. For instance, check the following article:

List main actions performed during installation into a user friendly log-like fashion

The above will show to the user the actions performed during an install.

Hope this helps!

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

Return to “Building Installers”