mcolwell
Posts: 4
Joined: Thu Feb 12, 2009 5:58 pm

what version do I need?

I'm looking to purchase a copy of Advanced Installer, but I can't seem to figure out what version I need. I have a program that installs many registry entries in the HKEY_CURRENT_USER. Upon installation, I need to check to see if the registry keys and values already exist. If they do not already exist, the MSI should create them. If they do already exist, I do not want to overwrite them.

I read a few posts on this forum, and I found a few posts that described a "never overwrite" feature. What version of Advanced Installer do I need (Pro, Enterprise, etc) to have access to this feature? Also, if there is a better way of handling this, please let me know.

Thanks in advance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: what version do I need?

Hi,

Thank you for your interest in Advanced Installer.

Please note that the Never Overwrite attribute affects only the future versions of the package. Using this attribute for a new package will make the component ignore the existing registry entry.

However, for what you need you can try using Searches. After the searches are configured, you can use their properties to condition the components of the registry entries in the Organization page. Since this approach requires searches and the "Organization" page, you can use a Professional project (it requires a Professional license).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mcolwell
Posts: 4
Joined: Thu Feb 12, 2009 5:58 pm

Re: what version do I need?

Cosmin

Thank you for your response.

Do you perhaps have an example of how this can be done? I can't seem to be able to find a clear cut way of doing this and I was hoping that you (or someone) has done this before and can post a detailed walkthrough on how to do this.

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: what version do I need?

Hi,

For what you need you can try following these steps:
- create the registry entries in the Registry page
- create a new search in the Search page
- rename the search to something meaningful, for example MY_REG_VALUE
- add a registry location to the search and configure it to find the registry entry you want to detect
- in the Organization page select the component of the registry entry you want to find
- in the Component Properties section use the property of the search in the "Condition" field, for example, the condition can be:

Code: Select all

MY_REG_VALUE
- do the same for the rest of components you want to condition

The name of the search is actually an installer property which will store the result of the search. The above expression is true only if the search finds something.

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

Return to “Feature Requests”