Initial commit: Inno Setup installer packages

Installer packages for GE manufacturing tools:
- BlueSSOFix: Blue SSO authentication fix
- HIDCardPrinter: HID card printer setup
- HPOfflineInstaller: HP printer offline installer
- MappedDrive: Network drive mapping
- PrinterInstaller: General printer installer
- ShopfloorConnect: Shopfloor connectivity tool
- XeroxOfflineInstaller: Xerox printer offline installer

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2025-12-30 13:15:54 -05:00
commit 28541cd3ed
1175 changed files with 127441 additions and 0 deletions

View File

@@ -0,0 +1 @@
setx /m TCFITDIR "C:\ShopFloorConnect"

View File

@@ -0,0 +1,2 @@
cd "C:\ShopFloorConnect\MachineToolClient_Service\"
call install.bat

View File

@@ -0,0 +1,86 @@
@echo off
setlocal enabledelayedexpansion
:: Define variables for the fields to be updated
set "original_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server.ini"
set "backup_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server_backup.ini"
set "fsw_ip=10.233.108.152"
set "fsw_port=8080/tcdnc/services"
:: Get the computer's Fully Qualified Domain Name (FQDN) using PowerShell
for /f "usebackq delims=" %%A in (`powershell -NoProfile -Command "[System.Net.Dns]::GetHostEntry('localhost').HostName"`) do set "fqdn=%%A"
:: Display the FQDN for verification
echo Computer FQDN: !fqdn!
:: Create a temporary file for the updated content
set "temp_file=%original_file%.tmp"
:: Retry mechanism for deleting the temporary file
set "retry_count=0"
:retry_delete
if exist "%temp_file%" (
echo Attempting to delete temporary file "%temp_file%"...
del "%temp_file%"
if errorlevel 1 (
echo Error: Failed to delete temporary file "%temp_file%". Retrying...
set /a retry_count+=1
if %retry_count% GEQ 5 (
echo Error: Unable to delete temporary file after 5 attempts.
exit /b 1
)
timeout /t 2 >nul
goto retry_delete
)
)
:: Test temporary file creation
echo Creating temporary file...
echo Test > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to create temporary file "%temp_file%".
echo Possible reasons:
echo - File is locked or in use by another process.
echo - Insufficient permissions to create files in the directory.
echo - Disk space or file system issues.
exit /b 1
)
:: Update the fields in the file
echo Updating the ini file...
(for /f "usebackq delims=" %%A in ("%original_file%") do (
set "line=%%A"
echo Processing line: !line! >nul
:: Check for specific field names and update the entire line
if /i "!line:local_ip =!" NEQ "!line!" (
echo local_ip = !fqdn!
) else if /i "!line:fsw_ip =!" NEQ "!line!" (
echo fsw_ip = %fsw_ip%
) else if /i "!line:fsw_port =!" NEQ "!line!" (
echo fsw_port = %fsw_port%
) else if /i "!line:RxEndTimeout =!" NEQ "!line!" (
echo RxEndTimeout = 6000
echo.
) else (
echo !line!
)
)) > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to update the fields in the file.
exit /b 1
)
:: Replace the original file with the updated file
move /y "%temp_file%" "%original_file%" >nul
if errorlevel 1 (
echo Error: Failed to replace the original file with the updated file.
exit /b 1
)
echo File updated successfully.

View File

