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!

RedTop
Posts: 1
Joined: Sun Mar 09, 2014 12:26 am

Import .reg file - default values ignored

Hello,

I'm trying to import .reg files and found that default values are being ignored by Advanced Installer. Exports from registry editor store default values as

Code: Select all

[HKxx\yy\zz\Key here]
@="value here".
Exports from regscanner (http://www.nirsoft.net/utils/regscanner.html) store default values as

Code: Select all

[HKxx\yy\zz\Key here]
""="value here".
I and also tried substituting @= and "" for "(Default)" and "[default]". This just results in strings with that particular name. I now work around it by sustituting with "Remove me" and then manually removing all names using the Registry Value Dialog. This is quite inefficient though.

Is there a way to import default values?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Import .reg file - default values ignored

Hello and welcome to Advanced Installer forums,

I'm not sure why you encountered this behavior.
I've exported a default registry key using the Export from the Registry Editor. Here's how my registry export file looks like:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Your Company\Default Registry key]
@=""
Then, in the Registry page I've import my registry entries from the registration file (.reg) using the Import REG - > Import REG File toolbar button.
Please note that if you want to create default registry values then the Name field must be empty in the Registry value dialog.

You can also take a look on the How To Add (Default) Registry Key? (Solved) forum thread which may be useful.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”