-
Posts
8,715 -
Joined
-
Last visited
-
Days Won
444
Content Type
Profiles
Forums
Events
Everything posted by ricktendo
-
[Release] Windows XP Post SP3 UpdatePack 1.0.9
ricktendo replied to ricktendo's topic in WPI, nLite and RVM Addons
v1.0.4 Fixed MRT -
CopyFiles [install-section-name] CopyFiles=file-list-section [file-list-section] destination-file1-name(, source-file1-name)(, temporary-file1-name)(,flag) destination-file2-name(, source-file2-name)(, temporary-file2-name)(,flag) A list of the names of files to be copied from a source disk to a destination directory. The source disk and destination directory associated with each file are specified in other sections of the INF file. The file-list-section name must appear in the CopyFiles item of an Install section. You also must define the destination directory for each CopyFiles section using the DestinationDirs section. This example copies three files to %ProgramFiles%\Files [DefaultInstall] CopyFiles = CopyTheseFilesSec [DestintaionDirs] CopyTheseFilesSec = 16422,"Files" [CopyTheseFilesSec] newname.txt,oldname.txt;<-This renames "oldname.txt" to "newname.txt" during copy executable.exe helpfile.hlp ===================================================================== CoyFiles and a "Single" file If you are using CopyFiles in your INF to copy a single file you probably use something like this. CopyFiles=Section.Name [DestinationDirs] Section.Name=ldid(,subdir) [Section.Name] singlefile.ext;<-This is a section only has single file, we don't need it Here is another way (I will be using a example that copies my INF to the %WinDir%\inf directory for uninstall.) [DefaultInstall] CopyFiles=@USDownld.inf [DestinationDirs] DefaultDestDir=17;<-This sets the default destination dir of the file/s with the "@" symbol Its really quite simple, in CopyFiles you add the "@" symbol followed by the filename and extention. CopyFiles=@filename.ext In [DestinationDirs] you add a DefaultDestDir [DestinationDirs] DefaultDestDir=ldid(,subdir) Source: INF_DOC Part-4
-
I wrote this template to create a INF Uninstaller for those small apps that come in zip files and don't have any install/uninstallers. (feel free to ask questions and improve on it any way you like) ;ricktendo64 2007 [Version] Signature="$CHICAGO$" ;Add this to your [Optional Componenets] [Add This] AddReg=Uninstall.AddReg ;Tells the INF what directory & sub-folder the [Program.Files] are located [DestinationDirs] Program.Files=16422,%PROG_DIR% ;Adds option to "Add or Remove Programs" [Uninstall.AddDelReg] HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","DisplayIcon",0,"%16422%\%PROG_DIR%\Program.exe" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","DisplayName",0,"%PROG_NAME%" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","DisplayVersion",0,"%VERS%" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","NoModify",0x10001,01,00,00,00 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","NoRepair",0x10001,01,00,00,00 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%PROG_NAME%","UninstallString",0,"rundll32.exe advpack.dll,LaunchINFSection %MAIN_INF%,Uninstall" ;Uninstall section that will be launched [Uninstall] BeginPrompt =BeginUnInsPrompt RunPreSetupCommands =Close.Program:1 ;<- The ":1" Flag Hides the taskkill.exe CMD window (does not need to be in section name) DelFiles =Program.Files,PNF.File DelDirs =Program.Dirs ProfileItems =Program.DelShortcut DelReg =Uninstall.AddDelReg UpdateInis =sysoc.Edit EndPrompt =EndUnInsPrompt RunPostSetupCommands=Dir.Delete,Launch.Website Cleanup =1 ;Closes program executable if running before uninstall [Close.Program] TASKKILL /F /IM Program.exe ;for XP Home compatibility use TSKILL Program ;<- tskill fails if you add the file extention (bad example: tskill program.exe) ;Program files to delete, will not work without a DestinationDir [Program.Files] Program.exe Program.ini ShellExt.dll,,,1 ;The ",1" flag is used if the file is in use, so entries will be added to the registry to delete it on next boot. ;Obsolote PNF file created during Windows Setup (Requires a entry in DestinationDirs example PNF.File=17) [PNF.File] addon.PNF ;Deletes Start Menu shortcut using profileitems the secret is the ",0x00000002" flag (also used is 3 and 4) [Program.DelShortcut] Name =%PROG_NAME%,0x00000002 SubDir=%SUB_DIR% ;Removes addon entry from sysoc.inf so Cleanup=1 does not break Add/Rem Windows Components [sysoc.Edit] %17%\sysoc.inf,Componets,Whatever Is Under [Optional Components]=* ;Deletes Program Folder (will only delete empty folder) [Program.Dirs] %16422%/%PROG_DIR% ;Deletes Folders and files in them [Dir.Delete] rundll32.exe advpack.dll,DelNodeRunDLL32 %16422%\%PROG_DIR%,<flag> [Launch.Website] rundll32.exe url.dll,FileProtocolHandler [url="http://www.ryanvm.net/msfn/"]http://www.ryanvm.net/msfn/[/url] ;Uninstall Prompt [BeginUnInsPrompt] Title =%PROG_NAME% Uninstaller Prompt =Are you sure you want to remove %PROG_NAME% from your computer? ButtonType=YESNO ;<- YESNO or OKCANC ;Optional End Prompt (not really nessesary just tells you the uninstall was a success.) [EndUnInsPrompt] Prompt=%PROG_NAME% was successfully removed from your computer. ;Here you tell the INF what all the variables are (Example: lets say %VAR% so under strings you add VAR=VARIABLE) [Strings] MAIN_INF ="Program.inf" PROG_DIR ="Program Folder" PROG_NAME="Program Name" SUB_DIR ="Start Menu Sub"
-
Everybody knows how to use ProfileItems to add/del shortcuts for your programs. And everybody knows the basic flags (so I will skip this part) Here is some exotic stuff you NEED and do NOT NEED to know about ProfileItems, including some new tips on how to add special types of shortcuts that do NOT go in the standard places like the All Programs group in your Start Menu. QuickLaunch Shortcut Example ProfileItems = Sidebar.QuickLaunch.AddShortcut [Sidebar.QuickLaunch.AddShortcut] Name = %SIDEBAR%,8,26 CmdLine = 16422,%SIDEBAR%,sidebar.exe SubDir = %QUICK% WorkingDir = 16422,%SIDEBAR% InfoTip = "@%%ProgramFiles%%\%SIDEBAR%\sidebar.exe,-1012" DisplayResource = "%%ProgramFiles%%\%SIDEBAR%\sidebar.exe",1000 [Strings] SIDEBAR = "Windows Sidebar" QUICK = "Microsoft\Internet Explorer\Quick Launch" SendTo Shortcut Example This is a double wammy, in addition of showing you how to add a shortcut to SendTo folder it shows how its possible to use ProfileItmes to make shortcuts to CMD and other files that were not possible before. ProfileItems = Reg2Inf.SendTo.AddShortcut [Reg2Inf.SendTo.AddShortcut] Name = Reg2Inf,8,9 CmdLine = 11,,Reg2InfHandler.cmd WorkingDir = 11 IconPath = 11,,shell32.dll IconIndex = 71;<- Include this for DLL/EXE files with multipple icons The secret of making links to files that cant normally be done using ProfileItems is IconPath and IconIndex, I point the CMD shortcut to the shell32.dll icon for CMD files but you can use any custom path to any icon. I prefer to point n7Epilson's Reg2Inf shortcut to regedit.exe like so IconPath = 10,,regedit.exe;<-You dont need a IconIndex for this, IconPath uses the first executable/library icon by default. How to add custom bookmark links for IE You can also Delete Bookmarks... More info bellow ProfileItems = RyanVM.AddBookmark [RyanVM.AddBookmark] Name = RyanVM's MSFN Files Page,8,6 URL = "http://www.ryanvm.net/msfn/" IconPath = 16422,%IE%,IEXPLORE.EXE IconIndex = 1 [Strings] IE = "Internet Explorer" Desktop & Folder Shortcut Example Another double wammy, the following shows how to create a link to a Folder (%WinDir% or WINDOWS) in addition to creating it in %AllUsersProfile%\Desktop ProfileItems = Desktop.WinDir.AddShortcut [Desktop.WinDir.AddShortcut] Name = WINDOWS,8,25 CmdLine = 10,,;<- Will NOT work without subdir commas WorkingDir = 0;<- Very Important you use Zero IconPath = 11,,shell32.dll IconIndex = 3;<- Folder icon number in shell32.dll Here are some of the special flags (more to come) you can use for all sorts of cool things (I have more flags but I wont post them because they lead to the Fonts and other useless directories) Not all of them work during Windows Setup In order to DELETE any of the same links as above using ProfileItems in your INF Uninstall, use the 0x0000000A,XX flag followed by the special number. Use the same one you used to add the link in the first place (just edit "XX"). Example: The following deletes "Windows Update.LNK" from %AllUsersProfile%\Start Menu ProfileItems = MU.DelShortcut [MU.DelShortcut] Name=Windows Update,0x0000000A,22
-
[strings] The "Strings" section is generally the last section in the INF file, a string key defined in this section may be used anywhere in the INF file that the corresponding string would be used. Using a strings key requires that it be enclosed in percent signs (%) [Strings] strings-key=value Here is an example of what Strings are used for Somewhere in the INF file you may find something like %String0%. To find out what that will get translated/expanded to simply look under the [strings] section and you will find the answer [Strings] String0="My Application";<- This is %String0% String1="My Application Readme File" Part-3
-
First off I want to thank Kelsenellenelvian for getting me started on INF addons (T.Y. Kelso ) OK here is some reading you guys can do if you want to learn to write INF addons/installers, I use them all the time to take a quick peek when I'm lost Feel free to ask any quetstion or post more usefull links for other usefull inf tutorials you think should go here
-
Yea sure why not, but IMO always better to use a freshly made ISO
-
[Version] The Version section is at the beginning of every INF file (all INF files must have this section.) It determines what Platforms or Operating Systems the files can be installed on. For Windows NT-based operating systems (NT, 2000, XP) [Version] Signature="$Windows NT$" For Windows 9x (95, 98, ME) [Version] Signature="$Windows 95$" For ALL Windows Versions (95, 98, ME, NT, 2000, XP) [Version] Signature="$CHICAGO$" Note: Note the signature string recognition is case-insensitive. So, for example, you can use either $Chicago$ or $CHICAGO$. Part-2
-
To add a shortcut to the desktop using ProfileItems try something like this (notice I leave out the SubDir=) [Desktop.AddShortcut] Name = Shortcut Name,0x00000008,25 CmdLine = 16422,%PROG_DIR%,Program.exe WorkingDir = 16422,%PROG_DIR% To delete it use Name = Shortcut Name,0x0000000A,25 I just change the flag from 0x00000008 to 0x0000000A (,25 is the desktop number) Here are some other custom flags I discovered
-
Gygaman I use V'ISO along with WB6, Windows Sidebar, Nero DiscCopy and ViStart Updated Beta 5, couple of changes: Updated copy, move and delete AVI's and Dialog box (more Vista like) Updated Windows Flag
-
Downloads here too.
-
[AddOn] Windows Sidebar v6.0.6002.18005
ricktendo replied to ricktendo's topic in OS Transformation Packs
I don't have WiFi so I cant test but that is the nature of the beast, some gadgets work for some and don't for others (Rafael creator of Alky for Apps might be able to help you better. Report Alky Bugs Here) BTW the Network Traffic gadet works for me IDK what could be the problem -
You can change it
-
[AddOn] Windows Sidebar v6.0.6002.18005
ricktendo replied to ricktendo's topic in OS Transformation Packs
Yes... Install this version of W-Lan http://www.microsoft.com/downloads/details...71-158efd1ada50Now before you try to install the Windows Sidebar you have to edit/delete a line in Sidebar.inf Now install it as stated in the instructions -
When you insert your Windows XP, 2000 or Vista into your CD/DVD Rom, reformat and installUnattended means you don't have to enter any Key or anything during Windows Setup
-
Hey glad you like the USD installer/addon BTW updated USD - Updated USD 1.3.4.80 (version number remains the same) - Updated/added latest plugins - Added (error, add, downloaded, completed and popup) sounds to USD Uninstall the prev version P.S. I am not a programmer I just follow the guys here on ru board (they are the ones who continued USD) I just make it easy to install
-
[AddOn] TrueTransparency v0.7 (Updated 10/10/07)
ricktendo replied to ricktendo's topic in WPI, nLite and RVM Addons
I have no idea how to write a INF for x64 -
Its ALIVE! Its ALIVE! Off Topic: I don't think they will add those Kel
-
[AddOn] Windows Sidebar v6.0.6002.18005
ricktendo replied to ricktendo's topic in OS Transformation Packs
Sorry pete never had that issue -
Doe anyone know where this is
ricktendo replied to LUZR4LIFE's topic in Windows XP Tutorials and Tips
Its in system32 or in your i386 folder Off Topic: Hey LUZR why were you warned by a Mod do you remember? Your warning level is @ 20% (I will reduce it) -
OnePiece's Internet Explorer 7 True Addon w/updates
ricktendo replied to kontini's topic in WPI, nLite and RVM Addons
Correct but in the 8.3 mod they don't match see: