Registry 64 bit and SQL Server instances list - 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!

GBettini
Posts: 1
Joined: Mon Apr 30, 2012 9:25 am

Registry 64 bit and SQL Server instances list

Hello,
in my setup I need get a REG_MULTI_SZ value from a 64 bit registry key. In particular, I need the list of local SQL Server instances.
I contact the support and they told me that, due to some limitation of Windows Installer, AI cannot get this type of value.
I have written the attached VBS code to execute a custom action. It works fine on 32 and 64 bit system.
It is based on the sample of
http://www.advancedinstaller.com/user-g ... ox-listbox

I hope this can help other people with this kind of necessity.
Regards
Attachments
InstallFunctions.zip
(1.04 KiB) Downloaded 206 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry 64 bit and SQL Server instances list

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

We appreciate your contribution to Advanced Installer forums. Certainly the solution regarding this issue will help future users in the same situation.
Also, I want to mention for future users that the above URL refers to our "Working with Windows Installer ComboBox and ListBox controls" article.

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

Return to “Common Problems”