problem in 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!

kcc1234
Posts: 2
Joined: Fri Sep 10, 2010 9:47 pm

problem in Uninstall

hi,

I have two executables (one use in Install - InstallExecuteSequence, one in Uninstall - InstallExecuteSequence). I have a problem executing the executable I defined in Uninstall-InstallExecuteSequence. And strangely, I found that the one defined in Install is being executed during un-installation. How should I setup the execution properties, execution options and scheduling option for my Un-install executable to prevent this to happen?

Here is the option I choose for my Uninstall - InstallExecuteSequence:
Execution Properties: Synchronous execution, check return code
Execution Options: Immediate execution
Scheduling Options: Always Execute
Also, why are all the defined custom executables called during the installation process (even the one I defined in Unistall - InstallExecuteSequence)?

Thanks.

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

Re: problem in Uninstall

Hi Collin,

Please place both your custom actions after the Begin standard action in the InstallExecuteSequence.
This is the execution condition for the custom action that needs to run only during the install process:

Code: Select all

NOT Installed
For the other custom action, which needs to run only on uninstall its execution condition should be:

Code: Select all

REMOVE="ALL"
Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: problem in Uninstall

Hello Collin,

I thought this over and perhaps placing the customs actions after Begin won't work if your executables are part of your package.

Can you please be more specific about the issue you are encountering?
Also it would help if you could also send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

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

Return to “Common Problems”