Application options in separarte installers - 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!

srmitch
Posts: 2
Joined: Tue Mar 15, 2011 11:20 pm

Application options in separarte installers

Hi,

I am using the Professional version of AI and am a relative newbie to AI. The target Windows product is broken down into the following separate installers:

1. A core suite of binaries and support libraries.
2. A couple of add-on options that are installed into the same application folder with shortcuts in the same start menu folder as the core suite.

My problem is that I would like to automate as much as possible the maintenance of the option installers when the core installer is upgraded to a newer version. At present I am using the HKLM Windows uninstall registry entry to locate the core installation folder in the option installers by using the core installer's product code in a registry locate search. This requires a manual change to the latter every time the core installer version is changed. I have experimented with using a property for the core product code and can get this assigned correctly but it appears that the property is not resolved at run time in the registry key string.

Is it possible to use a property in a registry key string for a search? Is there a better way to approach this?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Application options in separarte installers

Hello and welcome to the Advanced Installer Forums,
Is it possible to use a property in a registry key string for a search? Is there a better way to approach this?
Yes, it is, as long as the property is public( uppercased ). For more information please follow this article from our user guide.
If you want to have a dynamically assigned value for the search at install time, using a public property would be the appropriate solution.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
srmitch
Posts: 2
Joined: Tue Mar 15, 2011 11:20 pm

Re: Application options in separarte installers

Thanks for your response Mihai. I shall investigate further. At least I know I was on the right track.

Cheers,
Steve

Return to “Common Problems”