Toon posts:

[W2K] Automatische Installatie Programma's

Pagina: 1
Acties:
  • 459 views sinds 30-01-2008
  • Reageer

Verwijderd

Topicstarter
Het is nu zo dat ik een unattended installatie heb van Windows 2000.
Nu zou ik graag willen dat wanneer je de eerste keer inlogd, hij een aantal programma's gaat installeren. Het gaat bijv. om SP4, Office 2000, Acrobat Reader 6 en Winzip.

In praktijk zouden die installaties van die programma's ook automatisch moeten lopen (zonder tussenkomst van de gebruiker). Zelf denk ik dat ik .MSI pakketen moet maken....

Ik heb al op GOT gezocht, maar helaas zonder resultaat.
Zouden jullie mij kunnen helpen?

[ Voor 15% gewijzigd door Verwijderd op 23-04-2004 10:31 ]


Verwijderd

je kan in je CMLINES.TXT een aantal excecutables meenemen bijvoorbeeld hotfixes en patches van microsoft. maar ook een registry key waarin je aangeeft dat de server automatisch moet inloggen tijdens de eerste keer booten en dan geef je in je runonce key aan dat ie een script moet starten en vanuit dat script roep je je applicaties aan die geinstalleerd moeten worden. De meeste applicaties kun je via de command line unattended installeren anders zou je bijvoorbeeld met send-keys kunnen werken.

Verwijderd

Topicstarter
Verwijderd schreef op 23 april 2004 @ 10:39:
je kan in je CMLINES.TXT een aantal excecutables meenemen bijvoorbeeld hotfixes en patches van microsoft.
Maar leest Windows dit bestand dan uit, als hij inlogd....
Verwijderd schreef op 23 april 2004 @ 10:39:
maar ook een registry key waarin je aangeeft dat de server automatisch moet inloggen tijdens de eerste keer booten en dan geef je in je runonce key aan dat ie een script moet starten en vanuit dat script roep je je applicaties aan die geinstalleerd moeten worden.
Ik gebruik een netwerk bootdisk en daarmee kan ik ook aangeven dat hij een programma/script moet uitvoeren nadat hij de eerste keer inlogd. Dus dat is eigenlijk geen probleem.
Verwijderd schreef op 23 april 2004 @ 10:39:
De meeste applicaties kun je via de command line unattended installeren anders zou je bijvoorbeeld met send-keys kunnen werken.
Van Microsoft pakketten weet ik dat het unattended kan.... maar van andere pakketten wist ik het niet.

Verwijderd

CMDLINES.TXT voert windows tijdens de laatste fase van de unattended setup uit wanneer je op het scherm ziet "Saving registry" en "Saving Settings" en dergelijke.

Inderdaad kan je ook in je unatteded file aangeven dat hij automatisch moet aanloggen de eerste keer.

Verwijderd

Topicstarter
Verwijderd schreef op 23 april 2004 @ 10:53:
CMDLINES.TXT voert windows tijdens de laatste fase van de unattended setup uit wanneer je op het scherm ziet "Saving registry" en "Saving Settings" en dergelijke.
Ik heb effe op die PC gezocht naar dat bestandje maar die kan dat helemaal niet vinden. Moet je dat bestand zelf maken? Zoja waar moet je hem dan neerzetten.

  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Verwijderd schreef op 23 april 2004 @ 11:03:
[...]
Ik heb effe op die PC gezocht naar dat bestandje maar die kan dat helemaal niet vinden. Moet je dat bestand zelf maken? Zoja waar moet je hem dan neerzetten.
Een beetje inzet wordt gewaardeerd:

[google=CMDLINES.TXT] :)

Succes ermee!

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


Verwijderd

ja zelf even aanmaken en plaatsen rechtsreeks in je $OEM$ directory

Verwijderd

Topicstarter
Ik ben even aan het rond neuzen geweest, en ik zag dat dit programma: XPlode deze programma's allemaal automatisch installeerd.

Heeft er iemand ervaring mee.....

Verwijderd

dit lijkt mij gewoon een GUI om wat dingen aan te passen. Je kan beter gewoon alles Scripten met VBS of KIX. en van de installatie pakketen die je niet unattended kan installeren via de command line maak je dan een MSI of Wise pakket van. of je maakt een vbs script met send keys..... of voor send keys kan je ook AutoIt gebruiken...

Verwijderd

Topicstarter
Ik heb weer wat rond geneuseld, en daaruit ben ik op 2 manieren gestuit om programma's automatische te installaren (er zijn wel meer manieren, maar deze 2 spraken mij meer aan). Namelijk via VBS scripting (met msi pakketten) of via RunOnceEx.

Ik zou graag jullie bevindingen willen horen en voor welke methode jullie zouden gaan....

Verwijderd

Topicstarter
Ik hoorde ook van iemand dat er een programma bestaat waar je laat zien wat de muis allemaal moet doen en deze dan in het installatie bestand opslaat. Zodat wanneer de installatie begint de computer weet welke bewegingen / klikken de muis allemaal moet doen.....

  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

