Hi I am using inno setup, but am having trouble setting an uninstall and program icon separate from the orignal one. Also how the heck do you use the third party apps to change the forms banners and stuff.
This is confusing! thanks for any help
Printable View
Hi I am using inno setup, but am having trouble setting an uninstall and program icon separate from the orignal one. Also how the heck do you use the third party apps to change the forms banners and stuff.
This is confusing! thanks for any help
you don't need 3rd party apps... I change the side banner in INNO using this
WizardImageFile=c:\project files\installlogo2.bmp
in the [setup] section. Check the help file for any specs (I don't know if it can be image other than bmp type, or if size dimensions matter)
also in the setup section... put this
UninstallDisplayIcon={app}\UninsIcon.ico
this will set the icon for add/remove programs to UninsIcon.ico (or whatever you call the icon you want to use). Make sure to include the icon file in the application directory in your [files] section.
also in the [icons] section where your shortcuts go, you can use the attribute IconFilename to specify a DIFFERENT icon than the exe that the shortcut points to
these are all things in the INNO help file.
okay thanks, hey do you know how to get the framework 1.0 redistribute to automatically install.
thanks
in [files] section
in [run] sectionQuote:
Source: c:\dotnetfx.exe; DestDir: {tmp}; Flags: ignoreversion
I use .NET 1.1, but I am sure .NET 1.0 redist works exactly the same wayQuote:
Filename: {tmp}\dotnetfx.exe; Parameters: "/q:a /c:""install /l /q""";
append c:\dotnetfx.exe to the path where your copy of dotnetfx.exe is on your PC
im gonna move this to app deployment
awesome I really appreciate the help, take care
no problem. INNO is still my favorite installer. I would use it anyday over the one built into .NET (until MS makes it better ;))
pooh, when I have the setup icon and uninstall icon they are both displayed as setup even though I told them to be different. Another problem is that the desktop shortcut and program files shows a exe file icon. Can you plaese help me once more. This will complete my program.
thanks
can you post the contents of the .iss file? along with what version of INNO you are using? Then I will take a look
k, thanks
Version 5.1.6 latest release
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=Hangman Game
AppVerName=Hangman Game 1.0
AppPublisher=Justin Cochrane Productions
AppPublisherURL=http://JCPVisualBasic.tripod.com
AppSupportURL=http://JCPVisualBasic.tripod.com
AppUpdatesURL=http://JCPVisualBasic.tripod.com
DefaultDirName={pf}\Hangman Game
DefaultGroupName=Hangman Game
AllowNoIcons=yes
LicenseFile=C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\LicenseAgree.rtf
OutputDir=C:\Documents and Settings\Owner\Desktop\Hangman Solution
OutputBaseFilename=Setup
SetupIconFile=C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\HangmanIcon1.ico
Password=HG-1234567
Encryption=yes
Compression=lzma
SolidCompression=yes
WizardImageFile=C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\banner.bmp
UninstallDisplayIcon={app}\uninstall.ico
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\bin\Hangman Project.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\banner.bmp"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\bannerblank.bmp"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\Hangman Project\LicenseAgree.rtf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\HangmanIcon1.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\ReadMe.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Hangman Solution\Hangman Solution\uninstall.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: C:\Documents and Settings\Owner\Desktop\Hangman Solution\dotnetredist.exe; DestDir: {tmp}; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[INI]
Filename: "{app}\Hangman Project.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://JCPVisualBasic.tripod.com"
[Icons]
Name: "{group}\Hangman Game"; Filename: "{app}\Hangman Project.exe"
Name: "{group}\{cm:ProgramOnTheWeb,Hangman Game}"; Filename: "{app}\Hangman Project.url"
Name: "{group}\{cm:UninstallProgram,Hangman Game}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\Hangman Game"; Filename: "{app}\Hangman Project.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Hangman Game"; Filename: "{app}\Hangman Project.exe"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\Hangman Project.exe"; Description: "{cm:LaunchProgram,Hangman Game}"; Flags: nowait postinstall skipifsilent
Filename: {tmp}\dotnetredist.exe; Parameters:"/q:a/c:""install/l/q""";
[UninstallDelete]
Type: files; Name: "{app}\Hangman Project.url"
Anyone there?
does anyone know why the icons are not setup for desktop and program files and why the setup icon and uninstall are the same when i specified them not to be,
thanks
I looked at your script and it looks ok to me. I am not sure why its not working for you.
What icon is showing up in the add/remove programs?
ah the setup icon, weird cause we setup the uninstall as something different. Also my program icon and desktop icon are just the exe icon file, anyway to fix that.
thanks