Mark OpenRGB.exe as KeyPath in Wix installer

This commit is contained in:
Adam Honse 2025-07-28 21:13:21 -05:00
parent 59deaad070
commit c6de7cf784

View file

@ -62,7 +62,7 @@ do
EXE_ID=${PRODUCTNAME}00 EXE_ID=${PRODUCTNAME}00
EXE_FILE=${filename} EXE_FILE=${filename}
#Add special entry to files list #Add special entry to files list
FILES="$FILES <File Id='${EXE_ID}' Source='${WORKING_PATH}${filename}'/>\n" FILES="$FILES <File Id='${EXE_ID}' Source='${WORKING_PATH}${filename}' KeyPath='yes'/>\n"
elif [ -d "$file" ] ; then elif [ -d "$file" ] ; then
#If this is a directory then we need to add another component #If this is a directory then we need to add another component
COMPONENTS="${COMPONENTS} <ComponentRef Id='${filename}Files'/>\n" COMPONENTS="${COMPONENTS} <ComponentRef Id='${filename}Files'/>\n"