Branch: Tag:

2009-05-04

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

Added missing ComponentRef.

Rev: server/bin/mk_wxs.pike:1.21

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