Branch: Tag:

2009-05-04

2009-05-04 09:41:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added configurations/server_version.

Rev: server/bin/mk_wxs.pike:1.18

1:   /* -  * $Id: mk_wxs.pike,v 1.17 2009/02/18 14:46:53 grubba Exp $ +  * $Id: mk_wxs.pike,v 1.18 2009/05/04 09:41:15 grubba Exp $    *    * Make a Windows Installer XML Source file (wxs) suitable    * for a Roxen installer.
39:    if (stringp(opt[1])) {    version_str = opt[1];    } else { -  werror("$Id: mk_wxs.pike,v 1.17 2009/02/18 14:46:53 grubba Exp $\n"); +  werror("$Id: mk_wxs.pike,v 1.18 2009/05/04 09:41:15 grubba Exp $\n");    exit(0);    }    break;
106:    add_child(line_feed);    }    +  // configurations/server_version +  Stdio.write_file("server_version", server_dir); +  Directory d = root->low_add_path(({ "configurations" })); +  d->low_install_file("server_version", "server_version"); +     // Add cleanup.    root->uninstall_file(combine_path(server_dir, "bin/roxen*.exe"));    feature_node->add_child(WixNode("ComponentRef", ([