2017-07-28 20:00:32 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
2017-08-10 21:24:21 +02:00
|
|
|
<?define ProductName = "EduNetworkBuilder"?>
|
|
|
|
|
|
|
|
<!-- The ProductCode should change for every *major* revision; if it can coexist with the old -->
|
|
|
|
<!-- We are planning to never change it for EduNetworkBuilder -->
|
|
|
|
<?define ProductCode = "71EACA51-8B58-49F5-865C-802CFC16E503"?>
|
2017-11-02 13:52:01 +01:00
|
|
|
<?define FrenchDLLCode = "d9c6eb83-fef1-4dcf-b28a-abdd345c7eb4"?>
|
2017-08-10 21:24:21 +02:00
|
|
|
<!-- A unique UpgradeCode. Should be different than ProductCode. Should never change -->
|
|
|
|
<?define UpgradeCode = "D7FAE51C-D99A-406B-935B-E91F470D8488"?>
|
|
|
|
|
2017-08-19 15:00:04 +02:00
|
|
|
<!-- We need to keep ProductVersion in sync with EduNetworkBuilder version number -->
|
2018-10-23 18:44:34 +02:00
|
|
|
<?define ProductVersion = "1.0.0.50"?>
|
2017-08-10 21:24:21 +02:00
|
|
|
|
|
|
|
<Product Id="*"
|
|
|
|
Name="$(var.ProductName)"
|
|
|
|
Language="1033"
|
|
|
|
Version="$(var.ProductVersion)"
|
|
|
|
Manufacturer="EduNetworkBuilder"
|
|
|
|
UpgradeCode="$(var.UpgradeCode)">
|
2017-07-28 20:00:32 +02:00
|
|
|
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
|
|
|
|
2017-08-10 21:24:21 +02:00
|
|
|
<MajorUpgrade Schedule="afterInstallInitialize"
|
|
|
|
DowngradeErrorMessage="A newer version of [ProductName] is already installed."
|
|
|
|
AllowSameVersionUpgrades="yes"/>
|
|
|
|
|
2017-07-29 01:06:21 +02:00
|
|
|
<MediaTemplate EmbedCab="yes"/>
|
2017-07-28 20:00:32 +02:00
|
|
|
|
2017-08-10 21:24:21 +02:00
|
|
|
<Feature Id="ProductFeature" Title="$(var.ProductName)" Level="1">
|
2017-07-28 20:00:32 +02:00
|
|
|
<ComponentGroupRef Id="ProductComponents" />
|
2017-07-29 01:06:21 +02:00
|
|
|
<ComponentRef Id="ApplicationShortcut" />
|
2017-11-02 13:52:01 +01:00
|
|
|
<ComponentRef Id ="FrenchDLL"/>
|
2017-07-28 20:00:32 +02:00
|
|
|
</Feature>
|
2017-08-10 21:24:21 +02:00
|
|
|
|
2017-07-30 01:31:19 +02:00
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
|
|
<!-- Add info for program-files location -->
|
|
|
|
<Directory Id="ProgramFilesFolder">
|
2017-11-02 13:52:01 +01:00
|
|
|
<Directory Id="INSTALLFOLDER" Name="$(var.ProductName)">
|
|
|
|
<Directory Id="FrenchLangFolder" Name="fr" />
|
|
|
|
</Directory>
|
2017-07-30 01:31:19 +02:00
|
|
|
</Directory>
|
|
|
|
<!-- Add info for the start-menu shortcut -->
|
|
|
|
<Directory Id="ProgramMenuFolder">
|
2017-08-10 21:24:21 +02:00
|
|
|
<Directory Id="ApplicationProgramsFolder" Name="$(var.ProductName)"/>
|
2017-07-30 01:31:19 +02:00
|
|
|
</Directory>
|
|
|
|
</Directory>
|
2017-08-10 21:24:21 +02:00
|
|
|
|
2017-07-30 01:31:19 +02:00
|
|
|
<!-- More for the start-menu shortcut -->
|
|
|
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
2017-08-10 21:24:21 +02:00
|
|
|
<Component Id="ApplicationShortcut" Guid="$(var.ProductCode)">
|
2017-07-30 01:31:19 +02:00
|
|
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
|
|
|
Name="EduNetworkBuilder"
|
|
|
|
Description="A program for teaching networking"
|
|
|
|
Target="[#EduNetworkBuilder.exe]"
|
|
|
|
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
|
|
|
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
|
|
|
<RegistryValue Root="HKCU" Key="Software\Microsoft\EduNetworkBuilder" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
2017-07-28 20:00:32 +02:00
|
|
|
|
2017-11-02 13:52:01 +01:00
|
|
|
<DirectoryRef Id="FrenchLangFolder">
|
|
|
|
<Component Id="FrenchDLL" DiskId="1" Guid="$(var.FrenchDLLCode)" >
|
|
|
|
<File Id="EduNetworkBuilder.resources.dll" Name ="EduNetworkBuilder.resources.dll" src ="$(var.EduNetworkBuilder.TargetDir)\fr\EduNetworkBuilder.resources.dll" />
|
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2017-07-30 01:31:19 +02:00
|
|
|
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
|
|
|
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
|
|
|
<Component Id="ProductComponent">
|
|
|
|
<File Source="$(var.EduNetworkBuilder.TargetPath)" />
|
|
|
|
<ProgId Id="EduNetworkBuilder.enbxfile" Description="EduNetworkBuilder Network File" >
|
|
|
|
<Extension Id="enbx">
|
|
|
|
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
|
|
|
</Extension>
|
|
|
|
</ProgId>
|
|
|
|
<ProgId Id="EduNetworkBuilder.enbufile" Description="EduNetworkBuilder User File" >
|
|
|
|
<Extension Id="enbu">
|
|
|
|
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
|
|
|
</Extension>
|
|
|
|
</ProgId>
|
2017-08-01 02:50:40 +02:00
|
|
|
<ProgId Id="EduNetworkBuilder.enbhfile" Description="EduNetworkBuilder Homework File" >
|
|
|
|
<Extension Id="enbh">
|
|
|
|
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
|
|
|
</Extension>
|
2017-11-02 13:52:01 +01:00
|
|
|
</ProgId>
|
|
|
|
</Component>
|
2017-07-30 01:31:19 +02:00
|
|
|
</ComponentGroup>
|
2017-07-28 20:00:32 +02:00
|
|
|
|
2017-07-30 01:31:19 +02:00
|
|
|
</Product>
|
2017-07-28 20:00:32 +02:00
|
|
|
</Wix>
|