The data value of the RunOnce key is shorter when you use Windows Installer 2.0 or later (835461)
The information in this article applies to:
- Microsoft Windows Installer 2.0
- Microsoft Windows Installer 1.0
INTRODUCTIONIf you install a Microsoft Windows Installer package by using
a version of Windows Installer that was released earlier than version 2.0, the length of the data value of the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce key is 31 characters.
However, if you install a Windows Installer package by using
Windows Installer version 2.0 or later, the length of the data value of the
RunOnce key is 30 characters.MORE INFORMATIONBy default, the length of
the data value of the RunOnce key is 30 characters in Windows Installer 2.0 or later. However, sometimes the length of the data value of the RunOnce key must be
31 characters. In such cases, you must prepend a special character to the data value of the RunOnce key to make the RunOnce key 31 characters long.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) sites:
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
137367
Definition of the RunOnce keys in the registry
827020 HOW TO: Control system restarts in a Setup project that you created by using Visual Studio .NET
Modification Type: | Major | Last Reviewed: | 3/11/2004 |
---|
Keywords: | kbRegistry kbsetup kbinfo KB835461 kbAudDeveloper |
---|
|