Silent Install of .EXE with specific variables.
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.
Answers (4)
Try running the EXE with the /? switch to see how to pass this information during setup.
Example: setup.exe /?
Comments:
-
I will try running it like that and see if it comes up...thanks. - 56kGhost 11 years ago
have you tried these variables?
http://www.itninja.com/software/microsoft/sql-server-2005-express-edition-msde/9-140
Comments:
-
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. - 56kGhost 11 years ago
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.
Comments:
-
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? - 56kGhost 11 years ago
-
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. - vjaneczko 11 years ago
-
Yeah True...I have been trying to work with them on it, it is just they aren't super helpful. - 56kGhost 11 years ago