-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set windows uninstall application icon?DispalyIcon invalid #1550
Comments
` !macro setUninstallLinkVars !macro customHeader !macroend !macro preInit !macroend !macro customInit !macro customInstall CreateShortCut "$startMenuLinkUnInstall" "$INSTDIR${UNINSTALL_FILENAME}" "" "$INSTDIR${UNINSTALL_FILENAME}" 0 "" "" "" !macro customUnInit !macro customUnInstall |
|
@develar Thanks,I set it this way; |
Do you use latest version? Did you remove your custom code? Where icon is invalid and how? |
@develar |
Just put uninstallerIcon.ico to build dir and nothing more. ExtraResources not required. |
@develar Still not in use, |
build/installer.nsh !macro setUninstallLinkVars !macro customHeader !macroend !macro preInit !macroend !macro customInit !macro customInstall CreateShortCut "$startMenuLinkUnInstall" "$INSTDIR${UNINSTALL_FILENAME}" "" "$INSTDIR${UNINSTALL_FILENAME}" 0 "" "" "" WriteRegStr HKCU "SOFTWARE\Classes\directory\shell${PRODUCT_FILENAME}" "" "Open With ${PRODUCT_FILENAME}" !macro customUnInit !macro customUnInstall
!macroend |
@develar |
how to set windows uninstall application icon?
I need custom path icon。
WriteRegStr SHCTX "${UNINSTALL_REGISTRY_KEY}" "DisplayIcon" "$INSTDIR\uninstall.ico,0"
don't use.The text was updated successfully, but these errors were encountered: