Results 1 to 27 of 27

Thread: Inno Setup questions

Hybrid View

  1. #1
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    Re: Inno Setup questions

    Quote Originally Posted by kleinma
    easy guys...

    jhermiz, if you didn't know, randem is a (if not the) developer of **********. Telling him his software is a piece of crap is not acceptable on here. As it looks bad for other forums members who may find it very useful...

    If there IS an issue with it, perhaps letting the author know would correct the problem, or provide you with assitance.. I mean its not every day a product can be supported on here because the writer is a forum member. Wouldn't you agree?

    Randem, take it easy man, although I understand your frustrations.

    as far as the issue at hand, I personally don't use **********, but I use the actual installation package INNO SETUP, because I write all my own scripts myself and know how to code pascal and such in the installer. But I DO KNOW, that when I uninstall apps using INNO it removes everything that I told it to when I installed it, including entries in the registry for add and remove programs. Most likely user error was what caused your problem jhermiz, sorry to say.

    Don't tell people INNO is not a professional installer, I use it on over 12 applications that go to thousands of users of our commercial software.
    sorry

    but i still have had no solution and woka and i have had this same issue for over a year.

    if i uninstall my app that was installed by inno it leaves it in the add / remove program settings as

    app
    app(1)
    app(2)

    its the same app...how come other installers do not do this, even IF i uninstall and reinstall them ???

    Just because i made some minor changes doesnt mean its a totally different app, could be just an upgrade, how does inno handle that ????

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2004
    Posts
    73

    Re: Inno Setup questions

    I tried the unins001.exe under the app folder, it works well and after the uninstallation, the new item under the add/remove programs disappeared. So i am wondering why the
    app
    app(1)
    app(2) happened for you. jhermiz?

    By now, generally saying. I feel the Inno script/setup is a good installation tool. the advantages are:
    1) only one .exe installation file , and the compression rate is good(it is 9.81M using VB P&D W, only 2.61M using Inno)
    2) the script make the installation more flexible.
    3) the friendly UI and perfect running efficience.
    ...

    Robert

  3. #3
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Inno Setup questions

    My suggestion is always Nullsoft Installer (NSIS). It is free like inno, there is a script generatring wizard for VB source. I found it to have many advantages over Inno, one of the most important ones is the ability to download files from the internet on the fly, so you can create those online installers which are under 100KB in size and download the files from the net. You can also download zip files and unzip them after download.

    One note when using NSIS, use the LZMA compressor, it has the best compression.

    Here is the code to use to download files:

    Code:
    Function DownloadFiles3
       NSISdl::download http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/vbrun60sp5.exe vbrun60sp5.exe
          Pop $R0 ;Get the return value
             StrCmp $R0 "success" +3
    FunctionEnd
    
    Function ConnectInternet
      Push $R0
    
        ClearErrors
        Dialer::AttemptConnect
        IfErrors noie3
    
        Pop $R0
        StrCmp $R0 "online" connected
          MessageBox MB_OK|MB_ICONSTOP "Cannot connect to the internet."
          Quit
    
        noie3:
    
        ; IE3 not installed
        MessageBox MB_OK|MB_ICONINFORMATION "Please connect to the internet now. Setup needs to download and install VB runtime libraries."
    
        connected:
      Pop $R0
    FunctionEnd
    then in your mainsection use:

    Code:
      IfFileExists "$SYSDIR\msvbvm60.dll" NoErrorMsg ErrorHere
       ErrorHere:
         Call ConnectInternet
         Call DownloadFilesNow
         Exec "$SYSDIR\vbrun60sp5.exe /Q"
       NoErrorMsg:
    this way you dont have to distribute the msvbvm60.dll which is 1MB.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Setup questions

    baja_yu,

    Just for the Record: Inno Has those tools also.

    And downloading msvbvm60.dll.... You still need to check the version of all files you intend to download even if they do exist to make sure you have the current one. If not the current one you will still need to download.

  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 questions

    Quote Originally Posted by jhermiz
    sorry

    but i still have had no solution and woka and i have had this same issue for over a year.

    if i uninstall my app that was installed by inno it leaves it in the add / remove program settings as

    app
    app(1)
    app(2)

    its the same app...how come other installers do not do this, even IF i uninstall and reinstall them ???

    Just because i made some minor changes doesnt mean its a totally different app, could be just an upgrade, how does inno handle that ????
    from what I have seen (in INNO itself, not **********) is this has to do with the value you set for the AppVerName setting, in the [setup] section

    if it varies from a previous AppVerName value, it will create a new entry if you install this new version, if it remained the same, it would overwrite the existing one and you would only have 1 entry. However, when you uninstall your app, it should remove this entry as well.

    So basically don't change your AppVerName value and you should be fine, unless you wouldn't want it to overwrite the existing add/remove entry

    (by the way this info is in the INNO help file)
    Last edited by kleinma; Dec 20th, 2004 at 01:16 AM.

  6. #6
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    Re: Inno Setup questions

    Quote Originally Posted by kleinma
    from what I have seen (in INNO itself, not **********) is this has to do with the value you set for the AppVerName setting, in the [setup] section

    if it varies from a previous AppVerName value, it will create a new entry if you install this new version, if it remained the same, it would overwrite the existing one and you would only have 1 entry. However, when you uninstall your app, it should remove this entry as well.

    So basically don't change your AppVerName value and you should be fine, unless you wouldn't want it to overwrite the existing add/remove entry

    (by the way this info is in the INNO help file)

    I never have changed the app version, and it has renamed the same throughout all my installs...

  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 questions

    Quote Originally Posted by jhermiz
    I never have changed the app version, and it has renamed the same throughout all my installs...
    I don't know what to tell you, if you wanted to post or PM me the setup script, then I would take a look at it. All I can say is I never had that problem, and I still don't have it.

    baja_yu, like randem said, not only does INNO have all the plugins like file downloading, encryption, etc... it supports fully functional code in it. You can even make API calls from INNO setup, install MDAC, .net framework, MSDE, etc...

  8. #8
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Inno Setup questions

    Then I stand corrected. It did not have them when I first needed them

  9. #9
    New Member
    Join Date
    Dec 2007
    Posts
    4

    Re: Inno Setup questions

    In inno setup I want embed a gif image into the wizard page.
    Can anybody please help.
    I can only see functions for bitmap files but i want a rotating image. so need gif file.

    Thanks in advance
    please reply....

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