The project demonstrates how to use WiX Toolset to create a Windows Installer for a .NET TWAIN document scanner application and Dynamsoft Service.
-
Build the
WinFormsDocScan
project to generate the document scanner application. You need to request a 30-day FREE trial license and update the license key in theForm1.cs
file. -
Build the
PackageDocScan
project to generate a MSI package for the document scanner application. You need to modify the file paths in theExampleComponents.wxs
file.<File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\WinFormsDocScan.exe" KeyPath="yes" /> <File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\Twain.Wia.Sane.Scanner.dll" /> <File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\WinFormsDocScan.deps.json" /> <File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\WinFormsDocScan.dll" /> <File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\WinFormsDocScan.pdb" /> <File Source="..\WinFormsDocScan\bin\Release\net7.0-windows\WinFormsDocScan.runtimeconfig.json" />
-
Build the
BundleDocScan
project to generate a bundle installer for the document scanner application and Dynamsoft Service. You need to modify the file paths in theBundle.wxs
file.<MsiPackage SourceFile="..\PackageDocScan\bin\x64\Release\en-US\PackageDocScan.msi" /> <MsiPackage SourceFile="msi\DynamsoftServiceSetup.msi" />