Remove Company from install path so its not Dactyloidae\Dactyloidae

This commit is contained in:
EAZYBLACK 2026-09-13 11:00:22 +03:00
commit cdd13135c3
2 changed files with 15 additions and 15 deletions

View file

@ -125,9 +125,9 @@ VIAddVersionKey "OriginalFilename" "setup.exe"
Name "${BrandFullName}"
OutFile "setup.exe"
!ifdef HAVE_64BIT_BUILD
InstallDir "$PROGRAMFILES64\${CompanyName}\${BrandShortName}\"
InstallDir "$PROGRAMFILES64\${BrandShortName}\"
!else
InstallDir "$PROGRAMFILES32\${CompanyName}\${BrandShortName}\"
InstallDir "$PROGRAMFILES32\${BrandShortName}\"
!endif
ShowInstDetails nevershow
@ -246,10 +246,10 @@ Section "-InstallStartCleanup"
${EndIf}
; setup the application model id registration value
${InitHashAppModelId} "$INSTDIR" "Software\${CompanyName}\${BrandShortName}\TaskBarIDs"
${InitHashAppModelId} "$INSTDIR" "Software\${BrandShortName}\TaskBarIDs"
; Remove the updates directory for Vista and above
${CleanUpdateDirectories} "${CompanyName}\${BrandShortName}" "${CompanyName}\updates"
${CleanUpdateDirectories} "${BrandShortName}" "${CompanyName}\updates"
${RemoveDeprecatedFiles}
${RemovePrecompleteEntries} "false"
@ -355,9 +355,9 @@ Section "-Application" APP_IDX
${RegCleanUninstall}
${UpdateProtocolHandlers}
ReadRegStr $0 HKLM "Software\${CompanyName}\${BrandShortName}" "CurrentVersion"
ReadRegStr $0 HKLM "Software\${BrandShortName}" "CurrentVersion"
${If} "$0" != "${GREVersion}"
WriteRegStr HKLM "Software\${CompanyName}\${BrandShortName}" "CurrentVersion" "${GREVersion}"
WriteRegStr HKLM "Software\${BrandShortName}" "CurrentVersion" "${GREVersion}"
${EndIf}
${EndIf}
@ -584,7 +584,7 @@ Section "-InstallEndCleanup"
; If we have something other than empty string now, write the value.
${If} "$0" != ""
ClearErrors
WriteRegStr HKCU "Software\${CompanyName}\${BrandShortName}" "OldDefaultBrowserCommand" "$0"
WriteRegStr HKCU "Software\${BrandShortName}" "OldDefaultBrowserCommand" "$0"
${EndIf}
${LogHeader} "Setting as the default browser"
@ -600,7 +600,7 @@ Section "-InstallEndCleanup"
${ElseIfNot} ${Errors}
${LogHeader} "Writing default-browser opt-out"
ClearErrors
WriteRegStr HKCU "Software\${CompanyName}\${BrandShortName}" "DefaultBrowserOptOut" "True"
WriteRegStr HKCU "Software\${BrandShortName}" "DefaultBrowserOptOut" "True"
${If} ${Errors}
${LogMsg} "Error writing default-browser opt-out"
${EndIf}