- Get your logo as a
.icofile - Name it
InterWorks-Logo.ico(or update the build script with your filename) - Place it in the same directory as the build script (
c:\Users\acewi\Desktop\CCInstaller\) - Run the build script - the icon will be automatically included
- Go to https://convertio.co/png-ico/ or https://www.icoconverter.com/
- Upload your company logo (PNG, JPG, or SVG)
- Select these sizes for best results:
- 16x16 (small icons)
- 32x32 (standard)
- 48x48 (Windows Explorer)
- 256x256 (large icons)
- Download the
.icofile - Save it as
InterWorks-Logo.icoin the installer directory
- Download GIMP from https://www.gimp.org/
- Open your logo in GIMP
- Scale it to 256x256:
Image → Scale Image - Export as ICO:
File → Export As - Choose
.icoas the file type - Save as
InterWorks-Logo.ico
If you have a PNG file, you can use this PowerShell script to convert it:
# Install required module (one-time)
Install-Module -Name PsIcons -Scope CurrentUser
# Convert PNG to ICO
Import-Module PsIcons
ConvertTo-Icon -Path ".\logo.png" -Destination ".\InterWorks-Logo.ico" -Sizes 16,32,48,256# Install ImageMagick first
# Then run:
magick convert logo.png -define icon:auto-resize=256,128,64,48,32,16 InterWorks-Logo.ico- Format: Must be
.ico(not PNG, JPG, or other formats) - Recommended sizes: Include multiple sizes in one ICO file for best results
- 16x16 - Taskbar and window title bars
- 32x32 - Standard desktop icons
- 48x48 - Windows Explorer
- 256x256 - Large icons and high-DPI displays
- File size: Keep under 1MB (typically 50-200KB is fine)
- Transparency: Supported and recommended for best appearance
Save your icon as InterWorks-Logo.ico in the installer directory, then build:
.\Build-Installer.ps1The build script will automatically find and use it.
If your icon has a different name or location:
.\Build-Installer.ps1 -IconFile ".\path\to\your-logo.ico"Or update the default in Build-Installer.ps1:
param(
[string]$IconFile = ".\YourCustomName.ico"
)After building, you can verify the icon was applied:
- Navigate to the
.\builddirectory - Look at
ClaudeCodeInstaller.exein Windows Explorer - You should see your custom icon instead of the default PowerShell icon
Problem: The EXE still has the default PowerShell icon
Solutions:
- Verify the ICO file exists:
Test-Path .\InterWorks-Logo.ico - Check the build output for warnings about the icon file
- Refresh the Explorer view: Right-click → Refresh
- Clear the icon cache:
ie4uinit.exe -ClearIconCache taskkill /IM explorer.exe /F start explorer.exe
Problem: Icon appears pixelated or low-quality
Solutions:
- Make sure your source image is at least 256x256 pixels
- Include multiple sizes in the ICO file (16, 32, 48, 256)
- Use a vector format (SVG) as your source if possible
- Ensure the ICO file contains high-quality versions
Problem: Build script can't find the icon file
Solutions:
- Check the filename matches exactly (case-sensitive on some systems)
- Verify the file is in the correct directory:
Get-ChildItem *.ico - Use an absolute path:
.\Build-Installer.ps1 -IconFile "C:\full\path\to\icon.ico"
Your directory structure should look like this:
C:\Users\acewi\Desktop\CCInstaller\
├── Build-Installer.ps1
├── Install-ClaudeCode.ps1
├── InterWorks-Logo.ico ← Your icon file here
├── README.md
└── build\
└── ClaudeCodeInstaller.exe ← Will have your icon
Once applied, your custom icon will be visible in:
- ✅ Windows Explorer file listings
- ✅ Desktop shortcuts
- ✅ Taskbar when the installer is running
- ✅ Windows "Open With" dialog
- ✅ Task Manager
- ✅ File properties dialog
- ✅ Email attachments
- ✅ Download folders
- Use a simple, recognizable logo: Complex designs don't scale well to 16x16
- High contrast: Ensure the logo is visible at small sizes
- Test at multiple sizes: View the ICO at 16x16, 32x32, and 256x256 before building
- Include transparency: Makes the icon look professional on any background
- Use your brand colors: Match your company's visual identity
-
Online:
-
Desktop:
- GIMP (Free, open-source)
- Paint.NET (Free, Windows)
- IcoFX (Free version available)
-
Professional:
- Adobe Photoshop
- Adobe Illustrator
- Affinity Designer
If you have trouble creating the icon:
- Check if your graphic design team has the logo in ICO format already
- Ask your marketing department for high-resolution logo files
- Use one of the online converters listed above
- The installer works fine without a custom icon - it's just a nice-to-have!