Skip to content

Commit

Permalink
added dlls to installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkite committed Mar 23, 2019
1 parent 4516582 commit 6f6dc5d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
6 changes: 3 additions & 3 deletions make_installer.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"c:\Program Files (x86)\WiX Toolset v3.10\bin\candle.exe" MyWixUI_InstallDir.wxs
"c:\Program Files (x86)\WiX Toolset v3.10\bin\candle.exe" minutor.wxs
"c:\Program Files (x86)\WiX Toolset v3.10\bin\light.exe" -ext WixUIExtension -o minutor.msi minutor.wixobj MyWixUI_InstallDir.wixobj
"c:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe" MyWixUI_InstallDir.wxs
"c:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe" minutor.wxs
"c:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe" -ext WixUIExtension -o minutor.msi minutor.wixobj MyWixUI_InstallDir.wixobj
@pause
23 changes: 16 additions & 7 deletions minutor.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<?define ProductUpgradeCode="5da343bf-7e4f-4849-acb0-da8c6682a71e"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Minutor" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Sean Kasun" UpgradeCode="$(var.ProductUpgradeCode)">
<Package InstallerVersion="200" Compressed="yes" />
<Package InstallerVersion="300" Compressed="yes" />
<Media Id="1" Cabinet="minutor.cab" EmbedCab="yes" CompressionLevel="high" />

<Icon Id="ProductIcon" SourceFile="icon.ico" />
Expand Down Expand Up @@ -32,21 +32,30 @@
<DirectoryRef Id="INSTALLDIR">
<Component Id="minutor.exe" Guid="670f74ff-eb96-4003-828a-2f24e5a42539">
<File Id="minutor.exe" Source="minutor.exe" KeyPath="yes" Checksum="yes">
<Shortcut Id="ApplicationShortcut" Directory="ApplicationProgramsFolder" Advertise="yes" Name="Minutor"
WorkingDirectory="INSTALLDIR" Icon="icon.exe">
<Icon Id="icon.exe" SourceFile="icon.ico" />
<Shortcut Id="ApplicationShortcut" Directory="ApplicationProgramsFolder" Advertise="yes" Name="Minutor" WorkingDirectory="INSTALLDIR" Icon="icon.ico">
<Icon Id="icon.ico" SourceFile="icon.ico" />
</Shortcut>
</File>
</File>
<RemoveFolder Id="DeleteShortcutFolder" Directory="ApplicationProgramsFolder" On="uninstall" />
</Component>
</Component>
<Component Id="libeay32.dll" Guid="0f60e6b5-482a-4373-9d19-9e849ad1cc92">
<File Id="libeay32.dll" Source="libeay32.dll" KeyPath="yes" Checksum="yes">
</File>
</Component>
<Component Id="ssleay32.dll" Guid="11bb6d60-045d-4315-964c-709742741d72">
<File Id="ssleay32.dll" Source="ssleay32.dll" KeyPath="yes" Checksum="yes">
</File>
</Component>
</DirectoryRef>

<InstallExecuteSequence>
<RemoveExistingProducts After="InstallValidate" />
</InstallExecuteSequence>

<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="minutor.exe" />
<ComponentRef Id="minutor.exe" />
<ComponentRef Id="libeay32.dll" />
<ComponentRef Id="ssleay32.dll" />
</Feature>

<Property Id="WIXUI_INSTALLDIR">INSTALLDIR</Property>
Expand Down

0 comments on commit 6f6dc5d

Please sign in to comment.