Jump to content

Rahbas

Member
  • Posts

    24
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Rahbas

  1. Does anyone know if Microsoft intentionally designed RunOnceEx to stop processing with IE7? Replacing the iernonce.dll from an IE6 version works but how long will it be before Windows Updates puts back the IE7 version, thus stopping our RunOnceEx process again? The reason I’m concerned about this is that I use RunOnceEx after initial setup to deliver applications. Vista also seems to ignore values in the RunOnceEx registry key. I'm thinking a lot of us will need to chain applications a different way soon?
  2. To return the repair option you can make a multiboot cd. The instructions are at this website http://gosh.msfnhosting.com/part1.htm Additionaly, a thread was created here on MSFN too. http://www.msfn.org/board/index.php?showto...8&hl=unattended I did one of these about 2 1/2 years ago and it worked out real well. Takes a bit of time to do though. Not sure about your SATA question.
  3. Thanks for the quick reply. Makes sense not to copy something locally that's compressed. Thanks for bringing that to my attension. Thanks again for all your hard work on these scripts.
  4. I think I found an issue with the subroutine for Student 2006. I was using that subroutine to install some other software (Microsoft Virtual Machine) but I couldn't get it working. Looked at 130_Student-Streets.vbs and replaced strDecompress with str7zcmd in the ws.run line. Additionaly I added a new line below to get my install to fire off. Not sure if this is correct code but so far it seems to be working (Haven't tried a real install yet). Sub InstallMSVM Dim strTemp, str7Zcmd, errReturn strTemp = sysdrv & "\Temp" str7Zcmd = "7za x -o" & strTemp & " " & strOEM If Not fs.FolderExists(strTemp) Then fs.CreateFolder(strTemp) ws.Run (str7zcmd & "\131_MSVM.7z"),0, True ws.Run (strTemp & "\javatrig.exe"),0, True WScript.Sleep(4000) fs.DeleteFolder(strTemp), True
  5. RogueSpear, Thank you for sharing this with the community. I’ve been playing around with your post install script all week and really like the results I’m getting. I’ve got a question if I may? After my installation is finished the Start Menu/Programs are not sorted by name. It seems to be sorted by type? Am I missing something to get the menu sorted by name?
  6. theUtmost, This looks like nice work. To get the "press a key to boot from cd" thing working gohere and grab jo.sys and put it on your floppy disk. You can even change the default timeout value. There are some other goodies on that website too. Hope that helps you out. It's been working for me for about 3 + years on our DOS bootdisk at work.
  7. Change it to this and it should work for you REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy \"%systemdrive%\Install\Applications\coverXP\Test.txt\" \"C:\Program Files\coverXP"\" /f Hopefully this will work, I grabbed it from a simular copy process I did just last week. The reason for all the extra \ is because of the multiple quotes.
  8. I use netdom.exe to join our domain and call it from a batch file. This is a nice utility. http://support.microsoft.com/default.aspx?...;298593&sd=tech
  9. This post should get you going. I've done something similar using this method and it works great. Thanks for posting this many moons ago Gosh if you see this post Gosh Unattended Secret: Reducing Size Of Source
  10. Thanks for the quick reply Gosh. By the way a big thanks to Gosh for posting this thread in the first place. It has helped me do some things I didn't think was possible because of size constraints doing it the "Microsoft" way. -Rahbas
  11. I have made a cd with the options as Gosh stated in the second post where you choose between an unattended setup and a regular install. It works great on the unattended install but the attended install with no winnt.sif is still grabbing the cmdlines.txt from the $oem$ folder. Has anyone tried doing this with this method. Everything is working fine other than the attended setup is grabbing the cmdlines.txt at the 10 minute mark and erroring out because the $oem$ is not copied to the hard drive. In short I don't wish to have the cmdlines.txt file run at all. My cd structure is here. Folder listing of C:\INSTALL\ $OEM$\ 11/10/2003 9:59:37 PM 359,171 kb I386\ 11/10/2003 9:58:01 PM 340,716 kb VOL1\ 11/13/2003 8:09:48 AM 7,081 kb VOL2\ 11/13/2003 8:09:48 AM 7,079 kb DELOAD.BIN 5/8/2001 12:35:34 PM 1 kb DISKEM1X.BIN 7/11/2001 3:59:44 PM 12 kb DISKEMU.CMD 11/13/2003 8:10:44 AM 2 kb GHOST.IMA 11/11/2003 9:22:52 AM 1,440 kb GHOSTL.IMA 11/12/2003 2:31:09 PM 1,440 kb LOADER.BIN 7/9/2001 9:13:18 AM 2 kb README.TXT 11/12/2003 4:03:25 PM 3 kb SPNOTES.HTM 8/23/2001 10:00:00 AM 11 kb VOL1.DAT 11/11/2003 2:07:00 PM 2 kb VOL2.DAT 11/11/2003 2:19:42 PM 2 kb WIN51 8/23/2001 10:00:00 AM 1 kb WIN51IP 8/23/2001 10:00:00 AM 1 kb WIN51IP.SP1 8/23/2001 10:00:00 AM 1 kb If anyone know how I can get around this issue please let me know. Thanks
  12. I added this to my unattended install by doing it like this. start /wait %systemdrive%\install\Applications\media\Codecs\klcodec210f.exe /SP /VERYSILENT There are some advanced things you can do with this installer. You can do this with the Real and Quick Alternative programs too. Here's the info form the Inno Setup documentation. /SP- Disables the This will install... Do you wish to continue? prompt at the beginning of Setup. Of course, this will have no effect if the DisableStartupPrompt [setup] section directive was set to yes. /SILENT, /VERYSILENT Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above) If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking. /NOCANCEL Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with /SILENT. /NORESTART When combined with /SILENT or /VERYSILENT, instructs Setup not to reboot even if it's necessary. /LOADINF="filename" Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared using the '/SAVEINF=' command as explained below. Don't forget to use quotes if the filename contains spaces. /SAVEINF="filename" Instructs Setup to save installation settings to the specified file. Don't forget to use quotes if the filename contains spaces. /LANG=language Specifies the language to use. language specifies the internal name of the language as specified in a [Languages] section entry. When a valid /LANG parameter is used, the Select Language dialog will be suppressed. /DIR="x:\dirname" Overrides the default directory name displayed on the Select Destination Directory wizard page. A fully qualified pathname must be specified. If the [setup] section directive DisableDirPage was set to yes, this command line parameter is ignored. /GROUP="folder name" Overrides the default folder name displayed on the Select Start Menu Folder wizard page. If the [setup] section directive DisableProgramGroupPage was set to yes, this command line parameter is ignored. /NOICONS Instructs Setup to initially check the Don't create any icons check box on the Select Start Menu Folder wizard page. /COMPONENTS="comma separated list of component names" Overrides the default components settings. Using this command line parameter causes Setup to automatically select a custom type. I used this info and my modified unattend file because I wanted to save the settings so some of the codecs didn't get installed. Here's my example. start /wait %systemdrive%\install\Applications\media\Codecs\klcodec210f.exe /LOADINF=%systemdrive%\install\applications\MEDIA\codecs\codecs.inf /SP /VERYSILENT I hope this helps. It's a very nice way of customizing the setup for programs setup with the Inno installer.
  13. ****, I hate to see you go. You've brought so much to the forum, in fact you're one of the reasons I check the forum so often because you come up with new and unheard ways of doing things. I wish you well and hope you would reconsider coming back. -Rahbas
  14. Question 1 I haven't had any luck removing components within Windows. My main gripe is Windows Media player. I have followed what I could and haven't had any luck. Perhaps someone can comment. The thread I'm refering to is here Here Question 2 I may misunderstand your question but I do things like that with reg settings, at least for the HKEY_Local_Machine stuff. Question 3 I've actually done this. There probably is a much easier way. Here's the code I used to pull it off. ECHO. ECHO Replacing Default Profile ECHO Please wait... RD /S /Q "%systemdrive%\Documents and Settings\Default User" MD "%systemdrive%\Documents and Settings\Default User" XCOPY /E /H /I /K /Q "%systemdrive%\install\Default User" "%systemdrive%\Documents and Settings\Default User" ATTRIB +H "%systemdrive%\Documents and Settings\Default User" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Application Data" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Local Settings" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\NetHood" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Printhood" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Recent" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\SendTo" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Templates" DEL "%systemdrive%\Documents and Settings\Default User\Favorites\desktop.ini" /A ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Start Menu\desktop.ini" ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\desktop.ini" ECHO. Question 4 I've got almost 300mb in my $oem$ directory thre drivers section alone is 69 meg. My OEMPNP path is rather large. It works just fine. Here's how long it is. OemPnPDriversPath="Drivers\IntelINF;Drivers\IDE_RAID;Drivers\audio;Drivers\display;Drivers\display2;Drivers\display\xp_inf;Drivers\display\xp_inf\B_08978; Drivers\display\41.04;Drivers\modem; Drivers\monitor;Drivers\network\BDCACT; Drivers\network\pro100;Drivers\network\pro1000;Drivers\network\prow2100; Drivers\network\BROADCOM;Drivers\ASF;Drivers\ibmpm\" Had to adjust the OemPnPdrivers path because it would made browsing this thread painful. I'm just getting into this so I hope none of my information was incorrect, but things are working like this for me.
  15. I will try that method, Gosh. I have tried replacing the default profile but did that using Windows Media 8 instead of WMP9. I will try with WMP9 and see what happens.
  16. Hello, I'm pulling my hair out trying to get Media Player Classic to play all media files. The problem is I can set it for one user by going into Windows Media player and clearing all the file association checkboxes. After that I go to Media Player Classic and choose all media files. Again this works for only the current user because Microsoft decided that each user should have their own assocaitions for media files. I can see this somewhat handy for some instances but I'm trying to kill Windows Media Player file associations and use Media Player Classic for all users. Has anyone overcome this or am I wasting my time? Thanks
  17. Ok, that makes sense. Do you think I need to look into the hive files for this?
  18. I have the main_batch replacing the default user profile with mine rather than using Microsoft's default profile. The problem I'm having is the Administrator account log in automatically during setup. When this happens I don't get my default profile with the administrator account. It works for all other accounts however. I have tried using cmdlines.txt to carry out this task using the same commands but it doesn't copy my default profile if I use cmdlines.txt. Does anyone know if such a thing is possible? I've thought of creating a user and having the temp user autologon, reboot and delete the temp user and the temp user profile but this seems like it would be a lot of work and I wouldn't know how to go about having this said temp user login automatically 2 times then delete the user and the users profile. Any ideas?
  19. Hello, I was wondering if there was a way to set up power management for all users somewhere while setting up Windows XP? I have seen some people do this, but it's not working for me. [ComputerSettings] FontSmoothing=ClearType PowerScheme=Presentation The Cleartype didn't work either but I took care of that in my Default User profile. I'd really like to use "Presentation" power setting so the screen does not blank out when noone is logged in. I wouldn't mind getting cleartype to work either but it's as big a priority. I found the reference to these settings in the ref.chm file that Microsoft provides. Problem is they are talking about using this in the Winbom.ini file. I tried to apply it to the winnt.sif and it's not working. That also could be the reason it's not working.
  20. I found out that flyakite was right and the ATI control panel will not install unless you have an ATI card and driver installed, However I had some apps that weren't so friendly about this. Below is the code that helped me get app to install but only if a certain file is found. Since the Laptops had the ATI Radeon 9000 and nothing else does that we have, I found a .dll flel that is specific to the Laptop and the ATI card. Thanks edg21 for pointing me in the right direction. For some reason the IF NOT EXIST was causing it not to work, once I took tha tout and added the GOTO statement afterwards it works great. Thanks everyone for the help. CLS @echo off if exist "%systemroot%\system32\drivers\ati2mtag.sys" goto IBMLAPTOPYES goto IBMLAPTOPNO :IBMLAPTOPYES ECHO. ECHO Installing ATI Control Panel for Catalyst 3.6 ECHO Please wait... start /wait %systemdrive%\install\Applications\aticpanl\Setup.exe -s -f1"%systemdrive%\install\Applications\aticpanl\setup.iss" ECHO. ECHO Installing UltraNav Drivers... start /wait %systemdrive%\install\Applications\UNAV\setup.exe -s -sms ECHO. ECHO Installing Keyboard Customizer Utility... start /wait %systemdrive%\install\Applications\KEYCUSTM\setup.exe -s -sms ECHO. ECHO Installing Hotkey Features... start /wait %systemdrive%\install\Applications\HOTKEY\setup.exe -s -sms ECHO. ECHO Installing IBM Power Management... start /wait %systemdrive%\install\Applications\BMMPM\setup.exe -s -sms ECHO. ECHO Installing BlueTooth Drivers... start /wait %systemdrive%\install\Applications\BDCACT\setup.exe /q /n :IBMLAPTOPNO EXIT
  21. Hello, I just found this site yesterday and what a great help it's been. Thanks all who created and frequent the site to make it so great. I am getting ready to deploy 180 Desktops and 50 Laptops at my place of work. We are going to be building images next week and I'd like to take full advantage of using unattended setup to make my life easier. For example, the laptops use an ATI Mobility 9000 and the desktops use an Intel solution. In order to get the ATI Control panel installed I understand I have to do this in the Applications section. Although I do have this working it will install on the desktops also using this method. There are some Laptop specific applications also that I want to automate but keep them off the desktop. I did do a search and manually browsed the boards, I bet the answer is here and I missed it. I be greatfull on any help on this. Thanks
×
×
  • Create New...