Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Batch file help

  • 17-07-2008 3:33pm
    #1
    Registered Users, Registered Users 2 Posts: 1,099 ✭✭✭


    Hi Lads,
    Not sure if tis is the right place but I need some helkp with a batch.

    I m attempting to create a silent install of software call Monarch.

    Nopw nothing speciral about the software expcept it needs a unique user name enter during installation.

    I a hoping to use each PC s name as the user name during the install but
    to have the program pick up the computer name and enter it into the field.

    I ve written a batch file to lainch the program and run it silently and to user %COMPUTERNAME% to retrieve each PC's name but how to get that into the correct field is wrecking my head.

    Any help would be great.


Comments

  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    You need to consult the software maker / documentation on how to pass the computer name to them.. i.e. via command line switch / config file.. Once you know that then its quite easy. e.g. for command line it would be a simple as running the following in a batch file "install /computer_name=%COMPUTERNAME%"


  • Registered Users, Registered Users 2 Posts: 93 ✭✭Yarnhall


    Not sure if this is the same s/w
    http://www.monarchforums.com/showthread.php?t=276&highlight=install+silent

    But, It gives a good overview of the install shield app thats used alot and the answer files used (each line in a text file is the answer to each step in the install process), check the install shield site for using answer files.


  • Registered Users, Registered Users 2 Posts: 1,099 ✭✭✭Johnny Bitte


    Thanks for the link,
    Works up to a point.

    Unfortunaltetly it inputs %COMPUTERNAME% rather than the actual comptuer name.

    Still working on it.


Advertisement