@@ -0,0 +1,86 @@
@echo off
setlocal enabledelayedexpansion
:: Define variables for the fields to be updated
set "original_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server.ini"
set "backup_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server_backup.ini"
set "fsw_ip=10.233.113.141"
set "fsw_port=8080/tcdnc/services"
:: Get the computer's Fully Qualified Domain Name (FQDN) using PowerShell
for /f "usebackq delims=" %%A in (`powershell -NoProfile -Command "[System.Net.Dns]::GetHostEntry('localhost').HostName"`) do set "fqdn=%%A"
:: Display the FQDN for verification
echo Computer FQDN: !fqdn!
:: Create a temporary file for the updated content
set "temp_file=%original_file%.tmp"
:: Retry mechanism for deleting the temporary file
set "retry_count=0"
:retry_delete
if exist "%temp_file%" (
echo Attempting to delete temporary file "%temp_file%"...
del "%temp_file%"
if errorlevel 1 (
echo Error: Failed to delete temporary file "%temp_file%". Retrying...
set /a retry_count+=1
if %retry_count% GEQ 5 (
echo Error: Unable to delete temporary file after 5 attempts.
exit /b 1
)
timeout /t 2 >nul
goto retry_delete
)
)
:: Test temporary file creation
echo Creating temporary file...
echo Test > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to create temporary file "%temp_file%".
echo Possible reasons:
echo - File is locked or in use by another process.
echo - Insufficient permissions to create files in the directory.
echo - Disk space or file system issues.
exit /b 1
)
:: Update the fields in the file
echo Updating the ini file...
(for /f "usebackq delims=" %%A in ("%original_file%") do (
set "line=%%A"
echo Processing line: !line! >nul
:: Check for specific field names and update the entire line
if /i "!line:local_ip =!" NEQ "!line!" (
echo local_ip = !fqdn!
) else if /i "!line:fsw_ip =!" NEQ "!line!" (
echo fsw_ip = %fsw_ip%
) else if /i "!line:fsw_port =!" NEQ "!line!" (
echo fsw_port = %fsw_port%
) else if /i "!line:RxEndTimeout =!" NEQ "!line!" (
echo RxEndTimeout = 6000
echo.
) else (
echo !line!
)
)) > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to update the fields in the file.
exit /b 1
)
:: Replace the original file with the updated file
move /y "%temp_file%" "%original_file%" >nul
if errorlevel 1 (
echo Error: Failed to replace the original file with the updated file.
exit /b 1
)
echo File updated successfully.

View File

@@ -0,0 +1,86 @@
@echo off
setlocal enabledelayedexpansion
:: Define variables for the fields to be updated
set "original_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server.ini"
set "backup_file=C:\ShopFloorConnect\FIT-MI_Server\webapps\wut\WEB-INF\conf\mi_server_backup.ini"
set "fsw_ip=10.233.112.145"
set "fsw_port=8080/tcdnc/services"
:: Get the computer's Fully Qualified Domain Name (FQDN) using PowerShell
for /f "usebackq delims=" %%A in (`powershell -NoProfile -Command "[System.Net.Dns]::GetHostEntry('localhost').HostName"`) do set "fqdn=%%A"
:: Display the FQDN for verification
echo Computer FQDN: !fqdn!
:: Create a temporary file for the updated content
set "temp_file=%original_file%.tmp"
:: Retry mechanism for deleting the temporary file
set "retry_count=0"
:retry_delete
if exist "%temp_file%" (
echo Attempting to delete temporary file "%temp_file%"...
del "%temp_file%"
if errorlevel 1 (
echo Error: Failed to delete temporary file "%temp_file%". Retrying...
set /a retry_count+=1
if %retry_count% GEQ 5 (
echo Error: Unable to delete temporary file after 5 attempts.
exit /b 1
)
timeout /t 2 >nul
goto retry_delete
)
)
:: Test temporary file creation
echo Creating temporary file...
echo Test > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to create temporary file "%temp_file%".
echo Possible reasons:
echo - File is locked or in use by another process.
echo - Insufficient permissions to create files in the directory.
echo - Disk space or file system issues.
exit /b 1
)
:: Update the fields in the file
echo Updating the ini file...
(for /f "usebackq delims=" %%A in ("%original_file%") do (
set "line=%%A"
echo Processing line: !line! >nul
:: Check for specific field names and update the entire line
if /i "!line:local_ip =!" NEQ "!line!" (
echo local_ip = !fqdn!
) else if /i "!line:fsw_ip =!" NEQ "!line!" (
echo fsw_ip = %fsw_ip%
) else if /i "!line:fsw_port =!" NEQ "!line!" (
echo fsw_port = %fsw_port%
) else if /i "!line:RxEndTimeout =!" NEQ "!line!" (
echo RxEndTimeout = 6000
echo.
) else (
echo !line!
)
)) > "%temp_file%"
if errorlevel 1 (
echo Error: Failed to update the fields in the file.
exit /b 1
)
:: Replace the original file with the updated file
move /y "%temp_file%" "%original_file%" >nul
if errorlevel 1 (
echo Error: Failed to replace the original file with the updated file.
exit /b 1
)
echo File updated successfully.

