Announcement

Collapse
No announcement yet.

Inno Install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inno Install

    Inno question.
    How do you install a program icon that will have the properties >
    compatibility > box checked that says:
    run this program in compatibility mode for
    Windows XP (service Pack 2) ?

  • #2
    Maybe you should ask in an Inno Setup forum?

    eg Server:news.jrsoftware.org; group: jrsoftware.innosetup
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Google found this Inno Setup Wiki - covers setting compatibility mode for an application..

      http://www.vincenzo.net/isxkb/index....atibility_mode
      Rgds, Dave

      Comment


      • #4
        Dave,

        Thanks! It works in Windows Vista. Problem now is if user doesn't check box to install a desktop icon. I could change that so that box is already checked, but they could still uncheck it.

        I notice that the icon that is created, it not the one I want for the program. Can't figure out how to assign a specific icon as default for a program shortcut?

        Comment


        • #5
          >Can't figure out how to assign a specific icon as default for a program shortcut?

          Now that I KNOW is covered either in the ISKB or the newsgroup archives. It's a very common question in the referenced newsgroup. (It's actually in the I/S help file in the [icons] section).

          But I have sixty-two cents says you could find the answer via Google(r) too.

          MCM
          Michael Mattias
          Tal Systems Inc. (retired)
          Racine WI USA
          [email protected]
          http://www.talsystems.com

          Comment


          • #6
            Brent, do you have a resource file in the program that is to be run with a line (preferably top line of icons/bitmaps)
            as PROGRAM ICON NameOfIconWanted.ico ?
            Last edited by Fred Buffington; 6 Jan 2009, 11:23 AM.
            Client Writeup for the CPA

            buffs.proboards2.com

            Links Page

            Comment


            • #7
              Fred,

              I do have a resource file.

              BITMAP3 BITMAP "PORTRAT.BMP"
              BITMAP4 BITMAP "LANDSCP.BMP"
              ICON3 ICON "ADDRESSICO3.ICO"
              ICON2 ICON "ADDRESSICO1.ICO"

              I just added ICON3, but my .exe file shows picture of ICON2?

              Comment


              • #8
                Code:
                ICON3 ICON "ADDRESSICO3.ICO"
                ICON2 ICON "ADDRESSICO1.ICO"
                I just added ICON3, but my .exe file shows picture of ICON2?
                The "first" icon is determined by ID (alpha or numeric sort), not ordinal position
                Michael Mattias
                Tal Systems Inc. (retired)
                Racine WI USA
                [email protected]
                http://www.talsystems.com

                Comment


                • #9
                  Thanks MM for clearing that up.
                  Client Writeup for the CPA

                  buffs.proboards2.com

                  Links Page

                  Comment


                  • #10
                    Inno setup Wiki changes compatiblity for WindowsXP, but what about Windows 98? Need some kind of logic to tell installer not to register if Windows 98, only if Windows Vista?

                    Comment


                    • #11
                      Need some kind of logic to tell installer not to register if Windows 98, only if Windows Vista?
                      See 'OnlyBelowVersion' and 'MinVersion' in (imagine!) THE INNO SETUP HELP FILE.

                      Or... you could ask this same question in an Inno Setup newsgroup, but that would get you only a (well-deserved) since I/S users are a bit more touchy about this than are members here.
                      Michael Mattias
                      Tal Systems Inc. (retired)
                      Racine WI USA
                      [email protected]
                      http://www.talsystems.com

                      Comment


                      • #12
                        or if PB for that matter....why use a setup if you can do it yourself???

                        Setups are fine if you want your files set somewhere, but why rely on anyone else when a few lines of code your could do it yourself???

                        (Remember...your mother does not live here, and you are responsible for your own mess" sort of attitude)
                        Engineer's Motto: If it aint broke take it apart and fix it

                        "If at 1st you don't succeed... call it version 1.0"

                        "Half of Programming is coding"....."The other 90% is DEBUGGING"

                        "Document my code????" .... "WHYYY??? do you think they call it CODE? "

                        Comment


                        • #13
                          why use a setup if you can do it yourself??? ....a few lines of code your could do it yourself???
                          Um, some of us have found it more than a few lines of code to write a five- or six-screen "wizard" to solicit info from the installing user.

                          Last year I wrote a six-screen wizard application.

                          Took me four days.

                          Source code: 2817 lines *.bas plus 256 lines *.rc. And that's JUST the dialog code, because it was written as a DLL containing ONLY the wizard-related functions.
                          Michael Mattias
                          Tal Systems Inc. (retired)
                          Racine WI USA
                          [email protected]
                          http://www.talsystems.com

                          Comment


                          • #14
                            Tried installing my program to Windows 98 today. It worked, even though ValueData: WINXPSP2?

                            Code:
                            [Registry]
                            Root: HKCU; Subkey: Software\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers; ValueType: String; ValueName: {app}\PocketAddBook.exe; ValueData: WINXPSP2; Flags: Uninsdeletekey
                            To install a certain icon for your program, just add "IconFileName: {app}\youriconname" as below
                            Code:
                            Name: {userdesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon; WorkingDir: {app}; IconFileName: {app}\ADDRESSICO3.ICO
                            Hope this does not foul up computer's register key?

                            Comment


                            • #15
                              I'd guess that compatibility mode key will just be ignored on Win/98.

                              But that's where you SHOULD have used the "MinVersion" setting I looked up for you to ONLY write that key if running on Vista.
                              Michael Mattias
                              Tal Systems Inc. (retired)
                              Racine WI USA
                              [email protected]
                              http://www.talsystems.com

                              Comment

                              Working...
                              X