Als je via een scripted install of via MSI kan werken heeft dat natuurlijk de voorkeur boven een mouse-capture installatie methode.

Maar wat houd je tegen om gewoon eens aan de slag te gaan - bijvoorbeeld "WinZip" is echt kinderlijk eenvouding automatisch te installeren dus dat kan niet fout gaan. Vervolgens moet het met bijvoorbeeld Office2000 ook wel lukken na wat proberen :)

  • Outerspace
  • Registratie: Februari 2002
  • Nu online

Outerspace

Moderator General Chat / Wonen & Mobiliteit

AFX Ghey Edition by HlpDsK

zoals ik ook al in dit topic zei:
Ja dat kan:

Does CardWizard support an unattended installation :?

Yes, CardWizard supports an unattended installation. (also known as a silent install ). In order to run an unattended install, the following changes must be made to the cwksoem.ini file.

• Update DefMachine to either GENERIC or your specific platform name from the ones available.
• Set License to 0
• To run the unattended install, type setup -s.

Bron: http://www.systemsoft.com...t-cardwizard-faqs-ans.htm

offtopic:
mag ik er op wijzen dat je al een topic hebt lopen: [rml][ W2K] Automatische Installatie Programma's[/rml]/
Ik zelf heb er geen ervaring mee hoe het werkt. Probeer het uit zou ik zeggen ;)
Verder hier nog wat info!
Verwijderd schreef op 15 augustus 2001 @ 11:05:
Running Setup in Unattended Setup Mode
By using an answer file, network administrators and experienced users can perform a new installation in unattended Setup mode. In unattended Setup mode, no user intervention is required during Setup because the answer file contains all of the information that Setup requires, including acceptance of the license agreement, computer name, and network adapter. Answer files can help you quickly install Windows 2000 on multiple computers.

A sample answer file, Unattend.txt, is included in the I386 folder on the Windows 2000 Professional CD. Using the file as a template, you can create your own answer file to customize Setup. For detailed information about creating an answer file, see the information on deployment in the Windows 2000 Professional Resource Kit.

To run unattended Setup in Windows 95, Windows 98, Windows NT 3.51, or Windows NT 4.0, start Winnt32.exe by using either the /unattend[num]:[answer_file] option or the /unattend option.

For more information, see Winnt32.exe Command Syntax, earlier in this chapter.

----------------

Info is te vinden op:

http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/WINDOWS2000/en/server/help/starting_windows_2000_setup_from_the_network.htm


Winnt32.exe Command Syntax
Running Winnt32.exe installs or upgrades Windows 2000. You can run the Winnt32 command at a Windows 95, Windows 98, or Windows NT command prompt.

The syntax of the Winnt32 command is as follows:

winnt32 [/s:sourcepath] [/tempdrive:drive_letter]
[/unattend[num]:[answer_file]] [/copydir:folder_name]
[/copysource:folder_name] [/cmd:command_line]
[/debug[level]:[filename]] [/udf:id[,UDF_file]]
[/syspart:drive_letter] [/checkupgradeonly]
[/cmdcons] [/m:folder_name] [makelocalsource]
[/noreboot]

where:

/s:sourcepath
Specifies the source location of the Windows 2000 files. To simultaneously copy files from multiple servers, specify multiple /s sources. If you use multiple /s switches, the first specified server must be available or Setup fails.

/tempdrive:drive_letter
Directs Setup to place temporary files on the specified partition and to install Windows 2000 on that partition.

/unattend
Upgrades your previous version of Windows 2000, Windows NT 4.0, Windows NT 3.51, Windows 95, or Windows 98 in unattended Setup mode. All user settings are taken from the previous installation, so no user intervention is required during Setup. Using the /unattend switch to automate Setup affirms that you have read and accepted the Microsoft License Agreement for Windows 2000. Before using this switch to install Windows 2000 on behalf of an organization other than your own, you must confirm that the end user (whether an individual, or a single entity) has received, read and accepted the terms of the Windows 2000 Microsoft License Agreement. OEMs may not specify this key on machines being sold to end users.

/unattend[num]:[answer_file]
Performs a fresh installation in unattended Setup mode. The answer file provides Setup with your custom specifications. Num is the number of seconds between the time that Setup finishes copying the files and when it restarts your computer. You can use num on any computer running Windows NT or Windows 2000. Answer_file is the name of the answer file.

/copydir:folder_name
Creates an aPitional folder within the folder in which the Windows 2000 files are installed. For example, if the source folder contains a folder called Private_drivers that has modifications just for your site, you can type /copydir:Private_drivers to instruct Setup to copy that folder to your installed Windows 2000 folder. So then the new folder location would be C:\Winnt\Private_drivers. You can use /copydir to create as many aPitional folders as you want.

/copysource:folder_name
Creates a temporary aPitional folder within the folder in which the Windows 2000 files are installed. For example, if the source folder contains a folder called Private_drivers that has modifications just for your site, you can type /copysource:Private_drivers to have Setup copy that folder to your installed Windows 2000 folder and use its files during Setup. So then the temporary folder location would be C:\Winnt\Private_drivers. Unlike the folders /copydir creates, /copysource folders are deleted after Setup completes.

