Legolash2o Posted April 4, 2009 Share Posted April 4, 2009 (edited) Requirements: 7zipI recommend using InstallWatch as it records what new registry entries there is and also which files have been modified.Every .WA needs a tasks.txt file within it so W7T knows what to do with it, an example is below:Make a folder i.e. D:\AddonStep 1: Tasks.txtName=Mozilla FirefoxCreator=Legolash2oVersion=3.0.6Arc=x86Description=Open Source internet browser.[CopyFolder]Mozilla Firefox::Program Files[CopyFile]Mozilla Firefox.lnk::Users\Public\DesktopMozilla Firefox.lnk::ProgramData\Microsoft\Windows\Start Menu\ProgramsNameThis is the name of the program or addonCreatorYour name or the maker of the addonVersionThe version of the program/addon you are makingArcWhich version of the program you are making their are only 3 choicesx86 - These addon will work on both x86 and x64 images, if it is integrated into x64 it will put the files in folders like "Program Files (x86)" or "SysWOW64".x86! - x86 onlyx64 - x64 onlyBuild (Optional)This will only let you install the addon on certain versions of windows i.e. 7068. This is useful for patches like Themes.Build=7000! *Build 7000 onlyBuild=7000 *Build 7000 or newerWebsite (Optional)When the addon is double clicked in the list, it will open the website specifiedStep 2: Copying Folders[CopyFolder]Mozilla Firefox::Program FilesThis is easy...name of folder::where to put itMozilla Firefox will be copied into Program Files folder.Put Mozilla Firefox folder in your root addon folder (D:\Addon)Step 3: Copying Files[CopyFile]Mozilla Firefox.lnk::Users\Public\DesktopMozilla Firefox.lnk::ProgramData\Microsoft\Windows\Start Menu\ProgramsPut Mozilla Firefox.lnk in your root addon folder (D:\Addon)Also easy....name of file including extension (.exe, .lnk, whatever):: folder to put it inFirefox links will be copied to both Desktop and Start MenuStep 3: Registry EntriesJust simply copy the exported .reg file into the root folder of the addon (D:\Addon)Note: You may want to clean the registry file and remove entries like your name, serial codes, temp stuff like MuiCache and sometimes there is a really long entry and i mean long, remove that too!Normal Registry File Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\1]"Example"="This is an example string""Example2"=dword:00000001Delete Key (Note they hyphen (-) before HKEY_LOCAL_MACHINE\)Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\1]"Example"="This is an example string""Example2"=dword:00000001Delete Value (Note the hyphen (-) after the equals sign(=))Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\1]"Example"="This is an example string""Example2"=-Step 4: Creating the addon file (.WA)Using the example above you should have something similar to...D:\AddonD:\Addon\Mozilla Firefox\ (with firefox files within it)D:\Addon\Mozilla Firefox.lnk (shortcut)D:\Addon\Tasks.txtD:\Addon\Example.reg (optional)Simply highlight all the files in the folder, right-click, 7zip > Add to ArchiveOnce its open change .7z to .WA make sure its on Ultra compression and click OKTasks.txt Example7zip x64Name=7-zipCreator=Legolash2oVersion=4.65Arc=x64Description=7-Zip is an open source file archiver designed originally for Microsoft Windows. Blah.[CopyFolder]7-Zip::Program Files[CopyFile]7-Zip File Manager.lnk::ProgramData\Microsoft\Windows\Start Menu\Programs7zip x86 only Name=7-zipCreator=Legolash2oVersion=4.65Arc=x86!Description=7-Zip is an open source file archiver designed originally for Microsoft Windows. Blah.[CopyFolder]7-Zip::Program Files[CopyFile]7-Zip File Manager.lnk::ProgramData\Microsoft\Windows\Start Menu\ProgramsCrap Cleaner for both x64 and x86Name=Crap CleanerCreator=Legolash2oVersion=2.18.878Arc=x86Description=Cleans all the crap on the computer[CopyFolder]CCleaner::Program Files[CopyFile]CCleaner.lnk::ProgramData\Microsoft\Windows\Start Menu\ProgramsNotesWhen it comes to the "Description" in tasks.txt it can only be one line, it can not be multiple lines.For example:This program has the following features:*blah*blah*blahThe Addon Integrator will only display "This program has the following features:" Edited September 27, 2010 by Legolash2o Ali Sahandi, SunLion and mehdi.n 3 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.