Results 1 to 14 of 14

Thread: Inno Setup Help

  1. #1

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Inno Setup Help

    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

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup 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.

  3. #3

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    okay thanks, hey do you know how to get the framework 1.0 redistribute to automatically install.

    thanks

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup Help

    in [files] section
    Source: c:\dotnetfx.exe; DestDir: {tmp}; Flags: ignoreversion
    in [run] section
    Filename: {tmp}\dotnetfx.exe; Parameters: "/q:a /c:""install /l /q""";
    I use .NET 1.1, but I am sure .NET 1.0 redist works exactly the same way

    append c:\dotnetfx.exe to the path where your copy of dotnetfx.exe is on your PC

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup Help

    im gonna move this to app deployment

  6. #6

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    awesome I really appreciate the help, take care

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  7. #7
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup Help

    no problem. INNO is still my favorite installer. I would use it anyday over the one built into .NET (until MS makes it better )

  8. #8

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    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

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  9. #9
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup Help

    can you post the contents of the .iss file? along with what version of INNO you are using? Then I will take a look

  10. #10

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    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: "compilerefault.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"
    Last edited by justinc911; Feb 14th, 2006 at 06:57 AM.

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  11. #11

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    Anyone there?

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  12. #12

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    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

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

  13. #13
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Inno Setup Help

    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?

  14. #14

    Thread Starter
    Addicted Member justinc911's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    233

    Re: Inno Setup Help

    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

    Using Visual Studio 2003 Professional Edition of Visual Basic .Net 2003 with .Net Framework 1.1

    VB Website

    When Nature has work to be done, she creates a genius to do it.


    "You are a great champion, when you ran the ground shook, the water rumbled and the sky opened, and mere mortals parted, parted the way to victory, where you'll meet me on the podium, where the gold will be glistening around my neck."


    What lies behind us and what lies before us are small matters compared to what lies within us.
    -Ralph Waldo Emerson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width