相关疑难解决方法(0)

完整的WiX 3.6软件包示例引导.NET 4客户端配置文件

我试图构建一个WiX 3.6安装脚本的工作示例.我们目前使用WiX 3.5,现在我们想开始安装.NET 4 Client Profile框架作为我们的脚本创建的MSI文件的先决条件product.wxs.WiX 3.6似乎是最好的前进方式.

是否有一个如何使用WiX 3.6执行此操作的功能示例?

这是我们今天使用的3.5脚本:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

    <!-- Version change handling -->
    <?define UpgradeCode="###############################"?>
    <?ifdef env.BUILD_NUMBER ?>
    <?define ProductVersion="2.6.$(env.BUILD_NUMBER).0"?>
    <?else ?>
    <?define ProductVersion="2.6.0.0"?>
    <?endif ?>

    <Product Id="*" Name="###############################" Language="1033" Version="$(var.ProductVersion)" Manufacturer="###############################" UpgradeCode="$(var.UpgradeCode)">
        <Package InstallerVersion="200" Compressed="yes" />

        <!-- Custom actions for this installer -->
        <Binary Id="###############################.dll" SourceFile="..\..\Libraries\###############################.CA.dll" />

        <!-- Kill ##### before installation begins -->
        <CustomAction Id="Kill#####ActionId" BinaryKey="###############################.dll" DllEntry="Kill#####Action" Execute="immediate" Impersonate="yes" Return="check" />
        <InstallExecuteSequence>
            <Custom Action="Kill#####ActionId" …
Run Code Online (Sandbox Code Playgroud)

bootstrapping wix wix3.6 .net-client-profile

26
推荐指数
1
解决办法
4万
查看次数

标签 统计

.net-client-profile ×1

bootstrapping ×1

wix ×1

wix3.6 ×1