Appended value to REG_MULTI_SZ won't remove - 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!

jeffr
Posts: 1
Joined: Wed Apr 03, 2013 10:10 pm

Appended value to REG_MULTI_SZ won't remove

Hi,

I'm using Advanced Installer 8.6 and my install project appends a value to a standard Windows registry value that is REG_MULTI_SZ. This works fine. However, the installer won't remove the value during an uninstall, even though the MSI logging shows that the command executes (vendor/product values edited for privacy):

MSI (s) (48:38) [13:34:01:788]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Microsoft\WBEM\CIMOM,,BinaryType=1,,)
MSI (s) (48:38) [13:34:01:788]: Executing op: RegRemoveValue(Name=Autorecover MOFs,Value=[~]"C:\Program Files\Vendor\Product\productwmi.mof",)

Although the RegRemoveValue operation executes with no errors, the value remains....

Any ideas why? I see nothing I can modify in the project to customize removal of REG_MULTI_SZ entries and anything that is added during the install is _supposed_ to be removed on an uninstall (nothing marked permanant, etc.).

Help?

Jeff
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Appended value to REG_MULTI_SZ won't remove

Hi Jeff and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

I've tested your scenario, but I cannot reproduce the behavior. Do you want to remove only the data you appended to the registry value or you want to remove the whole registry entry?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”