MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Uninstall of PER-USER Installed MSI Fails with a 1309 Error[Next]: You Can Help Make MAKEMSI Better!
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Troubleshooting->Bugs, Features and Issues (NON-MAKEMSI)->Updating (not setting) Registry causes invalid values

BUG: Updating (not setting) Registry causes invalid values

Windows Installer handles updates to normal registry string values OK (using the "[~];" type syntax) but I have seen it fail when updating the Windows device driver search path "DevicePath" (an expanding string).

Note that the "DevicePath" value may or may not contain unicode, it frequently does (and thats how Windows creates it). You can't tell which you have unless you save as "REGEDIT4" or other text format and if every 2nd character is a "00" then its unicode. Its possible that the Windows Installer problem is more generic and applies to all types if unicode (that is the issue might be with unicode strings of any type).

See the "Registry Appending" section for an example of a workaround which uses a custom action.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Uninstall of PER-USER Installed MSI Fails with a 1309 Error[Next]: You Can Help Make MAKEMSI Better!


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday August 13 2017 at 2:39pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.