mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
installer: add UI
This commit is contained in:
parent
0c75b58810
commit
b0a2e4ff40
@ -1,8 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||||
<Product Id="*" Name="$(var.MyProductName)" Manufacturer="$(var.MyCompanyName)" Version="$(var.MyVersion)" Language="1033" UpgradeCode="82F812D9-4083-4EF1-8BC8-0F1EDA05B46B">
|
<Product
|
||||||
<Package Description="$(var.MyProductName) - $(var.MyDescription)" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
Id="*"
|
||||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
Name="$(var.MyProductName)"
|
||||||
|
Manufacturer="$(var.MyCompanyName)"
|
||||||
|
Version="$(var.MyVersion)"
|
||||||
|
Language="1033"
|
||||||
|
UpgradeCode="82F812D9-4083-4EF1-8BC8-0F1EDA05B46B">
|
||||||
|
<Package
|
||||||
|
Description="$(var.MyProductName) - $(var.MyDescription)"
|
||||||
|
InstallerVersion="200"
|
||||||
|
Compressed="yes"
|
||||||
|
InstallScope="perMachine" />
|
||||||
|
<MajorUpgrade
|
||||||
|
DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||||
<Media Id="1" Cabinet="WinFsp.cab" EmbedCab="yes" />
|
<Media Id="1" Cabinet="WinFsp.cab" EmbedCab="yes" />
|
||||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||||
<Directory Id="ProgramFilesFolder">
|
<Directory Id="ProgramFilesFolder">
|
||||||
@ -86,15 +97,60 @@
|
|||||||
<ComponentRef Id="C.memfs.cpp" />
|
<ComponentRef Id="C.memfs.cpp" />
|
||||||
<ComponentRef Id="C.memfs_main.c" />
|
<ComponentRef Id="C.memfs_main.c" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
<Feature Id="F.User" Level="1" Title="User">
|
<Feature
|
||||||
|
Id="F.Main"
|
||||||
|
Level="1"
|
||||||
|
Title="$(var.MyProductName) $(var.MyVersion)"
|
||||||
|
Description="$(var.MyDescription)"
|
||||||
|
Display="expand"
|
||||||
|
ConfigurableDirectory="INSTALLDIR"
|
||||||
|
AllowAdvertise="no"
|
||||||
|
InstallDefault="local"
|
||||||
|
Absent="disallow">
|
||||||
|
<!-- dummy component to eliminate "installed to run from network" option -->
|
||||||
|
<Component
|
||||||
|
Id="C.Dummy"
|
||||||
|
Guid="{10EF63D3-A790-475C-B978-A22A6A16FE00}"
|
||||||
|
Directory="INSTALLDIR"
|
||||||
|
KeyPath="yes" />
|
||||||
|
<Feature
|
||||||
|
Id="F.User"
|
||||||
|
Level="1"
|
||||||
|
Title="Core"
|
||||||
|
Description="The core $(var.MyProductName) files."
|
||||||
|
AllowAdvertise="no"
|
||||||
|
InstallDefault="local"
|
||||||
|
Absent="disallow">
|
||||||
<ComponentGroupRef Id="C.WinFsp.bin" />
|
<ComponentGroupRef Id="C.WinFsp.bin" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature Id="F.Developer" Level="1" Title="Developer">
|
<Feature
|
||||||
<ComponentGroupRef Id="C.WinFsp.bin" />
|
Id="F.Developer"
|
||||||
|
Level="1000"
|
||||||
|
Title="Developer"
|
||||||
|
Description="Additional files needed for development."
|
||||||
|
AllowAdvertise="no"
|
||||||
|
InstallDefault="local"
|
||||||
|
Absent="allow">
|
||||||
<ComponentGroupRef Id="C.WinFsp.inc" />
|
<ComponentGroupRef Id="C.WinFsp.inc" />
|
||||||
<ComponentGroupRef Id="C.WinFsp.lib" />
|
<ComponentGroupRef Id="C.WinFsp.lib" />
|
||||||
<ComponentGroupRef Id="C.WinFsp.smp" />
|
<ComponentGroupRef Id="C.WinFsp.smp" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<UI />
|
</Feature>
|
||||||
|
<UI Id="FeatureTree">
|
||||||
|
<UIRef Id="WixUI_FeatureTree" />
|
||||||
|
<!-- skip the license agreement dialog; higher Order takes priority (weird) -->
|
||||||
|
<Publish
|
||||||
|
Dialog="WelcomeDlg"
|
||||||
|
Control="Next"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="CustomizeDlg"
|
||||||
|
Order="10">NOT Installed</Publish>
|
||||||
|
<Publish
|
||||||
|
Dialog="CustomizeDlg"
|
||||||
|
Control="Back"
|
||||||
|
Event="NewDialog"
|
||||||
|
Value="WelcomeDlg"
|
||||||
|
Order="10">NOT Installed</Publish>
|
||||||
|
</UI>
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
@ -32,6 +32,12 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Product.wxs" />
|
<Compile Include="Product.wxs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WixExtension Include="WixUIExtension">
|
||||||
|
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
||||||
|
<Name>WixUIExtension</Name>
|
||||||
|
</WixExtension>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(WixTargetsPath)" />
|
<Import Project="$(WixTargetsPath)" />
|
||||||
<!--
|
<!--
|
||||||
To modify your build process, add your task inside one of the targets below and uncomment it.
|
To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user