Read Assembly full name into a property - Advanced Installer Community
hmemcpy
Posts: 3
Joined: Fri Jan 24, 2014 12:49 am

Read Assembly full name into a property

Hello,

In my installation I'm creating a custom entry in the registry, where I need to specify a full name of a .NET assembly, e.g.:
MyAssembly, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null
Now, the version of the assembly might be different each time, so I'd like to be able to somehow read this into a custom property of my own, and use this property in the Registry entry.
Is this possible at all?

The closest thing I found that reads .NET assemblies is the Assemblies tab, but it seems that I can't use those properties.

Any help is appreciated :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Read Assembly full name into a property

Hello,

I'm afraid we don't have any predefined support for this. However, in order to achieve what you want you can manually set the assembly information into an installer property and, then use the above property in "Registry" page to set your registry entry value.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”