Results 1 to 6 of 6

Thread: Installing with Inno

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Installing with Inno

    Hi, I made a skin for an application not written by me, which contains a modified executable with different Fonts (I know people frown upon that here, but it's done with permission from the software creator) and a folder with all the skin images.

    These are the files I have:

    Original executable + original folder with images
    New executable + new folder with images

    I'd like to install it with Inno, but I have a few problems.

    1) The user has to specify the installation folder of the already installed application.
    2) Check if the executable is present in that folder and if it is the correct version.
    3) The user has to specify if the new skin needs to be installed or the original version.
    4) Depending on the selected option, place the new executable/Image folder in the installation folder. The executable should be overwitten. The original folder with images should be removed first or else there'll be a lot of unnecessary images in the folder.

    How can I do number 2, 3 and 4?
    I think I need to create a custom script for this, but I couldn't find what I need in the Inno Documentation.

    It should not be added to "Add / Remove Programs", because the application already has an uninstaller.

    If anybody can point me in the right direction, then that would be great.

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

    Re: Installing with Inno

    Yes, you need to create a custom script for what you want to do using the [Code] section.

    If you use the same AppID you will not need to:

    1 - Find the previous installation. Inno Setup will find it.
    2 - It will not add anything to the Add / Remove Programs.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Installing with Inno

    Thanks randem. How do I find out what the AppID is, because I didn't make the original installer?

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

    Re: Installing with Inno

    You don't have the original script? You would have set it there.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Installing with Inno

    No, unfortunately I don't have the script. The original installer was made by someone else with nsis and I'm using inno.

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

    Re: Installing with Inno

    Then you don't have an APPID so to speak, that is only for Inno Setup. For future threads you should be more explicit in what you currently have and what you want to achieve. It would help in the direction of the help.

    You can still do it but you will have to do the research on how that particular software is detected and where it was installed.

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