Jump to content

gosherm

Member
  • Posts

    42
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About gosherm

Contact Methods

  • Website URL
    http://

gosherm's Achievements

0

Reputation

  1. Hmm... the best that I'm coming up with off the top of my head is to use RunOnceEx/GuiRunOnce and call the shutdown command. However, that happens after the reboot and first part of login is initiated. Perhaps if you could share with us the purpose for doing this we might be able to come up with another solution as well.
  2. You can even customize it if you want. See the Office 2003 non-administrative install.
  3. Sure this can be done using a MST. The only difference between doing this and installing off of the CD is that your automation script needs to somehow determine what drive things are on. Personally, I'm moving my Unattended DVD back to a CD format and installing just about everything from my media drive after I set the drive letters using MapDrive. So far, works great for me
  4. In a word... no. At least not that I am aware of. What I ended up doing was an xcopy of the appropriate file structure once the profile folders had been created. The end result is the same, there's just one more step along the way.
  5. Either download them from the VMware site (I believe they are available in individual packages) or extract them from the VMware tools ISO (located at c:\program files\vmware\vmware workstation\windows.iso on my machine).
  6. Dunno... haven't tested it. I'm just using standard stuff though, so I imagine that it'll work. Give it a try I QA by day, but I script/program by night... never the twain shall meet. Well, ok, maybe someday, but not for this beta
  7. Well, I've finally finished the 1.0 InstallScript and am releasing it in a beta format. It can be downloaded from the Unattended Setup Companion website or directly from here. This is just the beta of the install script. The config utility should be following shortly, but you can still build your own data files by hand in the simple XML format. The zip file contains a sample and a brief explination as to how to write your own data file. Currently, the beta is only known to work at first login, whether launched through runonceex, or by the [GuiRunOnce] section of winnt.sif. If you find any bugs, please report them either on this forum, or to the USC email at "usc [ at ] gosherm [ dot ] org".
  8. Yeah, that's just the one line version of the code... however, it won't work if you need to protect two files (boot.bmp & boot1.bmp)
  9. What burning program are you using? Are you using the "burn an image" feature of it? What steps in the program are you taking? How big is your file? What burning program are you using? Are you using the "burn an image" feature of it? What steps in the program are you taking? How big is your file?
  10. I use Nero to burn the nLite image onto DVD and it works just fine for me. What errors are you getting?
  11. Doh! I think you're right... I can't believe I missed that.
  12. Hmm... it shouldn't be... though I did find one problem. Try this as a test: for /F "usebackq tokens=*" %%i in (`dir /b %WinDir%\*.bmp`) do ( if %%i neq boot.bmp ( if %%i neq boot2.bmp ( echo deleting "%%i" ) else ( echo saving "%%i" ) ) else ( echo saving "%%i" ) ) and this as the final: for /F "usebackq tokens=*" %%i in (`dir /b %WinDir%\*.bmp`) do ( if %%i neq boot.bmp ( if %%i neq boot2.bmp ( del /f /q "%%i" ) ) )
  13. %windir% is going to be your windows folder (i.e. c:\windows), not the drive root (%systemdrive%). It shouldn't have removed any files from C:\. As far as multiple files, this is where the second solution gets messy because the IF statement can't handle complex statements (i.e. if (a=b OR a=c) then). So, you're left with: for /F "usebackq" %%i in (`dir /b %WinDir%\*.bmp`) do ( if %%i neq boot.bmp ( if %%i neq boot2.bmp ( del /f /q %%i ) ) ) Whereas the first solution gives you: REN %WinDir%\boot.bmp boot.pmb REN %WinDir%\boot2.bmp boot2.pmb del %WinDir%\*.bmp /F /Q REN %WinDir%\boot.pmb boot.bmp REN %WinDir%\boot2.pmb boot2.bmp
  14. Ok, how about this? for /F "usebackq" %%i in (`dir /b %WinDir%\*.bmp`) do ( if %%i equ boot.bmp ( REM Found boot.bmp ) else ( del /f /q %%i ) ) My suggestion is to still use the first solution as 1) it is cleaner and 2) it has less overhead Edit: Hmm... I suppose this could actually be simplified a little bit to: for /F "usebackq" %%i in (`dir /b %WinDir%\*.bmp`) do ( if %%i neq boot.bmp ( del /f /q %%i ) )
×
×
  • Create New...