Jump to content

Multiple Winnt.sif for multiple sites


Recommended Posts

Hi All

I have been creating unattended installs for four different sites of computers that hold different printers and company information and slightly different clients.

So I have four winnt.sif files

Does anybody know method when booting from CD to select the right site that i want to deploy. This would save me carrying 4 different cd's or updating four different cd's.

Menu Showing

Site 1

Site 2

Site 3

Site 4

Once selected uses the correct wint.sif file for the unsttened installation.

Any help would be great.

Rich

Link to comment
Share on other sites

  • 3 weeks later...

Add your Site Names in Config.sys and on selecting any of the option it will be saved in %Config% variable and can be used then in Autoexec.bat to edit the contents of Winnt.sif. There are various utilities out on the web which can serach and replace the text in a file. OR alternatively you may create winnt.sif file on the fly based on the option selected. You will need four batch files (one for each site) which should be almost the same as your four Winnt.sif files but with following addition.

For each line in winnt.sif add Echo command before it and then pipe the Echoed line to a new Winnt.sif. For example:

Echo First line of your existing Winnt.sif>>Winnt.sif

Echo Second line of your existing Winnt.sif>>Winnt.sif

Echo Third line of your existing Winnt.sif>>Winnt.sif

.....so on

Save them as .bat files (one for each site) and call this batch file from autoexec.bat to create Winnt.sif on fly. Must enter the correct path for creating the Winnt.sif file when piping the echo command.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...