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!

fancer
Posts: 3
Joined: Thu Mar 31, 2011 9:44 am

Can't delete package with all his features.

Hi Advanced Installer developers.
My project (main msi package) consists of a several msi packages, such packages will installed if corresponding feature was activated.
For this purpose I added execution expression (&Feature >= 3) in Install section of Custom Action for each feature and msi package respectively.
For uninstall main application I added custom action too, but for uninstall section, and added the following execution expressions:
((REMOVE="ALL") AND (!FEATURE >= 3)) OR ((&FEATURE = 2) AND (!FEATURE >= 3))
simplified:
((REMOVE="ALL") OR (&FEATURE = 2)) AND (!FEATURE >= 3)
This means, if package was installed, delete him.
But if I try to uninstall my main application, a packages was not uninstalled.
I think what problem in expression (!Feature >= 3), which take false value when I try to uninstall application.
What kind of expression or technic do I use for uninstalling sub-applications, which are was installed with main msi package?

Thanks for help, in advance.

Sincerely,
fancer
fancer
Posts: 3
Joined: Thu Mar 31, 2011 9:44 am

Re: Can't delete package with all his features.

What is wrong with my expression?
I use Advanced Installer 7.3.1.
Verbose log of uninstallation process attached.
Attachments
verbose_uninst.txt
Uninstall verbose log
(250.23 KiB) Downloaded 602 times
fancer
Posts: 3
Joined: Thu Mar 31, 2011 9:44 am

Re: Can't delete package with all his features.

I tried to make this feature with using Chained Package, but "chained" packages were not installed on my system.
I use Windows Server 2008 where Windows Installer 5.0.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Can't delete package with all his features.

Hi,

The conditions seems to be correct. What is the name of your custom action? Also, can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can take a look?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”