View File

@@ -0,0 +1,63 @@
# Notices for Eclipse Temurin
This content is produced and maintained by the Eclipse Temurin project.
* Project home: https://projects.eclipse.org/projects/adoptium.temurin
## Trademarks
Eclipse Temurin is a trademark of the Eclipse Foundation. Eclipse, and the
Eclipse Logo are registered trademarks of the Eclipse Foundation.
Java and all Java-based trademarks are trademarks of Oracle Corporation in
the United States, other countries, or both.
## Copyright
All content is the property of the respective authors or their employers.
For more information regarding authorship of content, please consult the
listed source code repository logs.
## Declared Project Licenses
This program and the accompanying materials are made available under the terms
of the GNU General Public License, version 2, with the Classpath Exception.
Additional information relating to the program and accompanying materials
license and usage is available as follows.
* For Eclipse Temurin version 8 see the LICENSE and ASSEMBLY_EXCEPTION files
in the top level directory of the installation.
* For Eclipse Temurin version 9 or later see the files under the legal/
directory in the top level directory of the installation.
SPDX-License-Identifier: GPL-2.0 WITH Classpath-exception-2.0
## Source Code
The project maintains the following source code repositories which may be
relevant to this content:
* https://github.com/adoptium/temurin-build
* https://github.com/adoptium/jdk
* https://github.com/adoptium/jdk8u
* https://github.com/adoptium/jdk11u
* https://github.com/adoptium/jdk17u
* https://github.com/adoptium/jdk20
* and so on
## Third-party Content
This program and accompanying materials contains third-party content.
* For Eclipse Temurin version 8 see the THIRD_PARTY_LICENSE file in the
top level directory of the installation.
* For Eclipse Temurin version 9 or later see the files under the legal/
directory in the top level directory of the installation.
## Cryptography
Content may contain encryption software. The country in which you are currently
may have restrictions on the import, possession, and use, and/or re-export to
another country, of encryption software. BEFORE using any encryption software,
please check the country's laws, regulations and policies concerning the import,
possession, or use, and re-export of encryption software, to see if this is
permitted.

View File

@@ -0,0 +1,63 @@
############################################################
# Default Logging Configuration File
#
# You can use a different file by specifying a filename
# with the java.util.logging.config.file system property.
# For example, java -Djava.util.logging.config.file=myfile
############################################################
############################################################
# Global properties
############################################################
# "handlers" specifies a comma-separated list of log Handler
# classes. These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
# By default we only configure a ConsoleHandler, which will only
# show messages at the INFO and above levels.
handlers= java.util.logging.ConsoleHandler
# To also add the FileHandler, use the following line instead.
#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# Default global logging level.
# This specifies which kinds of events are logged across
# all loggers. For any given facility this global level
# can be overridden by a facility-specific level
# Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console.
.level= INFO
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
# Default number of locks FileHandler can obtain synchronously.
# This specifies maximum number of attempts to obtain lock file by FileHandler
# implemented by incrementing the unique field %u as per FileHandler API documentation.
java.util.logging.FileHandler.maxLocks = 100
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
# Limit the messages that are printed on the console to INFO and above.
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# Example to customize the SimpleFormatter output format
# to print one-line log message like this:
# <level>: <log message> [<date/time>]
#
# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n
############################################################
# Facility-specific properties.
# Provides extra control for each logger.
############################################################
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
# com.xyz.foo.level = SEVERE

Some files were not shown because too many files have changed in this diff Show More