WarCraft II: Battle.net Edition Product Config
Download
{
  "all": {
    "config": {
      "casc_language_agnostic": true,
      "data_dir": "Data/",
      "form": {
        "game_dir": {
          "dirname": "Warcraft II"
        }
      },
      "product": "w2bn",
      "supported_locales": [
        "enUS"
      ],
      "supports_multibox": false,
      "supports_offline": true,
      "switcher": false,
      "title_info": {
        "title_id": "w2bn"
      },
      "update_method": "containerless ngdp"
    }
  },
  "enus": {
    "config": {
      "install": [
        {
          "start_menu_shortcut": {
            "link": "%commonstartmenu%Warcraft II Battle.net Edition/Warcraft II Battle.net Edition.lnk",
            "target": "%shortcutpath%",
            "working_dir": "%installpath%"
          }
        },
        {
          "desktop_shortcut": {
            "link": "%desktoppreference%Warcraft II Battle.net Edition.lnk",
            "target": "%shortcutpath%",
            "working_dir": "%installpath%"
          }
        },
        {
          "add_remove_programs_key": {
            "display_name": "Warcraft II Battle.net Edition",
            "icon_path": "%binarypath%",
            "install_path": "%installpath%",
            "locale": "%locale%",
            "root": "Warcraft II Battle.net Edition",
            "uid": "%uid%",
            "uninstall_path": "%uninstallpath%"
          }
        }
      ]
    }
  },
  "platform": {
    "win": {
      "config": {
        "binaries": {
          "game": {
            "launch_arguments": [],
            "regex": "Warcraft II BNE.exe",
            "relative_path": "Warcraft II BNE.exe",
            "switcher": false
          }
        },
        "form": {
          "game_dir": {
            "default": "Program Files",
            "required_space": 3000000000
          }
        },
        "install": [
          {
            "create_registry_key": {
              "flags": "WOW_32BIT",
              "key_type": "HKEY_CURRENT_USER",
              "root": "Software",
              "subkeys": [
                {
                  "name": "Blizzard Entertainment\\Warcraft II BNE",
                  "values": [
                    {
                      "name": "bnname",
                      "type": "REG_SZ",
                      "value": "Battle.net"
                    },
                    {
                      "name": "bnkey",
                      "type": "REG_SZ",
                      "value": "WCFMF77H6M7WBJ2V"
                    }
                  ]
                },
                {
                  "name": "Battle.net\\W2\\Configuration",
                  "values": [
                    {
                      "name": "Battle.net gateways",
                      "type": "REG_MULTI_SZ",
                      "value": [
                        "2000",
                        "01",
                        "connect-forever.classic.blizzard.com",
                        "8",
                        "Global"
                      ]
                    },
                    {
                      "name": "Client Token",
                      "type": "REG_DWORD",
                      "value": 0
                    },
                    {
                      "name": "Client ID",
                      "type": "REG_DWORD",
                      "value": 0
                    },
                    {
                      "name": "Registration Authority",
                      "type": "REG_DWORD",
                      "value": 0
                    },
                    {
                      "name": "Registration Version",
                      "type": "REG_DWORD",
                      "value": 0
                    }
                  ]
                }
              ]
            }
          }
        ],
        "shortcut_target_path": "Warcraft II BNE.exe",
        "tags": [],
        "uninstall": [
          {
            "delete_registry_key_list": {
              "flags": "WOW_BOTH",
              "key_type": "HKEY_LOCAL_MACHINE",
              "root": "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall",
              "subkeys": [
                "Warcraft II Battle.net Edition"
              ]
            }
          },
          {
            "delete_registry_key_list": {
              "flags": "WOW_BOTH",
              "key_type": "HKEY_CURRENT_USER",
              "root": "SOFTWARE",
              "subkeys": [
                "Blizzard Entertainment\\Warcraft II",
                "Blizzard Entertainment\\Warcraft II BNE",
                "Battle.net\\W2\\Configuration"
              ]
            }
          },
          {
            "delete_folder": {
              "relative_paths": [
                "Data",
                "Maps",
                "SUPPORT"
              ],
              "root": "%game%"
            }
          },
          {
            "delete_file": {
              "relative_paths": [
                "battle.snp",
                "bncache.dat",
                "BnetLog.txt",
                "BNUpdate.exe",
                "bnupdate.log",
                "Install.MPQ",
                "License.txt",
                "patch.txt",
                "Smackw32.dll",
                "storm.dll",
                "W2Local.dll",
                "W2SOUNDS.EXE",
                "War2BNEInst.log",
                "War2Dat.mpq",
                "War2Patch.mpq",
                "Warcraft II BNE.exe",
                "Warcraft II Map Editor.cnt",
                "Warcraft II Map Editor.exe",
                "Warcraft II Map Editor.hlp"
              ],
              "root": "%game%"
            }
          }
        ]
      }
    }
  }
}