Jump to content

stuffman

Member
  • Posts

    35
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by stuffman

  1. Hey everybody, Can anyone tell me how to disable the "Getting Started with Windows 2000" screen that pops up by default in Win2k? I'm trying to monitor what's going on behind this annoying thing but I have to close it manually. I'd like to disable it in the registry if possible. Thanks, Shawn P.S. I know I can uncheck the box, but I don't want it there at all. Thanks!
  2. Whoa, you were right. Diskpart does see CD drives. Thanks, that helps a lot! I've got all drive assignment handled through one script now! Shawn
  3. So what's the syntax for this util? Can you say setcddl x: d: to move it from x: to d:, or do use setcddl d: and it grabs whatever CD drive it finds and assigns it the d:\ drive letter? I tried using setcddl.exe /? but no luck. Thanks, Shawn
  4. Hey everybody, I'm looking for a way to script the reassignment of a drive letter for a cdrom (diskpart doesn't 'see' CD drives), assign a partition the drive letter that the cdrom used to have, then format the partition with the new drive letter. I've tried creating a custom mmc console called diskadmin.msc and using M$ Scriptit to do this for me, but I can't get it to work since the mmc console is the active window, and the snap-in resides within it. Does anyone know if there is an executable within Win2k like there was in NT for getting to Disk Administrator from the command line? Basically I need diskadmin to run on it's own, and not within a mmc console window. Any help would be greatly appreciated.
  5. Hello all, I've built some custom MSIs that wont install per machine (Used WinInstall LE to switch to "Per Machine" mode) and they only work for the user they're installed under, which in my case, is administrator. I need to enter a key in the registry so that these apps will install as each new user logs into the machine. I've tried copying shortcuts to the Default User" directory, but that doesn't associate the files with the apps (For instance, .zip files are still unassociated even though the shortcut to Winzip lives on the desktop). I've got most of the apps installing in the registry, but can't figure out how to do a "Per User" install via the windows (2000) registry. Anyone done this before? Thanks, Shawn
  6. You ROCK! I've been messing with that for days now. Thanks! Shawn
  7. Hi everybody, i'm having a hard time getting spaces to work in a batch file I'm using to add commands to RunOnceEx in the registry. Our organization requires us to install all programs to e:\Program Files\... and I need to use the INSTALLDIR= parameter after the Adobe Acrobat pathname, but I can't figure out how to make the windows registry understand the space between the word 'program' and 'files'. Normally I'd use quotes, but since it's already enclosed in quotes it sees the first quote as the end of the statement and gives me an error. I tried running a batch file that creates the directory Adobe will live in, then installing to e:\Progra~1\.... but that created a folder named 'Progra~1' on the E:\ drive. Here's the batch file I'm using: cmdow /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "PC Anywhere Version 11" /f REG ADD %KEY%\001 /V 1 /D "\\mycomputer\msi\pcanywhere\pcanywhere.msi" /f [B] REG ADD %KEY%\002 /VE /D "Adobe Acrobat Reader 6" /f REG ADD %KEY%\002 /V 1 /D "\\mycomputer\msi\acrobat6\acrobat6.msi INSTALLDIR=e:\Program Files\Adobe\Acrobat Reader\" /f [/B] REG ADD %KEY%\003 /VE /D "Winzip 9.0" /f REG ADD %KEY%\003 /V 1 /D "\\mycomputer\msi\winzip9\winzip9.msi" /f REG ADD %KEY%\004 /VE /D "IBM i Series" /f REG ADD %KEY%\004 /V 1 /D "\\mycomputer\msi\iSeries\iseries.msi" /f REG ADD %KEY%\025 /VE /D "Microsoft Office 2000" /f REG ADD %KEY%\025 /V 1 /D "\\mycomputer\share\apps\productivity\msoffice\office2000\setup.exe TRANSFORMS=\\mycomputer\share\Apps\Productivity\MSOffice\Office2000\setup.MST /qb" /f REG ADD %KEY%\026 /VE /D "PC Anywhere Session Files" /f REG ADD %KEY%\026 /V 1 /D "\\mycomputer\share\batchfiles\pcanywheresession.bat" /f REG ADD %KEY%\027 /VE /D "Internet Explorer 6 SP1 Cumulative Update" /f REG ADD %KEY%\027 /V 1 /D "\\mycomputer\share\Apps\Internet\IE6SP1\ie6setup.exe /q /r:n" /f ;REG ADD %KEY%\028 /VE /D "Post-Install Cleanup" /f ;REG ADD %KEY%\028 /V 1 /D "\\mycomputer\share\batchfiles\PostInstallCleanup.bat" /f shutdown -l exit Any ideas on how to make the registry understand those spaces? Thanks, Shawn
  8. Thanks for the reply, but what would the syntax look like if I didn't use 'start'? Isn't it required for '/wait'? Thanks, Shawn
  9. Hi Everyone, I'm new to this forum, but from what I've seen there are lots of users who know a lot about my situation. I've searched the archives and haven't found my exact situation though, so here it is: I have configured RIS to install windows 2000 to the workstation without problems. The computer installs all drivers properly, joins the domain and restarts. I've tried many different approaches to installing the applications once the OS has installed, but none of them work quite right. What makes our image so difficult to script is the fact that our company wants all program files installed to e:\. So the layout would be: c:\ - OS d:\ - CDROM e:\ - Program Files f:\ - Data GuiRunOnce: I've used the GUIRunOnce portion of ristndrd.sif to install my apps. Here's how it looked: [GuiRunOnce] Command0="net use z: \\appinstallpoint\share" Command1="z:\diskpart\diskpart.exe /s z:\diskpart\diskpart.txt" Command2="convert e: /FS:NTFS" Command3="z:\Apps\Internet\IE6SP1\ie6setup.exe /q" Command4="z:\Apps\Internet\IE6SP1Update\q813489.exe /qb" Command5="z:\batchfiles\md.bat" Command6="z:\apps\productivity\msoffice\office2000\setup.exe TRANSFORMS=z:\Apps\Productivity\MSOffice\Office2000\setup.MST /qb" Command7="z:\batchfiles\shutdown.bat" Command8="z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi INSTALLDIR=E:\Progra~1\Adobe\Acroba~1\ /qb" Command9="z:\Apps\Utilities\PCAnywhere11\custominstall\Deployment\SymantecPCAnywhere-NetworkHostOnly.msi /qb" Command10="z:\batchfiles\pcanywheresession.bat" This worked as far as mapping the drive, running diskpart with the appropriate script file, converting e:\ to NTFS, installing IE6SP1 and (after a reboot) the cumulative update. Md.bat creates directories in their full pathname (such as:e:\Program Files instead of e:\Progra~1) so that the programs to follow can be told to install to e:\Progra~1 and will end up in the right place. The problem with this setup is that the commands wouldn't wait for one to stop before the next started, which confused the installers and caused all subsequent installs to fail. I thought I had found the answer with a batch file that used "start /wait", but that command does not work as it is supposed to under Windows 2000. The apps all still step on each other. We run Win2K with SP4 slipstreamed, if that means anything to someone. I tried using a .cmd file which adds the commands and parameters to the RunOnceEx portion of the registry: cmdow /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "PC Anywhere Network Only Host" /f REG ADD %KEY%\001 /V 1 /D "z:\Apps productivity\pcanywhere\deployment\SymantecPCAnywhere.msi /qb" /f REG ADD %KEY%\002 /VE /D "Adobe Reader 6" /f REG ADD %KEY%\002 /V 1 /D "z:\apps\productivity\Adobe\Reader6\English\Installer\AdobeReader6.0.msi "INSTALLDIR=E:\Program Files\Adobe\Acrobat Reader\ /qb" /f REG ADD %KEY%\025 /VE /D "Microsoft Office 2000" /f REG ADD %KEY%\025 /V 1 /D "z:\apps\productivity\msoffice\office2000\setup.exe TRANSFORMS=z:\Apps\Productivity\MSOffice\Office2000\setup.MST /qb" /f shutdown -l exit This presents a whole new set of problems. The Adobe Reader parameter "INSTALLDIR=" wont work because the destination path has a space in it. I've tried every variation of double/triple/quadruple quotation marks that I could think of without any luck. If I tell it to install to e:\progra~1 it actually creates a directory called e:\progra~1 rather than install itself into the directory that has been created for it. As you can see, I gave MS Office the last spot in the priority list, because it allows other windows installer-based installs to run before it has completed, which makes them fail. Does anyone know how I can make these apps wait their turn to install, install to e:\, and install into the right folder? I know the adobe thing is just a syntax issue, I just can't figure it out. I would GREATLY appreciate any help. Thanks a lot, Shawn
×
×
  • Create New...