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

View file

@ -121,9 +121,9 @@ VIAddVersionKey "OriginalFilename" "helper.exe"
Name "${BrandFullName}" Name "${BrandFullName}"
OutFile "helper.exe" OutFile "helper.exe"
!ifdef HAVE_64BIT_BUILD !ifdef HAVE_64BIT_BUILD
InstallDir "$PROGRAMFILES64\${CompanyName}\${BrandShortName}\" InstallDir "$PROGRAMFILES64\${BrandShortName}\"
!else !else
InstallDir "$PROGRAMFILES32\${CompanyName}\${BrandShortName}\" InstallDir "$PROGRAMFILES32\${BrandShortName}\"
!endif !endif
ShowUnInstDetails nevershow ShowUnInstDetails nevershow
@ -193,7 +193,7 @@ Section "Uninstall"
${EndIf} ${EndIf}
; setup the application model id registration value ; setup the application model id registration value
${un.InitHashAppModelId} "$INSTDIR" "Software\${CompanyName}\${BrandShortName}\TaskBarIDs" ${un.InitHashAppModelId} "$INSTDIR" "Software\${BrandShortName}\TaskBarIDs"
SetShellVarContext current ; Set SHCTX to HKCU SetShellVarContext current ; Set SHCTX to HKCU
${un.RegCleanMain} "Software\${CompanyName}" ${un.RegCleanMain} "Software\${CompanyName}"
@ -207,11 +207,11 @@ Section "Uninstall"
${EndIf} ${EndIf}
; Remove the updates directory for Vista and above ; Remove the updates directory for Vista and above
${un.CleanUpdateDirectories} "${CompanyName}\${BrandShortName}" "${CompanyName}\updates" ${un.CleanUpdateDirectories} "${BrandShortName}" "${CompanyName}\updates"
; Remove any app model id's stored in the registry for this install path ; Remove any app model id's stored in the registry for this install path
DeleteRegValue HKCU "Software\${CompanyName}\${BrandShortName}\TaskBarIDs" "$INSTDIR" DeleteRegValue HKCU "Software\${BrandShortName}\TaskBarIDs" "$INSTDIR"
DeleteRegValue HKLM "Software\${CompanyName}\${BrandShortName}\TaskBarIDs" "$INSTDIR" DeleteRegValue HKLM "Software\${BrandShortName}\TaskBarIDs" "$INSTDIR"
ClearErrors ClearErrors
WriteRegStr HKLM "Software\${CompanyName}" "${BrandShortName}InstallerTest" "Write Test" WriteRegStr HKLM "Software\${CompanyName}" "${BrandShortName}InstallerTest" "Write Test"
@ -397,7 +397,7 @@ Section "Uninstall"
; subsequently deleted after checking. If the value is found during startup ; subsequently deleted after checking. If the value is found during startup
; the browser will offer to Reset Basilisk. We use the UpdateChannel to match ; the browser will offer to Reset Basilisk. We use the UpdateChannel to match
; uninstalls of Basilisk-release with reinstalls of Basilisk-release, for example. ; uninstalls of Basilisk-release with reinstalls of Basilisk-release, for example.
WriteRegStr HKCU "Software\${CompanyName}\${BrandShortName}" "Uninstalled-${UpdateChannel}" "True" WriteRegStr HKCU "Software\${BrandShortName}" "Uninstalled-${UpdateChannel}" "True"
${un.IsFirewallSvcRunning} ${un.IsFirewallSvcRunning}
Pop $0 Pop $0