Jump to content

Recommended Posts

Posted (edited)

Requirements: 7zip

I 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:\Addon

Step 1: Tasks.txt


Name=Mozilla Firefox
Creator=Legolash2o
Version=3.0.6
Arc=x86
Description=Open Source internet browser.

[CopyFolder]
Mozilla Firefox::Program Files

[CopyFile]
Mozilla Firefox.lnk::Users\Public\Desktop
Mozilla Firefox.lnk::ProgramData\Microsoft\Windows\Start Menu\Programs

Name

This is the name of the program or addon

Creator

Your name or the maker of the addon

Version

The version of the program/addon you are making

Arc

Which version of the program you are making their are only 3 choices

x86 - 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 only

x64 - x64 only

Build (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 only

Build=7000 *Build 7000 or newer

Website (Optional)

When the addon is double clicked in the list, it will open the website specified

Step 2: Copying Folders


[CopyFolder]
Mozilla Firefox::Program Files

This is easy...

name of folder::where to put it

Mozilla 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\Desktop
Mozilla Firefox.lnk::ProgramData\Microsoft\Windows\Start Menu\Programs

Put Mozilla Firefox.lnk in your root addon folder (D:\Addon)

Also easy....

name of file including extension (.exe, .lnk, whatever):: folder to put it in

Firefox links will be copied to both Desktop and Start Menu

Step 3: Registry Entries

Just 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:00000001

Delete 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:00000001

Delete 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:\Addon

D:\Addon\Mozilla Firefox\ (with firefox files within it)

D:\Addon\Mozilla Firefox.lnk (shortcut)

D:\Addon\Tasks.txt

D:\Addon\Example.reg (optional)

Simply highlight all the files in the folder, right-click, 7zip > Add to Archive

Once its open change .7z to .WA make sure its on Ultra compression and click OK

Tasks.txt Example

7zip x64


Name=7-zip
Creator=Legolash2o
Version=4.65
Arc=x64
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\Programs

7zip x86 only


Name=7-zip
Creator=Legolash2o
Version=4.65
Arc=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\Programs

Crap Cleaner for both x64 and x86


Name=Crap Cleaner
Creator=Legolash2o
Version=2.18.878
Arc=x86
Description=Cleans all the crap on the computer

[CopyFolder]
CCleaner::Program Files

[CopyFile]
CCleaner.lnk::ProgramData\Microsoft\Windows\Start Menu\Programs

Notes

When 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

*blah

The Addon Integrator will only display "This program has the following features:"

Edited by Legolash2o
  • 4 months later...
Posted

I am having trouble installing Installwatch. Whenever I run the setup file I get am error saying "Unable to execute. "C:\Users\Sean\AppData\Local\Temp\pft1~tmp\SETUP.EXE" /SMS" Then I click on the ok button and get the dialog box saying "Package for the web error. Unable to execute the specified command line!" I took ownership of the file and have full rights but it's still not working. Any ideas anyone? Thanks in advance. BTW, I am running Vista Ultimate 32. Thanks again. Sean

Guest snakecracker
Posted

I had trouble with that download.

I Think its to do with UAC What i did was turn it off and then restart the system and i ran the installtion and it worked..

Posted

I had trouble with that download.

I Think its to do with UAC What i did was turn it off and then restart the system and i ran the installtion and it worked..

Yeah, I tried that but still didn't work. This is driving me nuts, lol. Thanks for the reply though, any more ideas? Sean.

Posted

Yeah, I have tried downloading it from several different places, including the official site but with no luck. Is there any other program I could use for help making addons?

Posted

Yea, manually install my addon using the inf file:

1- Extract the addon to a sub dir

2- Create a folder called i386 (Optional)

3- Move the .cab file into the i386 folder (Optional)

4- Right click the .inf file and choose install

5- Show the .inf installer the location of the .cab file (if steps 2+3 were skipped) and click ok

  • 4 weeks later...
Posted

Im gonna do some work to the Addon Maker so it lets you create silent installers, but you can still make one manually and integrate using the new alpha.

Posted

Im gonna do some work to the Addon Maker so it lets you create silent installers, but you can still make one manually and integrate using the new alpha.

if you mean by Silent Installer an exe file

then Yay i hope it's done sson

so i can add it's support to my tool :D

Posted

For those who want files in the user profile folders...

Use something like:

[CopyFolder]

Folder1::Users\Default

Folder1::Users\Default\AppData::

[CopyFile]

Folder2\1.exe::Users\Default

Folder2\1.exe::Users\Default\AppData

if you have any registry values or shortcuts (.lnk) then use

"%HomePath%\..." within those values/shortcut itself

Every user account created will have the folders/files by default :)

  • 2 weeks later...
