Overwriting Existing Registry Values - 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!

thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Overwriting Existing Registry Values

Hi I was curious to know if it is possible to make all registry entries, of any type, within the Advanced Installer project to overwrite existing values on a system, if they were already defined?

Thanks!
Last edited by thenefield on Fri Apr 22, 2011 5:23 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Overwriting Existing Registry Values

Hello and welcome to the Advanced Installer Forums,

You can replace existing registry values from the Registry Page. For more information please follow this link to our user guide.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Re: Overwriting Existing Registry Values

I have seen the user guide already. I have been using AI for some years now. I have many registry entries populated within my install.

However, if one of the values defined in my project already exist on the system, but with different data, the data does not get overwritten with the data defined in my installer.

There is a clear option to do this for REG_SZ/REG_MULTI_SZ type registry entries, but not for REG_EXPAND_SZ, REG_DWORD, and REG_BINARY.

Any suggestions other than read the manual?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Overwriting Existing Registry Values

Hello,

In the Registry Page, you can add the value you want replaced from the key's context menu or from the toolbar when the key is selected in the tree. Then simply modify its data with the new one. This way when you install your package the value will be replaced with new defined one.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Re: Overwriting Existing Registry Values

Hi, sorry for the confusion, but I found my problem.

The installer was in fact replacing the existing values, but the GPOs on the system were changing them back.

Thanks for the support though!

Return to “Common Problems”