now as far as my question is concerned, our company develops back-end servers based on Microsoft .NET framework so we decided to create installer for our SDK which will include severl Visual Studio project templates and item templates as well. those templates will have references of some of our SDK DLL s installed on clients computer using your installer. the problem we are facing with are.
developer machines might be x64 or in some cases it might be x32 as well so in order to be able to directly add references to our SDK using visual studios' add refference dialog window those DLL s need to be added inside windows registry. so here is firs problem.
- how can we detect Visual Studio installation?
how to get installed net framework version so that windows registry entries are in right place after installation?
Those registry entries are
For a 32-bit operating system, add one of the following registry keys.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\VersionMinimum\AssemblyFoldersEx\MyAssemblies]@="AssemblyLocation"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\VersionMinimum\AssemblyFoldersEx\MyAssemblies]@="AssemblyLocation"
For a 64-bit operating system, add one of the following registry keys in a 32-bit registry hive.
[HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\VersionMinimum\AssemblyFoldersEx\MyAssemblies]@="AssemblyLocation"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\VersionMinimum\AssemblyFoldersEx\MyAssemblies]@="AssemblyLocation"
we can not really understand how to add those registry entries using Advanced installer? registry hive hierarchy and the way Advanced installer allows developers to add registry values are not clear for us.
can anyone assist us with this problem and how to solve our issues?
FOLLOW US
Get the latest news in Application Packaging