Results 1 to 4 of 4

Thread: [RESOLVED] Installation Help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Resolved [RESOLVED] Installation Help

    I am trying to install a server on a host maching. It is a VistaDB Server, but I am not expecting brand specific information.

    I was just wondering if someone could help me interpret what the below text means. I understand point one and three. I am having a problem with point two. I am using INNO setup and am not sure how to accomplish line two using INNO.

    VB Code:
    1. Installing and running the Windows Server
    2. To install the VistaDB Server on the deployment machine, do the following:
    3.  
    4.  
    5.  
    6. 1. C:\Program Files\VistaDB 2.1\Server\2User\VistaDBServerService.exe  "/install /silent"
    7.  
    8. 2. C:\Windows\System32\net.exe  C:\Program Files\VistaDB 2.1\Server\2User start "VistaDB Server"
    9.  
    10. 3. C:\Program Files\VistaDB 2.1\Server\2User\ServerServiceManager.exe

    Thank you for your help.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Installation Help

    The 3 are evidently command lines that the installation package has to run. I've never used Inno, so I can't tell you how to write the script, but I can tell you that #2 says that C:\Windows\System32\net.exe is run with the argument 'C:\Program Files\VistaDB 2.1\Server\2User start "VistaDB Server"' (without the single tics, of course). (That's 3 arguments, actually, but net.exe doesn't seem to like the arguments.)
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

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

    Re: Installation Help

    In Inno use the [Run] Section to install any third party installations. Something like this:
    Code:
    [Run]
    Filename: {tmp}\VistaDBServerService.exe; Parameters:/install /silent; Flags: skipifdoesntexist; WorkingDir: {tmp}
    Filename: C:\Windows\System32\net.exe; Parameters:start VistaDB Server; Flags: skipifdoesntexist
    Filename: {tmp}\ServerServiceManager.exe; Flags: skipifdoesntexist; WorkingDir: {tmp}
    Of course you will need to include these files in your [Files] Section to be included in the original installation. Or you can include them seperately (files not in the [Files] section) and have Inno just run them from the original location or copy them to another location then run them.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    Re: Installation Help

    Thank you very much randem, that solved that problem. I didn't know how to set those parameters.

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