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!

Morantex
Posts: 16
Joined: Tue Jun 18, 2013 7:56 pm

Cannot add registry information

Hi;

I'm trying to get my installer to add some information to the registry but it is being ignored it seems.

I'm trying to add key name 'Morantex' beneath HKLM\Software\Microsoft\.NETFramework\AssemblyFolders

Then within the new key (Morantex) adding a simple (Default) value that points to a folder in the installation.

This looks fine in the AI IDE - the new key 'Morantex' has "create if absent" and "delete if present" set (the parent keys do not because they (should always) pre-exist).

When I run the installer it runs fine but the new key and value are never there - Ive checked spellings, refreshed regedit etc but cant see any obvious problem - what am I doing wrong?

Hugh

The Microsoft documentation for this can be found here:

http://support.microsoft.com/kb/306149
Last edited by Morantex on Fri Jun 28, 2013 4:18 pm, edited 1 time in total.
Morantex
Posts: 16
Joined: Tue Jun 18, 2013 7:56 pm

Re: Cannot add registry information

While trying to understand this issue, I saw the menu icon "Add key from registry" and added HKLM\Software - once I clicked OK it took ages and ages - it would be nice to be able to cancel this operation once started as I did not intend to add that large a subtree....
Morantex
Posts: 16
Joined: Tue Jun 18, 2013 7:56 pm

Re: Cannot add registry information

OK I'm getting somewhere - I will update this thread once I make a few changes....

OK this is resolved - the keys were being added - but I completely forgot about the Wow6432Node !!

Thx

Hugh
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Cannot add registry information

Hello Hugh,
While trying to understand this issue, I saw the menu icon "Add key from registry" and added HKLM\Software - once I clicked OK it took ages and ages - it would be nice to be able to cancel this operation once started as I did not intend to add that large a subtree....
I've added this improvement on our TODO list and maybe it will be implemented in a future version of Advanced Installer. Thank you for your suggestion.
OK this is resolved - the keys were being added - but I completely forgot about the Wow6432Node !!
I'm glad you got this working.

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

Return to “Building Installers”