2009-02-24

Diablo II on Vista

If you try to install Diablo 2 on Vista you may get this error:

Error in script file Setupdat\inst.ins, line 14: undefined symbol (desktop)
First, you need to add the a registry key in the following location:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\Shell Folders

If there is no key named "Programs" add one of type string with the following contents:

C:\\Users\\%USERNAME%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs

Exactly as shown. If there is no key named "Desktop" add one also:

C:\\Users\\%USERNAME%\\Desktop