Results 1 to 8 of 8

Thread: Inno dll and prerequisite script

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Inno dll and prerequisite script

    I have my inno script installing the App's exe but my
    application also requires the following dlls are installed:

    AxInterop.MSChartLib.dll
    Interop.MSChartLib.dll

    And MSChart.exe as a prerequisite.

    How do I go about doing this, thanks.

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Inno dll and prerequisite script

    You can simply add them within your setup. There are no special things you need to do. You do it the same way you install your .exe.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Inno dll and prerequisite script

    Quote Originally Posted by Radjesh Klauke View Post
    You can simply add them within your setup. There are no special things you need to do. You do it the same way you install your .exe.
    When I do this MSChart.exe and my application launch at the same time. The MSChart needs to be run first and when it has finished then my application can be launched. How do I script this?

  4. #4
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Inno dll and prerequisite script

    Why do you need MSChart to run? I thought that you only needed to install it. Isn't there somekind of dll /ocx you need to deploy?
    Never used it btw, so I'm not sure.
    Last edited by Radjesh Klauke; Jul 14th, 2010 at 05:28 AM.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Inno dll and prerequisite script

    Quote Originally Posted by Radjesh Klauke View Post
    Why do you need MSChart to run? I thought that you only needed to install it. Isn't there somekind of dll /ocx you need to deploy?
    Never used it btw, so I'm not sure.
    My application uses MS Chart controls so need MSChart to be installed on the users computer before my .NET 3.5 application will run. The installation is carried out by running a MS supplied download called MSChart.exe. This program needs to be loaded onto the user computer then run. The user follows the MS chart install instructions then my application will run. What inno script do I need to load and run the MSChart.exe first before the inno script launches my application at the end of the inno install script. I am not worrying about the dlls at the moment because I just want the MSChart to install first. Thanks.

  6. #6
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Inno dll and prerequisite script

    You are asking that the MSChart.exe should be running during your own app... But I hope I understand it now. Otherwise I advice you to go and ask your question on the newsgroups of innosetup, or try ISTools.

    Something like:

    [RUN]
    Filename: "MSChart.exe"; Parameters: "/i ""{tmp}\MSChart.exe"""; StatusMsg: Install MSChart.exe; Flags: postinstall unchecked

    another example of an MSI-installation: http://www.jrsoftware.org/iskb.php?msi or http://www.jrsoftware.org/iskb.php?custom
    Last edited by Radjesh Klauke; Jul 14th, 2010 at 06:30 AM.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Inno dll and prerequisite script

    Quote Originally Posted by Radjesh Klauke View Post
    You are asking that the MSChart.exe should be running during your own app... But I hope I understand it now.
    No. I am sorry for misleading you. I want MSChart.exe to run first. Then when MSChart.exe has finished then I want my application to start.

  8. #8
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Inno dll and prerequisite script

    What??!!! Now you are telling me again the MSChart needs to run???
    Do you want to install it after the deployment, or something else?
    I'm really getting confused here.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

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