Posted

For those who want files in the user profile folders...

Use something like:

[CopyFolder]

Users\Default:Folder1

Users\Default\AppData:Folder1

[CopyFile]

Users\Default:Folder2\1.exe

Users\Default\AppData:Folder2\1.exe

if you have any registry values or shortcuts (.lnk) then use

"%HomePath%\..." within those values/shortcut

Every user account created will have the folders/files by default :)

well Lego i got a few questions

since i'm working on the WA Installer

i wanted to make sure

of some stuff

Users\Default:Folder1
<< shouldn't that be double :: not only a :

,

Users\Default:Folder2\1.exe
<< i didn't get that line shouldn't the other side be the destination dir

and

"%HomePath%\..." within those values/shortcut
<< that in the task.txt or in the shortcut path it self

and if it's in the task is the the only variable or there would be more ?

Posted

well Lego i got a few questions

since i'm working on the WA Installer

i wanted to make sure

of some stuff

<< shouldn't that be double :: not only a :

,

<< i didn't get that line shouldn't the other side be the destination dir

and

<< that in the task.txt or in the shortcut path it self

and if it's in the task is the the only variable or there would be more ?

Opps, sorry.

1. Yep double ::

2. Fixed

3. shortcut or registry value itself not in the task.txt

  • 2 weeks later...
Guest snakecracker
Posted (edited)

I was wondering if %DefaultProfile% means it will go to all the user profiles. Where does %Desktop% Go to ?

Only the first time user?

%Desktop% will go to the desktop of all users, so if you have a shortcut that you want to put onto the desktop use %Desktop% to get that file to the desktop. :)

Edited by snakecracker
  • 4 weeks later...
Posted

Hey Lego. I have a few questions on making addons for 7. Under [CopyFolder], do you add all of the other folder names also, plus the folders?

Ex. System32 etc.

  • 4 weeks later...
Posted (edited)

Hi,

i've a problem with registy-entries in an addon. I created a addon for "VLC Media Player" (German). For the contextmenu on directories the following code is used:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\AddToPlaylistVLC]
@="Zur VLC's Wiedergabeliste hinzufügen"

The Problem is that after integration with W7T and installation the "ü" from "hinzufügen" is converted to somthing strange. The Reg is saved as "Unicode". Do i have to save the Reg as "ANSI" or "UTF-8"? What can i do? Maybe its a bug in W7T?

Please help me

Thanks

Edited by testesser1
Posted

I am updating my addon maker and tryng to incorporate this into it and I have 2 question.

1 - Will "Mozilla Firefox::Program Files" install into "Program Files (x86)" on 64-bit systems?

2 - can i run a command or installer, yet?

Thanks

Posted

I am updating my addon maker and tryng to incorporate this into it and I have 2 question.

1 - Will "Mozilla Firefox::Program Files" install into "Program Files (x86)" on 64-bit systems?

2 - can i run a command or installer, yet?

Thanks

about first question

if you made the

Arc=x86 then yes

second

i think not yet but you can try it with runonce commands

it's the only known way now

Posted

about first question

if you made the

Arc=x86 then yes

second

i think not yet but you can try it with runonce commands

it's the only known way now

Thanks

Would the addon be called a "WA" addon or a "W7T" addon?

Posted

Thanks

Would the addon be called a "WA" addon or a "W7T" addon?

if you mean what you should call it then i think you should call it

W7T addon if about the the extension should be .WA

compressed with 7zip

  • 9 months later...
Posted (edited)

Requirements: 7zip

Simply highlight all the files in the folder, right-click, 7zip > Add to Archive

Once its open change .7z to .WA make sure its on Ultra compression and click OK

Hi,

Can't change .7z to .WA on 7zip :blush: .

The available Archive format are: 7z, tar and zip

I'll appreciate any help

Edited by coucou
Posted

There should be a box at the top with the default name ie Win7Addon.7z

Just before you click ok just type in .WA instead, if that still does not work then you might have to show all extensions and rename it manually, or just use the Addon Maker tool within W7T.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...