Re: [Unattended] howto trash xp - SUCCESS
On Tue, 2005-02-15 at 17:13 +, Hugo Monteiro wrote: > Hello, > > I'd like to know if there's a simple way of trashing a prefectly good > installation of XP, in such a way that in the next boot, if the client > is configured to boot from the lan, it starts a brand new unattended > install. > > Thanks in advance, > > Hugo Monteiro. > > After trying many approaches, some kindly sugested by some on this list and about to quit, i should say, in a last type-of-joke-effort i googled for "dd windows" and i was amazed. Right in front of my eyes there was "dd for windows" kindly provided by John Newbigin, the same author of explore2fs, rawwrite, etc. (http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm) There was still the not so remote possibility that XP would prevent me from writting to the disk. Even so i decided to give it a try. Got a brand new disk, and with linux (used sysresccd, but tomsrtbt is always a good choice too) and i made a backup of the disk mbr with dd if=/dev/hda of=mbr.img bs=512 count=1 In case you don't have a brand new disk, just zero the mbr before backup it up with dd if=/dev/zero of=/dev/hda bs=512 count=1 So now i had a clean mbr. I got "dd for windows" and unpacked it in Z: \bin\ (where all the other unattended dos binaries live). Also copied the earlier mbr backup to Z:\packages\. I booted up windows, mounted the net share, and issued z:\bin\dd.exe if=z:\packages\mbr.img of=\\?\Device\Harddisk0\Partition0 bs=512k count=1 as sugested by the dd on-line documentation. To my surprise i saw the same 1+0 records in 1+0 records out that i was used to see in linux. I then rebooted the machine, and it started automatically re-installing. my reinstall.bat now looks like this @Echo off todo.pl .reboot todo.pl "z:\bin\dd.exe if=z:\packages\mbr.img of=\\?\Device\Harddisk0 \Partition0 bs=512k count=1" Have fun! =) -- --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info
[Unattended] Acrobat Reader 7/FEAD optimizer/Installshield (was: Re: Problem with Adobe...)
On Mon, 21 Feb, 2005 at 18:02:50 +0100, Moritz Engel wrote: > The new adobe installer seems to be splitted in two parts. First > "netopsystems" and a second one. The second one (looks like an msi) goes in > background and todo.pl tries to install next package. > I dont know how to fix this, but Peter wrote: > > You need to prepare install package with something like start /wait > > AdbeRdr70_enu_full.exe /V"/A ""Adobe Reader 7.0.msi"" > > TARGETDIR=%TEMP%\acroread /l*v %TEMP%\acroread7.log" > > which make administrative installation point, place msi package and > > related files/directories to network share from where you can It seems that my info was not quite correct but now I provide you more info. What is curious is quoting when we use one liner script. There are more possibilities: @set EXTRACTDIR=c:\some acro temp dir with spaces in its name @set TARGETDIR=c:\some acro adminpoint dir with spaces in its name @set INSTALLDIR=c:\some acro installation dir with spaces in its name @rem directory LOGDIR must exist @set LOGDIR=c:\some acro log dir with spaces in its name @mkdir "%LOGDIR%" 2>nul @set LOGNAME=some acro log file with spaces in its name.log @set MSTDIR=c:\some acro dir with mst file with spaces in its name @set MSTNAME=some acro mst file with spaces in its name.mst @rem workaround when instalshield part of installer has problem with finding @rem installation files if we supply -nos_o switch to Netopsystems FEAD @rem optimizer and receive error 1155 from installshield - mostly we dont @rem want acrobat exracted files to ocupy @rem %ProgramFiles%\Adobe\Acrobat 7.0\Setup Files" directory @set ProgramFiles=%EXTRACTDIR% @rem uncomment next line if you would like normal installation without loging @rem AdbeRdr70_enu_full.exe /w /v"/qb" @rem uncomment next line if you would like normal installation to %INSTALLDIR% without transformation file @rem AdbeRdr70_enu_full.exe /w /v"/qb /l*v \\\"%LOGDIR%\\\%LOGNAME%\\\" INSTALLDIR=\\\"%INSTALLDIR%\\\"" @rem uncomment next line if you would like normal installation to %INSTALLDIR% with transformation file @rem AdbeRdr70_enu_full.exe /w /v"/qb /l*v \\\"%LOGDIR%\\\%LOGNAME%\\\" TRANSFORMS=\\\"%MSTDIR%\\\%MSTNAME%\\\" INSTALLDIR=\\\"%INSTALLDIR%\\\"" @rem uncomment next line if you would like generic administrative installation to TARGETDIR @rem AdbeRdr70_enu_full.exe /w /a /v"/qb /l*v \\\"%LOGDIR%\\\%LOGNAME%\\\" TARGETDIR=\\\"%TARGETDIR%\\\"" @rem uncomment next line if you would like administrative installation with transformation file @rem AdbeRdr70_enu_full.exe /w /a /v"/qb /l*v \\\"%LOGDIR%\\\%LOGNAME%\\\" TRANSFORMS=\\\"%MSTDIR%\\\%MSTNAME%\\\" TARGETDIR=\\\"%TARGETDIR%\\\"" @rem uncomment next line if you would like uninstall package @rem AdbeRdr70_enu_full.exe /s /x /v/qn @rem and another installation splitted in two parts: @rem Netopsystems FEAD Optimizer command line usage @rem http://www.sfsu.edu/ftp/win/antivirus/VSE710_InstallGuide.pdf @rem The syntax is: setup.exe [...] @rem The switches are defined as: = | @rem -nos_ne No execution. Extracts the setup files from the SETUP.EXE, but @rem does not execute the SETUP.EXE or delete the setup files. @rem -nos_nd No delete. Do not delete the setup files after executing the @rem SETUP.EXE. If the -nos_-ne switch is also present, the -nos_-nd switch @rem is overridden. @rem -nos_d Delete. Deletes the setup files after executing the SETUP.EXE. @rem If the -nos_-ne switch is also present, the -nos_-d switch is overridden. @rem -nos_s Silent mode. Installs the setup files in silent mode. (Installs @rem automatically when using /s, /S, -s, -S, /q, /Q, -q, -Q). @rem -nos_o"" Output folder. The folder to which you want to extract @rem the setup files @rem must not exist, otherwise extracting in another dir !!! @rem If you do not specify the output path, the files are extracted to the user @rem profile's "Temp" folder @rem extract instalshield install files @rem AdbeRdr70_enu_full.exe /S -nos_nd -nos_ne -nos_o"%EXTRACTDIR%" @rem installshield @rem http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q105473 @rem http://helpnet.installshield.com/robo/projects/InstallShieldxhelplib/IHelpSetup_EXECmdLine.htm @rem /v Passes parameters to MSI package, for ex. /v"/l*v \"c:\c c.log\"" @rem (should be last switch in command) @rem /s Causes setup.exe to be silent, doesn't work with /a switch @rem /l Specifies the setup language, for ex. /l"1051" for Slovak @rem see http://helpnet.installshield.com/robo/projects/InstallShieldxhelplib/IHelpGlobLangIdentifiers.htm @rem /a Performs administrative installation. @rem /x Performs setup uninstall. @rem /f Launches setup in repair mode. @rem /w Setup.exe waits for the installation to finish before exiting. @rem normal installation with verbose loging @rem "%EXTRACTDIR%\setup.exe" /w /v"/qb /l*v \"%LOGDIR%\%LOGNAME%\"" @rem uninstall @rem "%EXTRACTDIR%\setup.exe" /s /x /v/qn :en
RE: [Unattended] File copy fails
Heather / Tony: A quick look through the MS KB gets me this article: http://support.microsoft.com/default.aspx?scid=kb;en-us;884675 Does this look like the same problem? I have been able to install from my unattended without problem so I haven't seen the error. Also, these seem to be related to SP installations but may give you some hints ... Don -Original Message- From: Heather Coors [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 1:56 PM To: unattended-info@lists.sourceforge.net Subject: RE: [Unattended] File copy fails If anyone else has any suggestions or a fix please let me know as well. Thanks Heather Tue, 22 Feb 2005 14:32:51 -0800 Tony, I just started using Unattended last week. I was able to get my first workstation up and running with no problems. Then I tried my second workstation and bam I got the atapi.sys unable to copy error as well. I saw you posted on the mailing list you had that issue. Were you able to get it resolved? Thanks --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info
RE: [Unattended] File copy fails
If anyone else has any suggestions or a fix please let me know as well. Thanks Heather Tue, 22 Feb 2005 14:32:51 -0800 Tony, I just started using Unattended last week. I was able to get my first workstation up and running with no problems. Then I tried my second workstation and bam I got the atapi.sys unable to copy error as well. I saw you posted on the mailing list you had that issue. Were you able to get it resolved? Thanks --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info
[Unattended] MindVision Installer Vise
To add to the documentation, Installer Vise from MindVision now supports recording and playback of answer files (a la Installshield) as of version 3.6. Earlier versions support the -s switch for silent mode, but this switch has never worked for me. It probably requires the package creator to explicitly add silent support to the installer. According to page 20-2 of http://webvise.mindvision.com/pub/windows/InstallerVISEUserGuide.pdf the newer installers support the -p and -r switches. To record: %Z%\packages\app\setup.exe -r: somefile.ini To Playback: %Z%\packages\app\setup.exe -p: somefile.ini I've tested it succesfully with Word Munchers Deluxe from PCI Education. -- Daniel --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info
Re: [Unattended] Auto-Login before Perl is installed
Ziad O'Hanlon wrote: Hi, How is it possible to auto login as local administrator just as soon as windows is installed?? After the first manual logon Perl is installed and am able to use "autologon.pl"...but I don't know how before... Using Autologon in unattended?? Ziad O'Hanlon Hi Ziad, you will have to set this in your \\server\install\lib\unattend.txt, excerpt from my file: ... [GuiUnattended] ; See
[Unattended] Using csv
Title: Using csv Hi all, I have unattended up and running, with my unattend.txt in the site-folder. The only thing I still have to do is enter the computername manually. I'd like to use the unattend.csv to lookup the computername based on the macaddress. Can anyone tell me what steps I have to take after filling the .csv file with macaddresses and corresponding computernames, 'cause I can't seem to get it to work... I'd still like to keep the other info in my unattend.txt and only use the .csv for the computername. Thanks in advance. Regards, Johan Stevens De informatie verzonden via deze e-mail is enkel bestemd voor de geadresseerde. Ieder gebruik van deze informatie door een ander persoon dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is verboden. F. van Lanschot Bankiers Belgià N.V. garandeert noch de juiste en volledige overbrenging van de verzonden e-mail, noch de tijdige ontvangst ervan. The information contained in this e-mail is intended solely for the addressee. Any use of this information by another person is forbidden. Disclosing, copying, distributing or providing this information to third parties is forbidden. F. van Lanschot Bankiers Belgià N.V. does not guarantee either the correct and complete transmission of an e-mail sent, nor the timely receipt thereof.
[Unattended] Auto-Login before Perl is installed
Hi, How is it possible to auto login as local administrator just as soon as windows is installed?? After the first manual logon Perl is installed and am able to use "autologon.pl"...but I don't know how before... Using Autologon in unattended?? Ziad O'Hanlon --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info