-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstaller.wxs
54 lines (46 loc) · 2.12 KB
/
installer.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0"?>
<?define ProductVersion = "0.0.1"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Batch2Exe" Version="$(var.ProductVersion)" Manufacturer="nathannestein" Language="1033">
<Package InstallerVersion="200" Compressed="yes" Comments="Batch2Exe Installer"/>
<Media Id="1" Cabinet="product.cab" EmbedCab="yes"/>
<Icon Id="ProductIcon" SourceFile="..\logos\batch2exe-logo.ico"/>
<Property Id="ARPPRODUCTICON" Value="ProductIcon"/>
<Property Id="ARPHELPLINK" Value="http://nthnn.github.io/"/>
<Property Id="ARPNOREPAIR" Value="1"/>
<Property Id="ARPNOMODIFY" Value="1"/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="Batch2Exe">
<Component Id="ApplicationFiles" Guid="2b3cdc4d-19c0-4da7-af8d-575f0ae00793">
<File Id="BATCH2EXE" Source="..\dest\Batch2Exe-launcher.exe"/>
<File Id="BATCH2EXEGUI" Source="..\dest\Batch2Exe-GUI.jar"/>
<File Id="BATCH2EXEWRAPPER" Source="..\dest\Batch2Exe-Wrapper.exe"/>
<File Id="BATCH2EXEWRAPPERDLL" Source="..\dest\Batch2Exe-Wrapper.dll"/>
<File Id="BATCH2EXERUNTIMECONFIG" Source="..\dest\Batch2Exe-Wrapper.runtimeconfig.json"/>
</Component>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop">
<Component Id="ApplicationShortcutDesktop" Guid="65915c44-28f0-434c-90d5-ecdea3f41f5a">
<Shortcut Id="ApplicationDesktopShortcut"
Name="Batch2Exe"
Description="Batch file to executable file converter"
Target="[INSTALLDIR]Batch2Exe-Launcher.exe"
WorkingDirectory="INSTALLDIR"/>
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
<RegistryValue
Root="HKCU" Key="Software\nathannestein\Batch2Exe"
Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</Directory>
</Directory>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallValidate"/>
</InstallExecuteSequence>
<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="ApplicationFiles"/>
<ComponentRef Id="ApplicationShortcutDesktop"/>
</Feature>
</Product>
</Wix>