c# - How to remove registry keys on uninstall msi using WIX -


i need remove registry keys when user uninstall application.

these registry keys in hkey_current_user\software.

i using wix tool.

please note keys not getting registered on install after login based on action performed user.

thanks in advance

windows installer can access registry hive of user it's running as. it's technically possible write custom action enumerate user profile list , load each ntuser.dat causes sorts of problem. short answer isn't practical. besides, microsoft standards state leave user data behind on uninstall.

if want it, best way know use custom action write registry during uninstall (something msi doesn't support). have registry value set activesetup command invoke reg.exe delete. when each user logs in next time key deleted.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -