How could i avoid search constants? - 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!

vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

How could i avoid search constants?

Hi!

I am using AI-6.4.1 and building an enterprise project. I am using 8 search constants in my project to generate MSI.
But, uninstallation time get increased, so, for a try , i removed 5 Constants and came to know that uninstall time decreases to 1 min from 3 min.

I wanna know two things.
Firstly, time duration between calls of Custom Actions is about one minute in uninstallation process whereas it is only 10-20 seconds for Installation process.
Secondly, how could i avoid search constants?

Regards,
Vicky
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How could i avoid search constants?

Hi Vicky,
time duration between calls of Custom Actions is about one minute in uninstallation process whereas it is only 10-20 seconds for Installation process.
Please note that the custom actions in your package are handled automatically by Windows Installer. The time between two custom action calls is the execution time of the first custom action.
Secondly, how could i avoid search constants?
I think you are referring to searches configured in the "Search" page. Please note that the time needed by a search is determined by the depth of that search (the higher the depth, the higher the time). Also, only the developer of the package can determine how to reduce the number of searches based on what he needs.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: How could i avoid search constants?

Hi Cosmin!

Thanks for ur reply.
But, i do not agree with your answer, I've tried and removed 5 search constants and to my astonishment, uninstallation time get reduced to 1 min whereas it was taking 5 mins.
And my search constants have 0(zero) depths, some of them points to registry values.
So, what is the actual problem behind this, I still wanna know this? Plz help me to find it out.

Regards,
Vicky
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How could i avoid search constants?

Hi Vicky,

Please note that the uninstall time is not influenced only by searches. Did you perform multiple tests (with and without searches) to see if they affect the uninstall time? When the uninstall time was reduced, did you remove only the 5 searches or you also made other modifications?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: How could i avoid search constants?

Hi Cosmin!

I've only removed 5 searches. And, i do perform some tests (without searches) to check particular files whether they are existing or not. But, after removing searches, i haven't done any changes in my tests.

FYI: I am using searches in conditions of published events of AI dialogs, on "Next" button to decide which dialog will come next.

Regards,
Vicky
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How could i avoid search constants?

Hi Vicky,

Can you please send us the AIP file which contains all the searches to support at advancedinstaller dot com so we can investigate it? Also, please attach verbose logs of the uninstall processes (an uninstall with all searches and an uninstall without the searches you removed).

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

Return to “Common Problems”