Setting icon for the bootstrapper file

Apr 12, 2010 at 11:03 AM

I've tried to modify the icon for the bootstrapper file which is generated from the InstallerLinker. Here's the output of my command:

 

F:\Projects\Yoobits\ClientServicePilot\Installer>%DOTNETINSTALLER_HOME%\bin\InstallerLinker.exe /o:b
in/Debug/setuptest.exe /t:%DOTNETINSTALLER_HOME%\bin\dotNetInstaller.exe /c:obj/Debug/configuration.
xml /b:banner.bmp /i:icon.ico /v+
InstallerLinker: dotNetInstaller Packager (1.9.5931.0)
Creating "F:\Projects\Yoobits\ClientServicePilot\Installer\bin\Debug\setuptest.exe" from "F:\devtool
s\dotnet\dotNetInstaller\bin\dotNetInstaller.exe"
Updating binary attributes in "F:\Projects\Yoobits\ClientServicePilot\Installer\bin\Debug\setuptest.
exe"
Embedding icon "F:\Projects\Yoobits\ClientServicePilot\Installer\icon.ico"
 16x16, 24x24, 32x32, 48x48, 64x64, 128x128
Writing CABs to "C:\Users\trond\AppData\Local\Temp\78bde7ac-fdb3-486c-95b1-11619335023e"
Compressing files in "F:\Projects\Yoobits\ClientServicePilot\Installer"
Embedding banner "F:\Projects\Yoobits\ClientServicePilot\Installer\banner.bmp"
Embedding configuration "F:\Projects\Yoobits\ClientServicePilot\Installer\obj\Debug\configuration.xm
l"
Embedding CABs
Embedding CAB directory
Writing 0 bytes
Cleaning up "C:\Users\trond\AppData\Local\Temp\78bde7ac-fdb3-486c-95b1-11619335023e"
Successfully created "F:\Projects\Yoobits\ClientServicePilot\Installer\bin\Debug\setuptest.exe" (1,4
MB)

%DOTNETINSTALLER_HOME%\bin\InstallerLinker.exe /o:bin/Debug/setuptest.exe /t:%DOTNETINSTALLER_HOME%\bin\dotNetInstaller.exe /c:obj/Debug/configuration.xml /b:banner.bmp /i:icon.ico /v+

InstallerLinker: dotNetInstaller Packager (1.9.5931.0)
Creating "F:\Projects\Installer\bin\Debug\setuptest.exe" from "F:\devtools\dotnet\dotNetInstaller\bin\dotNetInstaller.exe"
Updating binary attributes in "F:\Projects\Installer\bin\Debug\setuptest.exe"
Embedding icon "F:\Projects\Installer\icon.ico"
 16x16, 24x24, 32x32, 48x48, 64x64, 128x128
Writing CABs to "C:\Users\myuser\AppData\Local\Temp\78bde7ac-fdb3-486c-95b1-11619335023e"
Compressing files in "F:\Projects\Installer"
Embedding banner "F:\Projects\Installer\banner.bmp"
Embedding configuration "F:\Projects\Installer\obj\Debug\configuration.xml"

Embedding CABs
Embedding CAB directory
Writing 0 bytes

Cleaning up "C:\Users\myuser\AppData\Local\Temp\78bde7ac-fdb3-486c-95b1-11619335023e"
Successfully created "F:\Projects\Installer\bin\Debug\setuptest.exe" (1,4 MB)

It seems that it is able to see the content of my ico file, but it displays only a generic icon when finished to generate the setup.exe file. Any pointers on how to debug this?

 

Coordinator
Apr 12, 2010 at 11:28 AM

I think the problem is your icon. It's something to do with the resolution. I am not icon expert, but try with an icon that works (from dotNetInstaller samples) and if that works, you'll at least know for sure.

Apr 12, 2010 at 2:23 PM

You were right. The Ico file wasn't correct.