Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. Yes you can integrate it using $Docs from your $OEM$ structure, you just will not be able to remove using that method.
  2. No problem, Clint, been there, done that, got the T-shirt! Also I have to agree, Quick Batch File Compiler is good, and although I rarely use it, the 'Ghost Application' feature is brilliant for silent unattended use. Just make sure that the cmd file works using a test QBFC first, it's still surprising how many you have problems with, once compiled as an exe, which ran perfectly as a cmd. They do however have a good support forum, where you can get help with problems such as this.
  3. Customized how? You can access the default profile towards the end of the setup, it will be located at '%HomeDrive%\Documents and Settings\Default User'. Before this stage you may have to look into making your changes in '%SystemRoot%\system32\config\systemprofile'
  4. To whom are you addressing with these remarks!My response was a direct fix for your line, which you stated didn't work! I then went on to explain that you were not actually using the start command with its full correct syntax, it wasn't an example of the code you need in your RunOnceEx, just an example of correct usage.No batch is used or needed just a single line to run the command interpreter with parameters. Now with the information I gave and a little research you could also find out that you could run more than one command from the same line, also reducing the number of cmd windows; you could also turn off the echoing too! cmd /q/c cmdow @hid&start "" /wait first.exe&&start "" /wait second.exe
  5. also, you if you need more than one line you can link the commands with an ampersand: cmd /c cmdow @ /HID&start /wait %systemdrive%\Install\Applications\***.exeMore to the point however, have you tried using the start command correctly, it will certainly help with commands not waiting start "" /wait %systemdrive%\Install\Applications\***.exewhere the title, (between the quotes), can be blank as in my example or filled with your chosen text.
  6. Well in that case, your command should still look more like this: reg add %KEY%\016 /v 2 /d "%systemroot%\system32\xcopy.exe %CDROM%\Appz\GAIM\.Gaim \"%AppData%\" /r/h/i/q/y" /fObviously the switches will depend upon your own situation and once again the code should all be on one line.
  7. Try something like this: reg add %KEY%\016 /v 2 /d "%systemroot%\system32\xcopy.exe \"H:\Appz\GAIM\Setting\*.*\" \"D:\Documents and Settings\Mio\Application Data\" /i/q/k/y" /fIt should all be on one line! <Edit> Are you sure you are just copying files from inside 'Setting' to 'Application Data'. I would have expected them to at least be going into a directory. </Edit>
  8. On an attended setup, the default is for 'All Users', using the QN switch unattended should keep it the same.
  9. Other than the optimising, you suggest may be required, how are you both 'echoing to' and 'deleting from' the optical disk drive?
  10. Is this what you mean? "%Variable%\install\OOo\openofficeorg19109.msi /QN"
  11. Here's an example using the pertinent portions of an inf file. [Version] Signature = $Windows NT$ [DefaultInstall] AddReg = RunOnEx Needs = MyProgs [RunOnEx] HKLM,"%RunOnceEx%\",Title,0,"Installing Applications" HKLM,"%RunOnceEx%\",Flags,0x10001,20 [MyProgs] AddReg = 7Zip [7Zip] HKLM,"%RunOnceEx%\install05",,,"7-Zip" HKLM,"%RunOnceEx%\install05",1,,"%11%\regsvr32.exe /u /s %11%\zipfldr.dll" HKLM,"%RunOnceEx%\install05",2,,"%11%\REG DELETE HKCR\.zip\CompressedFolder /f" HKLM,"%RunOnceEx%\install05",3,,"%11%\REG DELETE HKCR\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31} /f" HKLM,"%RunOnceEx%\install05",4,,"%11%\REG DELETE HKCR\CompressedFolder /f" HKLM,"%RunOnceEx%\install05",5,,"%24%\install\7-Zip\7z420.exe /S" HKLM,"%RunOnceEx%\install05",6,,"%11%\%RunAnInf% DefaultInstall 132 %24%\install\7-Zip\7Zip.inf" [Strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" RunAnInf = "rundll32.exe setupapi.dll,InstallHinfSection"It should give you the general idea. Unregister the dll Remove compressed folders registry entries Install new compression utility Add new compression utility specific stuff I find keeping it all together helps with my poor memory retention.
  12. I really have no idea, it would depend upon when in your setup you ran it and on your particular setup.As far as the solution which is agreed to work is concerned, if these 'special folders' are called using their CSIDL from a program or however some of the MS apps do it, they can be easily recreated. Another thing to bear in mind is that, if you have redirected your folders, as part of your unattended setup, the batch would have to be run before you perform the redirection, or altered accordingly, with your new locations. The method I offered in my attachment basically creates two empty, read only and hidden files, with the same name as the two folders it has just deleted. With those folders in place, an application cannot recreate them. So it could also effectively be run on a system later, if the method Gouki offered does fail at any time.
  13. @ Gouki It does remove some of the functions of My Documents, and if you use certain applications, they are still reported to return again. I have no idea if the functions lost are of any real use, or what in fact they are. If those cases are likely to bother you, the following my provide a suitable workaround. It will delete the folders, and fool the system into not recreating them. <Edit> It is intended only for existing systems, not unattended use, and although it may work in 2000+, it is only tested with XP. </Edit> NoPicMus.zip
  14. It the 'Open With' depends on the file extension you have selected. Could you give us some more information!
  15. Does that not unregister the My Documents folder too? He only wanted My Music and My Pictures!
  16. You could also make it look a lot smaller in a batch file@echo off&setlocal enableextensions set WampFile=.669 .AAC .AIF .AIFF .amf .APL .AU .CDA .far .FLA .FLAC .it .itz .KAR .M4A .mdz .mid .MIDI .MIZ .mod .MP1 .MP2 .MP3 .mp4 .mtm .NSA .nst .NSV .ogg .okt .ptm .RMI .s3m .s3z .SND .stm .stz .ult .VOC .WAV .WMA .xm .xmz for %%a in (%WampFile%) do reg add HKLM\SOFTWARE\Classes\%%a /ve /d "Winamp.File" /f reg add HKLM\SOFTWARE\Classes\.m3u /ve /d "Winamp.PlayList" /f reg add HKLM\SOFTWARE\Classes\.pls /ve /d "Winamp.PlayList" /f reg add HKLM\SOFTWARE\Classes\.mid /v Winamp_Back /d "MIDFile" /f reg add HKLM\SOFTWARE\Classes\.mp4 /v Winamp_Back /d "MPEG-4 File" /f reg add HKLM\SOFTWARE\Classes\.ogg /v Winamp_Back /d "Ogg File (*.ogg)" /f endlocal&goto :eof
  17. ChipCraze23 The registry entry is correct, as it has always worked fine for me. I have just re-enabled it, and disabled it in order to monitor the changes. disable REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19] "RefCount"=dword:00000002 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] "AutoReboot"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceCurrent] @=dword:0000000E [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ALERTER] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ALERTER\0000] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ALERTER\0000\Control] "*NewlyCreated*"=dword:00000000 "ActiveService"="Alerter" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ALERTER\0000] "Service"="Alerter" "Legacy"=dword:00000001 "ConfigFlags"=dword:00000000 "Class"="LegacyDriver" "ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}" "DeviceDesc"="Alerter" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ALERTER] "NextInstance"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter] "Start"=dword:00000002 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter\Enum] "0"="Root\\LEGACY_ALERTER\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001 It actually Started the disabled 'Alerter' service and set it to Automatic in the process. It doesn't solve your problem, although the information may help you find a conflict somewhere. Can you not run a monitoring app click in the box and compare the difference to see if it helps pinpoint something.
  18. Regarding oneless' reply, I cannot see any benefit in simply disabling the notifications. The monitoring is of no use if you disable the notifications which result from the monitoring. Both our responses should achieve your intended goal however, since if you override the monitoring process then there will be no notifications as a result. Here is both, Yzöwl and oneless again in .reg format Use everything in green and delete either the blue stuff or the purple stuff according to your taste.
  19. In .cmd file format @echo off ::Override Security Center Antivirus Monitoring (when yours is unsupported) reg add "HKLM\Software\Microsoft\Security Center" /v AntiVirusOverride /t REG_DWORD /d 1 /f ::Override Security Center Firewall Handling (when yours is unsupported) reg add "HKLM\Software\Microsoft\Security Center" /v FirewallOverride /t REG_DWORD /d 1 /f ::Stop Security Center nagging about Automatic Updates being turned off reg add "HKLM\Software\Microsoft\Security Center" /v UpdatesDisableNotify /t REG_DWORD /d 1 /f goto :eof
  20. or to be on the safe side with your paths etc. reg add %KEY%\050 /ve /d "Adding User Defined Shortcuts" /f reg add %KEY%\050 /v 1 /d "%systemroot%\system32\rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 %CDROM%\Softwares\shortcuts.inf" /f<Edit> From your inf, the section which contains the main command is [DefaultInstall] UpdateInis=AddShortcut You use the section name in your install command to perform the install. If you have a section name of 'DefaultInstall', this is used for the right click 'install' too. A good idea would therefore, in the majority of cases, be to use this section name in the majority of your infs. The 132 is used when the inf being run is not in the same location as the command calling it, as in this case where you are giving the location as a full path. </Edit>
  21. Or you could go to the Product Makers Homepage English German
  22. Someone else asked this here, I had assumed it had been changed by SiMoNsAyS, but looking back at his response, I guess he hadn't understood the problem. In answer to your question though, yes it is supposed to be REM, not M.
  23. I think you also need to add this to your cmd file too ;Remove Links Folder From Internet Explorer REG ADD "HKCU\Software\Microsoft\Internet Explorer\Toolbar" /v LinksFolderName /d "" /f
  24. Thanks, I'll see what come of it. The browser used is interesting At least you got the quotation mark to work! well done.
  25. As I have been told that there is no problem, could you please explain how I post the following! After 12 edits, with a different result each time, the best I got can be seen here. --- the stuff I wanted in the code box, hopefully! --- Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Hummingbird\Connectivity\9.00\Exceed] followed by either, Example 1 - REG_SZ "UserDir"="\\\\SRVATD2\\HOME\\%APPDATA%\\Hummingbird\\Connectivity\\9.00\\Exceed\\" or, Example 2 - REG_EXPAND_SZ "UserDir"=hex(2):5c,5c,53,52,56,41,54,44,32,5c,48,4f,4d,45,5c,25,41,50,50,44,\ 41,54,41,25,5c,48,75,6d,6d,69,6e,67,62,69,72,64,5c,43,6f,6e,6e,65,63,74,69,\ 76,69,74,79,5c,39,2e,30,30,5c,45,78,63,65,65,64,5c,00 --- ends here, once again, hopefully! --- Any advice other than posting everything relevant as attachments would be welcome! <Edit> The only problems with the above, appear to be the line wrap, but then again I got that, even in a codebox The ampersand space quot semicolon representing a quotation mark. The thing I cannot work out is that the same characters in the same order render perfectly in example 1. The lines which begin with two spaces don't, but in the codebox you get the nbsp stuff and the colon does not usually render correctly. </Edit>
×
×
  • Create New...