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]: IE Script Blocking[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 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: IE Script Blocking[Next]: You Can Help Make MAKEMSI Better!


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday November 15 2008 at 2:05pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 7 Nov 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008