/cmd:command_line
Instructs Setup to carry out a specific command before the final phase of Setup. This occurs after your computer has restarted twice and after Setup has collected the necessary configuration information, but before Setup is complete.

/debug[level]:[filename]
Creates a debug log at the level specified, for example, /debug4:C:\Win2000.log. The default log file is C:\%windir%\Winnt32.log, with the debug level set to 2. The log levels are as follows: 0-severe errors, 1-errors, 2-warnings, 3-information, and 4-detailed information for debugging. Each level includes the levels below it.

/udf:id[,UDF_file]
Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file (see the /unattend entry). The UDF overrides values in the answer file, and the identifier determines which values in the UDF are used. For example, /udf:RAS_user,Our_company.udb overrides settings specified for the RAS_user identifier in the Our_company.udb file. If no UDF_file is specified, Setup prompts the user to insert a disk that contains the $Unique$.udb file.

/syspart:drive_letter
Specifies that you can copy Setup startup files to a hard disk, mark the disk as active, and then install the disk into another computer. When you start that computer, it automatically starts with the next phase of the Setup. You must always use the /tempdrive parameter with the /syspart parameter.

/checkupgradeonly
Checks your computer for upgrade compatibility with Windows 2000. For Windows 95 or Windows 98 upgrades, Setup creates a report named Upgrade.txt in the Windows installation folder. For Windows NT 3.51 or 4.0 upgrades, it saves the report to the Winnt32.log in the installation folder.

/cmdcons
APs to the operating system selection screen a Recovery Console option for repairing a failed installation. It is only used post-Setup.

/m:folder_name
Specifies that Setup copies replacement files from an alternate location. Instructs Setup to look in the alternate location first and if files are present, use them instead of the files from the default location.

/makelocalsource
Instructs Setup to copy all installation source files to your local hard disk. Use /makelocalsource when installing from a CD to provide installation files when the CD is not available later in the installation.

/noreboot
Instructs Setup to not restart the computer after the file copy phase of Winnt32 is completed so that you can execute another command.
navyseal44 schreef op 16 augustus 2001 @ 14:23:
OK probleem eindelijk opgelost.
Voor diegenen die ook tegen zoiets aanlopen:
Bij Microsoft alle IDE PNP IDs downloaden in *.reg file, mergen in registry. Daarna originele!!!! drivers installeren (Dus niet van Dell/compaq of whatever maar intel ofzo) en daarna (Als je SP-1/2 hebt atapi.sys vervangen door de originele van W2k zonder servidepack.)
Veel plezier als je ertegen aan loopt :?
nu hopen dat je er uit komt!
nog een linkje : AUB
http://support.microsoft....spx?scid=KB;en-us;q202946
http://www.microsoft.com/...oy/w2koffice/depintro.asp

[ Voor 8% gewijzigd door Outerspace op 27-04-2004 12:51 ]

Wauw, een sig!


Verwijderd

Topicstarter
Ik ben effe bezig geweest om te scripten met VBS, maar ik ben zo'n n00b in programmeren dus dat gaat niets worden denk ik.

Even over die CardWizard, je kan hem alleen kopen en geen demo downloaden. Het is zo dat ik dit voor een organisatie wil gaan gebruiken en die gaan er dus niet voor betalen. Dus het zal een freeware/shareware programmatje moeten zijn die een setup file kan maken voor die automatische installatie zonder tussenkomst van de gebruiker.

Je hebt ook nog een lang stuk staan over een unattended installatie van windows. Dat was overbodig (maakt voor de rest niets uit), want ik heb al een goede unattended installatie van windows.

Verwijderd

Topicstarter
Ik heb vandaag wat gespeeld met Installshield. Dit programma vind ik wel heel fijn werken. Ik heb inmiddels Acrobat Reader al helemaal automatisch gemaakt, maar overige programma's zoals Winzip en IE6 lukken mij totaal niet (er komen nog steeds vensters waar ik op volgende moet klikken).
Weet jullie misschien hoe ik dit kan oplossen, of kan het gewoon niet, zodat ik iets anders moet proberen?

  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

Voor WinZip - lees dit eens door: http://www.winzip.com/xsiteins.htm - zo heb je ook tools voor IE (IEAK) :)

Verwijderd

Topicstarter
Ik heb nu geprobeerd met Wise Package Studio en dat werkt echt wel lekker.....
Heb wel het een en ander uit moeten zoeken, maar nu lukt het me om een volledig automatische install te maken van een programma.

Het is zo dat dit programma een snapshot maakt van je PC en kijkt welke bestanden en register keys opstaan. Je doet dan een installatie met dit programma's waarna hij weer gaat kijken welke bestanden/welke register keys er bij zijn gekomen/gewijzigd. Deze bestanden zet hij in een installatie file (.MSI) en dit kun je gewoon runnen. En je hebt in 1 keer een vol automatische installatie.

Ik wil iedereen effe bedanken die mij heeft geholpen _/-\o_
Pagina: 1