Installing in two directories and custom uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

-Pip-
Posts: 1
Joined: Tue Nov 16, 2010 7:51 pm

Installing in two directories and custom uninstall

Hello,

I have a two part question.

Part 1: I am creating a plug-in that works as a component of another program (main program). The main program is a pre-requisite for my installation, but assuming that the main program is already on the users machine; I need to install part of my package in a specific folder of the main program and create a separate application folder under the Program Files directory that contains plug-in documentation and short cut for uninstall ect. How do I set this up in Advanced Installer?

Part 2: My plug-in has a two part uninstallation process, the first part removes protection client off of the users computer, while the second removes the entire plug-in installation. The protection uninstall needs to run first, then the global uninstall, how do I set this up so that the protection uninstall (.exe) is run automatically when the user decides to uninstall the plug-in off their machine?

Also, which version of the program would I need to do the above?

Thanks,
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installing in two directories and custom uninstall

Hello and welcome to the Advanced Installer Forums,
Part 1: I am creating a plug-in that works as a component of another program (main program). The main program is a pre-requisite for my installation, but assuming that the main program is already on the users machine; I need to install part of my package in a specific folder of the main program and create a separate application folder under the Program Files directory that contains plug-in documentation and short cut for uninstall ect. How do I set this up in Advanced Installer?
To achieve this functionality please follow this article from our user guide.
Part 2: My plug-in has a two part uninstallation process, the first part removes protection client off of the users computer, while the second removes the entire plug-in installation. The protection uninstall needs to run first, then the global uninstall, how do I set this up so that the protection uninstall (.exe) is run automatically when the user decides to uninstall the plug-in off their machine?
You can run the uninstall EXE by adding it as an "Attached Custom Action" placed after the "Begin" standard action in the "InstallExecuteSequence". You should also set its execution condition to:

Code: Select all

(REMOVE="ALL")
Also, which version of the program would I need to do the above?
To achieve the above functionality you would need at least the Professional license type.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”