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!

EllosGroup
Posts: 8
Joined: Thu Jul 24, 2014 4:19 pm

Create a binary registry value based on a installed filename

Hello,

We need to add a binary registry value based on a installed file's name (only the name, not the extension). Is there a non-scripting solution for this in Advanced Installer?

Thanks!

Regards,
Carl
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Create a binary registry value based on a installed file

Hi Carl,

Can you provide more details about the file. Is it a file that is already installed on the machine, is it included in the installation package or it is selected by the user at install time?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
EllosGroup
Posts: 8
Joined: Thu Jul 24, 2014 4:19 pm

Re: Create a binary registry value based on a installed file

Hello Bogdan,

The file we need to extract the name from and insert into a binary registry value is included in the MSI package and installed in the user profile. The registry value will be stored in the HKCU hive.

Regards,
Carl
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Create a binary registry value based on a installed file

Hi Carl,

If you include the file in the msi package and it is not customizable by the the user it is quite simple, because you already know the file name.
All you need to do is make an entry in the registry view. For more details on how this is done visit our Registry page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”