This guide provides step-by-step instructions for setting up and running multiple instances of Infigo Sync on the same machine. This allows you to manage multiple synchronization processes simultaneously, each targeting different platforms or configurations.
Find more information on Infigo Sync here and here.
Prerequisites
Ensure you have already installed Infigo Sync on your machine.
Step-by-Step Guide
Step 1: Locate the Infigo Sync Installation
The default installation path is typically:
C:\Program Files (x86)\ISL
Step 2: Duplicate the Infigo Sync Folder
Step 3: Modify the Configuration File
In the newly copied folder, locate and open the file named:
InfigoSync.exe.config
Modify the following configuration keys as required:
Configuration Key |
Description |
Example |
SyncInterval |
Synchronization interval (milliseconds). Default: 30000 (30 seconds). |
<add key="SyncInterval" value="30000" /> |
CatfishApiKey |
API key for authentication (unique per platform). |
<add key="CatfishApiKey" value="YOUR_API_KEY" /> |
CatfishPlatformUrl |
URL of the target Infigo platform. |
<add key="CatfishPlatformUrl" value="your-platform-url" /> |
DownloadLocation |
Path for downloaded synchronized data. |
<add key="DownloadLocation" value="D:\tmp\InfigoSyncCopy" /> |
CatfishPrintLocation |
Default printing location. Usually set to "Digital". |
<add key="CatfishPrintLocation" value="Digital" /> |
CatfishUploadLocation |
Upload destination within the Infigo platform. |
<add key="CatfishUploadLocation" value="Infigo Sync" /> |
UploadLocation |
Local path where upload files are stored. |
<add key="UploadLocation" value="D:\tmp\InfigoSyncCopy" /> |
BatchCSVUserEmail |
Email for batch CSV processes (optional). Leave empty if not used. |
<add key="BatchCSVUserEmail" value="" /> |
LocalSyncLocation |
Local sync directory (optional). Leave empty if not used. |
<add key="LocalSyncLocation" value="" /> |
BatchCSVUploadLocation |
Directory for batch CSV uploads (optional). Leave empty if not used. |
<add key="BatchCSVUploadLocation" value="" /> |
Ensure all paths and keys reflect your new instance requirements.
Step 4: Start the New Infigo Sync Instance
You can start the new instance using one of two methods:
Method 1: Running as a Windows Service via PowerShell
Create and run a new Windows service using PowerShell. Follow these steps:
a. Create a PowerShell Script
Save the following script as create-infigo-sync-service.ps1
:
param (
[string]$Name,
[string]$ExecutablePath
)
if (-not $Name) {
Write-Host "Service name not provided." -ForegroundColor Red
exit 1
}
function Create-NewService {
param (
[string]$ExecutablePath,
[string]$Name
)
$newServiceName = $Name
$newExecutable = "`"$ExecutablePath`" service -start"
New-Service -Name $newServiceName -BinaryPathName $newExecutable -DisplayName "$newServiceName" -Description "Copy of InfigoSync service named $Name"
Write-Host "Created new service: $newServiceName"
}
if (-not (Test-Path -Path $ExecutablePath)) {
Write-Host "Executable path not found: $ExecutablePath" -ForegroundColor Red
exit 1
}
Create-NewService -ExecutablePath $ExecutablePath -Name $Name
b. Execute the Script
Open PowerShell as an administrator and run:
.\create-infigo-sync-service.ps1 -Name "InfigoSync-Clone" -ExecutablePath "C:\Program Files (x86)\ISL\Infigo Sync Copy\InfigoSync.exe"
Replace "InfigoSync-Clone"
and the executable path with your desired service name and path.
c. Start the Service
Start the newly created service by running:
Start-Service -Name "InfigoSync-Clone"
Method 2: Manually Running the Executable
Alternatively, manually launch InfigoSync.exe
directly from the copied folder.
Summary
By copying the Infigo Sync folder and adjusting the configuration settings, you can now successfully run multiple Infigo Sync instances. This configuration is ideal for managing simultaneous synchronization processes across different platforms or unique configurations.