找不到安装库项目生成的msi文件(wix)

时间:2016-06-03 09:09:21

标签: wix windows-installer

我正在关注Wix教程,该教程建议创建一个安装库项目并在Product.wxs中编写:

$(function() {

    // Setup form validation on the #register-form element
    $("#register-form").validate({

        // Specify the validation rules
        rules: {
            firstname: "required",
            lastname: "required",
            email: {
                required: true,
                email: true
            },
            password: {
                required: true,
                minlength: 5
            },
            agree: "required"
        },

        // Specify the validation error messages
        messages: {
            firstname: "Please enter your first name",
            lastname: "Please enter your last name",
            password: {
                required: "Please provide a password",
                minlength: "Your password must be at least 5 characters long"
            },
            email: "Please enter a valid email address",
            agree: "Please accept our policy"
        },

        submitHandler: function(form) {
            form.submit();
        }
    });

  });

这个项目旨在设置一个简单的hello world类型的设置,以显示获得工作安装包所需的最简单的代码片段,并且要求最低。构建成功。问题是:.msi生成在哪里?

1 个答案:

答案 0 :(得分:0)

好吧,解决方案是我卸载了wixproj并更改了这一行: <OutputType>Library</OutputType><OutputType>Package</OutputType> 如果您了解其他方法,请添加它们。谢谢!