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. And here is an inf for XP Pro using his 'Safe' settings. He used to provide reg file for applying and another to reset, this will right click to install and should reset to defaults from Add/Remove Programs ; Safe pro services [Version] Signature=$CHICAGO$ [DefaultInstall] AddReg=Reg.Settings AddReg=Reg.Uninstall CopyFiles=Inf.Copy [DefaultUninstall] AddReg=Reg.Back DelReg=Reg.Uninstall DelFiles=Inf.Copy [Reg.Settings] ; Sets Computer Browser to Disabled HKLM,%PATH%\Browser,Start,0x10001,0x04 ; Sets Distributed Link Tracking Client to Manual HKLM,%PATH%\TrkWks,Start,0x10001,0x03 ; Sets Error Reporting Service to Disabled HKLM,%PATH%\ERSvc,Start,0x10001,0x04 ; Sets Help and Support to Manual HKLM,%PATH%\helpsvc,Start,0x10001,0x03 ; Sets Indexing Service to Disabled HKLM,%PATH%\cisvc,Start,0x10001,0x04 ; Sets Logical Disk Manager to Manual HKLM,%PATH%\dmserver,Start,0x10001,0x03 ; Sets Net Logon to Disabled HKLM,%PATH%\Netlogon,Start,0x10001,0x04 ; Sets NetMeeting Remote Desktop Sharing to Disabled HKLM,%PATH%\mnmsrvc,Start,0x10001,0x04 ; Sets Network Provisioning Service to Disabled HKLM,%PATH%\xmlprov,Start,0x10001,0x04 ; Sets Performance Logs and Alerts to Disabled HKLM,%PATH%\SysmonLog,Start,0x10001,0x04 ; Sets Portable Media Serial Number Service to Disabled HKLM,%PATH%\WmdmPmSN,Start,0x10001,0x04 ; Sets QoS RSVP to Disabled HKLM,%PATH%\RSVP,Start,0x10001,0x04 ; Sets Remote Desktop Help Session Manager to Disabled HKLM,%PATH%\RDSessMgr,Start,0x10001,0x04 ; Sets Remote Registry Service to Disabled HKLM,%PATH%\RemoteRegistry,Start,0x10001,0x04 ; Sets Secondary Logon to Disabled HKLM,%PATH%\seclogon,Start,0x10001,0x04 ; Sets Security Center to Disabled HKLM,%PATH%\wscsvc,Start,0x10001,0x04 ; Sets Server to Disabled HKLM,%PATH%\lanmanserver,Start,0x10001,0x04 ; Sets Smart Card to Disabled HKLM,%PATH%\SCardSvr,Start,0x10001,0x04 ; Sets SSDP Discovery Service to Disabled HKLM,%PATH%\SSDPSRV,Start,0x10001,0x04 ; Sets System Restore Service to Disabled HKLM,%PATH%\srservice,Start,0x10001,0x04 ; Sets TCP/IP NetBIOS Helper Service to Disabled HKLM,%PATH%\LmHosts,Start,0x10001,0x04 ; Sets Uninterruptible Power Supply to Disabled HKLM,%PATH%\UPS,Start,0x10001,0x04 ; Sets Universal Plug and Play Device Host to Disabled HKLM,%PATH%\upnphost,Start,0x10001,0x04 ; Sets WebClient to Disabled HKLM,%PATH%\WebClient,Start,0x10001,0x04 ; Sets Windows Time to Disabled HKLM,%PATH%\W32Time,Start,0x10001,0x04 ; Sets Wireless Zero Configuration to Disabled HKLM,%PATH%\WZCSVC,Start,0x10001,0x04 ; Sets WMI Performance Adapter to Disabled HKLM,%PATH%\WmiApSrv,Start,0x10001,0x04 [Reg.Uninstall] HKCU,%UNINSTALL%\%NAME% HKCU,%UNINSTALL%\%NAME%,DisplayName,,"%NAME%" HKCU,%UNINSTALL%\%NAME%,UninstallString\ ,,"rundll32 setupapi,InstallHinfSection DefaultUninstall 132"\ "%53%\Application Data\Custom\services.inf" [Reg.Back] ; Sets Computer Browser to Automatic HKLM,%PATH%\Browser,Start,0x10001,0x02 ; Sets Distributed Link Tracking Client to Automatic HKLM,%PATH%\TrkWks,Start,0x10001,0x02 ; Sets Error Reporting Service to Automatic HKLM,%PATH%\ERSvc,Start,0x10001,0x02 ; Sets Help and Support to Automatic HKLM,%PATH%\helpsvc,Start,0x10001,0x02 ; Sets Indexing Service to Manual HKLM,%PATH%\cisvc,Start,0x10001,0x03 ; Sets Logical Disk Manager to Automatic HKLM,%PATH%\dmserver,Start,0x10001,0x02 ; Sets Net Logon to Manual HKLM,%PATH%\Netlogon,Start,0x10001,0x03 ; Sets NetMeeting Remote Desktop Sharing to Manual HKLM,%PATH%\mnmsrvc,Start,0x10001,0x03 ; Sets Network Provisioning Service to Manual HKLM,%PATH%\xmlprov,Start,0x10001,0x03 ; Sets Performance Logs and Alerts to Manual HKLM,%PATH%\SysmonLog,Start,0x10001,0x03 ; Sets Portable Media Serial Number Service to Manual HKLM,%PATH%\WmdmPmSN,Start,0x10001,0x03 ; Sets QoS RSVP to Manual HKLM,%PATH%\RSVP,Start,0x10001,0x03 ; Sets Remote Desktop Help Session Manager to Manual HKLM,%PATH%\RDSessMgr,Start,0x10001,0x03 ; Sets Remote Registry Service to Automatic HKLM,%PATH%\RemoteRegistry,Start,0x10001,0x02 ; Sets Secondary Logon to Automatic HKLM,%PATH%\seclogon,Start,0x10001,0x02 ; Sets Security Center to Automatic HKLM,%PATH%\wscsvc,Start,0x10001,0x02 ; Sets Server to Automatic HKLM,%PATH%\lanmanserver,Start,0x10001,0x02 ; Sets Smart Card to Manual HKLM,%PATH%\SCardSvr,Start,0x10001,0x03 ; Sets SSDP Discovery Service to Manual HKLM,%PATH%\SSDPSRV,Start,0x10001,0x03 ; Sets System Restore Service to Automatic HKLM,%PATH%\srservice,Start,0x10001,0x02 ; Sets TCP/IP NetBIOS Helper Service to Automatic HKLM,%PATH%\LmHosts,Start,0x10001,0x02 ; Sets Uninterruptible Power Supply to Manual HKLM,%PATH%\UPS,Start,0x10001,0x03 ; Sets Universal Plug and Play Device Host to Manual HKLM,%PATH%\upnphost,Start,0x10001,0x03 ; Sets WebClient to Automatic HKLM,%PATH%\WebClient,Start,0x10001,0x02 ; Sets Windows Time to Automatic HKLM,%PATH%\W32Time,Start,0x10001,0x02 ; Sets Wireless Zero Configuration to Automatic HKLM,%PATH%\WZCSVC,Start,0x10001,0x02 ; Sets WMI Performance Adapter to Manual HKLM,%PATH%\WmiApSrv,Start,0x10001,0x04 [Inf.Copy] services.inf [DestinationDirs] Inf.Copy=53,Application Data\Custom [SourceDisksNames] 55=%DISKNAME% [SourceDisksFiles] services.inf=55 [Strings] PATH="SYSTEM\CurrentControlSet\Services" UNINSTALL="Software\Microsoft\Windows\CurrentVersion\Uninstall" NAME="SP2 Services" DISKNAME="Setup Files"For unattended purposes you can apply this by running it from cmdlines.txt like this: [Commands] "rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\services.inf"Edit, forgot to mention, this file is for Service Pack 2 only!
  2. I dont wish to sound like I'm belittling you, but are you sure you are calling the runonceex.cmd from cmdlines.txt or some such other place!
  3. Agreed, shortcut.exe works fine, I just wanted a method of doing it without adding stuff I would never use again (i.e. shortcut.exe). I haven't exactly done it this way myself since I use a runonceex.inf file and run it from there.
  4. Please note from bottom line of code it should say REG_SZ not REG_DWORD
  5. Thought this may help people out, I apologise if a similar method has been posted previously, but I couldn't find one in my searches. Before the cleanup routine is called in runoncex.cmd, add the lines similar to the following: REG ADD %KEY%\045 /VE /D "Adding user defined shortcuts" /f REG ADD %KEY%\045 /V 1 /D "rundll32 setupapi,InstallHinfSection Shortcuts 128 %systemdrive%\Apps\Standalone\shortcuts.inf" /f Now create a shortcuts.inf file similar to this: [Version] Signature=$CHICAGO$ [Shortcuts] UpdateInis=AddLink [AddLink] ;adds shortcut to ERUNT.exe within %ProgramFiles%\Standalone\ERUNT folder to %USERPROFILE%\Start Menu\Programs\Standalone\ERUNT setup.ini, progman.groups,, "group1=""%16386%\Standalone\ERUNT\""" setup.ini, group1,,"""ERUNT"",""""""%16422%\Standalone\ERUNT\ERUNT.EXE""""""" ;adds shortcut to README.TXT within %ProgramFiles%\Standalone\ERUNT folder to %USERPROFILE%\Start Menu\Programs\Standalone\ERUNT setup.ini, progman.groups,, "group2=""%16386%\Standalone\ERUNT\""" setup.ini, group2,,"""Readme"",""""""%16422%\Standalone\ERUNT\README.TXT""""""" ;adds shortcut to NTREGOPT.EXE within %ProgramFiles%\Standalone\ERUNT folder to %USERPROFILE%\Start Menu\Programs\Standalone\ERUNT setup.ini, progman.groups,, "group3=""%16386%\Standalone\ERUNT\""" setup.ini, group3,,"""NTREGOPT"",""""""%16422%\Standalone\ERUNT\NTREGOPT.EXE""""""" ;adds shortcut to Restoration.exe within %ProgramFiles%\Standalone\Restoration folder to %USERPROFILE%\Start Menu\Programs\Standalone\Restoration setup.ini, progman.groups,, "group4=""%16386%\Standalone\Restoration\""" setup.ini, group4,,"""Restoration"",""""""%16422%\Standalone\Restoration\Restoration.exe""""""" ;adds shortcut to SyncBack.exe within %ProgramFiles%\Standalone\SyncBack folder to %USERPROFILE%\Start Menu\Programs\Standalone\SyncBack setup.ini, progman.groups,, "group5=""%16386%\Standalone\SyncBack\""" setup.ini, group5,,"""SyncBack"",""""""%16422%\Standalone\SyncBack\SyncBack.exe""""""" ;adds shortcut to SYNCBACK.HLP within %ProgramFiles%\Standalone\SyncBack folder to %USERPROFILE%\Start Menu\Programs\Standalone\SyncBack setup.ini, progman.groups,, "group6=""%16386%\Standalone\SyncBack\""" setup.ini, group6,,"""SyncBack Help"",""""""%16422%\Standalone\SyncBack\SYNCBACK.HLP""""""" ;adds shortcut to popcorn.exe within %ProgramFiles%\Standalone\PopCorn folder to %USERPROFILE%\Start Menu\Programs\Standalone\PopCorn setup.ini, progman.groups,, "group7=""%16386%\Standalone\PopCorn\""" setup.ini, group7,,"""Ultrafunk Popcorn"",""""""%16422%\Standalone\PopCorn\popcorn.exe""""""" ;adds shortcut to popreadme.txt within %ProgramFiles%\Standalone\PopCorn folder to %USERPROFILE%\Start Menu\Programs\Standalone\PopCorn setup.ini, progman.groups,, "group8=""%16386%\Standalone\PopCorn\""" setup.ini, group8,,"""Readme"",""""""%16422%\Standalone\PopCorn\popreadme.txt""""""" ;for meanings of %16386% and %16422% see listings below ; ; Common DIRID Listing, ; ; Destination Directories ; ; 01 - SourceDrive:\pathname (the directory from which the INF file was installed) ; 10 - Windows directory (%SystemRoot%) ; 11 - System directory (%SystemRoot%\system32 -NT-, %SystemRoot%\system -Win9x/Me-) ; 12 - Drivers directory (%SystemRoot%\system32\drivers -NT-, %SystemRoot%\system\IoSubsys -Win9x/Me-) ; 17 - INF file directory (%SystemRoot%\inf) ; 18 - Help directory (%SystemRoot%\Help) ; 20 - Fonts directory (%SystemRoot%\Fonts) ; 24 - Root directory of system disk (%SystemDrive%) ; 25 - Shared directory (%ALLUSERSPROFILE%\Shared Documents) ; 53 - User profile directory (%USERPROFILE%) ; ; Shell Special Folders ; ; 16419 %ALLUSERSPROFILE%\Application Data ; 16409 %ALLUSERSPROFILE%\Desktop ; 16430 %ALLUSERSPROFILE%\Documents ; 16437 %ALLUSERSPROFILE%\Documents\My Music ; 16438 %ALLUSERSPROFILE%\Documents\My Pictures ; 16439 %ALLUSERSPROFILE%\Documents\My Videos ; 16415 %ALLUSERSPROFILE%\Favorites ; 16406 %ALLUSERSPROFILE%\Start Menu ; 16407 %ALLUSERSPROFILE%\Start Menu\Programs ; 16431 %ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools ; 16408 %ALLUSERSPROFILE%\Start Menu\Programs\Startup ; 16429 %ALLUSERSPROFILE%\Templates ; 16410 %USERPROFILE%\Application Data ; 16417 %USERPROFILE%\Cookies ; 16384 %USERPROFILE%\Desktop ; 16400 %USERPROFILE%\Desktop ; 16390 %USERPROFILE%\Favorites ; 16412 %USERPROFILE%\Local Settings\Application Data ; 16443 %USERPROFILE%\Local Settings\Application Data\Microsoft\CD Burning ; 16418 %USERPROFILE%\Local Settings\History ; 16416 %USERPROFILE%\Local Settings\Temporary Internet Files ; 16389 %USERPROFILE%\My Documents ; 16397 %USERPROFILE%\My Documents\My Music ; 16423 %USERPROFILE%\My Documents\My Pictures ; 16398 %USERPROFILE%\My Documents\My Videos ; 16403 %USERPROFILE%\NetHood ; 16411 %USERPROFILE%\PrintHood ; 16392 %USERPROFILE%\Recent ; 16393 %USERPROFILE%\SendTo ; 16395 %USERPROFILE%\Start Menu ; 16386 %USERPROFILE%\Start Menu\Programs ; 16432 %USERPROFILE%\Start Menu\Programs\Administrative Tools ; 16391 %USERPROFILE%\Start Menu\Programs\Startup ; 16405 %USERPROFILE%\Templates ; 16422 %ProgramFiles% ; 16427 %ProgramFiles%\Common Files ; 16440 %SystemRoot%\Resources ; 16441 %SystemRoot%\Resources\0409 ; ; e.g. ; For shortcut in users Quick Launch toolbar, ; "%16410%\Microsoft\Internet Explorer\Quick Launch\" You can remove all the commented lines to make it smaller In my example the standalone programs,(all freeware), were each within their own folders within a folder called Standalone which in turn resided inside \$OEM$\$Progs and the shortcuts were all created within their own new folders within a new folder named Standalone which in turn resided in %USERPROFILE%\Start Menu\Programs. Hope this has been of some use to you!
  6. I may not have understood it correctly myself, but: WMPOCM = Off - Specifies whether to install visible entry points to Windows Media Player. i.e it isn't 'not installed', just simply the normal methods of access to it removed. The same also goes also for, IEAccess, OEAccess, WMAccess Is this correct then or not?
  7. Thanks, tried it with the 6.27.0.46 setup.exe and it almost did it, the only problem I have now is when the Program Group is created, it opens and displays on the desktop, (using runonce.ex at logon), and I would like it to either not appear in the first place, or close down on its own.....anyone, TIA.
  8. I don't know if anyone here can read German and/or translate it, if so read this, it appears to cover the previous versions of both Firefox and Thunderbird. If it's any help please share it in English....
×
×
  • Create New...