Scripting Question

Silent Install of .EXE with specific variables.

08/11/2013 4517 views

Here is the issue I have run into, I am working on creating a silent install for an EXE package that will need fairly specfic defined variables. Those variables are as follows.

1) EXE will require a server name (which will always be the local computer name).

2) EXE will require DBA user name (Which will be the same user name every time).

3) EXE will require a password for the above DBA name (Which I would like the user to still have to enter during the install).

4) The EXE will request type of server which will be selected as SQL Server and then the local machine name will have to be entered yet again.

5) The local machine's MAC address will then have to be entered.

...this goes on but just for starters, figured I would start with the above. Any help would be greatly appreciated.


0 Comments   [ + ] Show comments


All Answers


Try running the EXE with the /? switch to see how to pass this information during setup.

Example: setup.exe /?

Answered 08/12/2013 by: krisc4
Second Degree Blue Belt

  • I will try running it like that and see if it comes up...thanks.

  • Hey, I can get the SQL server 2005 stuff to script out okay its some other software we have that I have the issue with like pulling the DBA name and MAC from local machine into the install since the exe requires that....mostly that is what i am having issues scripting. How to script local mac and local workstation name.

You can create a record file for this exe or there would be some mechanism maybe through ini file from which it can take input. Depends on the package you are working on.

Answered 08/16/2013 by: piyushnasa
Red Belt


What EXE are you running?  There isn't a standardized method the world follow for creating EXEs to be silent so you may have to recapture the installation.

Answered 08/15/2013 by: vjaneczko
9th Degree Black Belt

  • It is a custom EXE, I am new to capture/recapture of an EXE, the EXE also has variables in which are required to be entered such as computer name and mac address so I am not sure how or what I would use to capture an exe to create a silent form with such variables...is that even possible?
  • If it's a custom EXE, you'll have to contact the person that created it for assistance - we can't guess what they did or did not include in their logic. For a capture, you'll look to AdminStudio, or MSI Studio or any of the other packaging programs.
  • Yeah True...I have been trying to work with them on it, it is just they aren't super helpful.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