1 /* Initialisation for netinstall.
2 Copyright (C) 2001 Andy Piper.
4 This file is part of XEmacs.
6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with XEmacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
36 int isnative, issystem;
37 root_dir = find_root_location (&issystem, &isnative);
41 install_type = IDC_INSTALL_NATIVE;
43 install_type = IDC_INSTALL_CYGWIN;
46 root_scope = IDC_ROOT_SYSTEM;
48 root_scope = IDC_ROOT_USER;
57 GetCurrentDirectory (sizeof (cwd), cwd);
58 local_dir = strdup (cwd);
59 log (0, "Current Directory: %s", cwd);
61 HANDLE gnu = LoadImage (h, MAKEINTRESOURCE (IDB_GNU),
62 IMAGE_BITMAP, 0, 0, 0);