MGS
Posts: 128
Joined: Tue Oct 04, 2022 9:52 am

Installer could not write to registry value on update

Hi,

During an Update/Upgrade process of a project the Registry Value seems to be deleted. Then the installer tries to write a value to this registry entry and fails with the following error:
installer1.png
installer1.png (9.7 KiB) Viewed 4469 times
How can i prevent the key from being deleted?
I tried setting "Preserve key content".

Best regards,
Kilian
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Installer could not write to registry value on update

Hello Kilian,

I'm not sure why this happens.

To facilitate a more in-depth investigation of this issue, could you kindly email the following resources to support at advancedinstaller dot com?

1. the .AIP project file for the old and new version.
2. an installation log when this problem occurs.
3. a download link for the old and new setup package.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MGS
Posts: 128
Joined: Tue Oct 04, 2022 9:52 am

Re: Installer could not write to registry value on update

Hello Liviu,

thank you. The issue was that the default value was empty and not set during the update process thus it could not write the registry value.

Best regards,
Kilian
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Installer could not write to registry value on update

Hello Kilian,

Thank you for your followup on this.

It's great to hear that everything is now working as expected.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”