Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

[How To] Create Your Own Add-ons / zcworld video

- - - - -

  • Please log in to reply
33 replies to this topic

#1
piXelatedEmpire

piXelatedEmpire

    nLiten me, nuhi!

  • Member
  • PipPipPip
  • 306 posts
Thanks to dale5605 for the basis of these instructions


[How To Create Custom Add-ons]

First step will be creating a silent switchless installer for your application. For specific switches check the product's website or look in the Application Installs forum located here.

For help creating a 7-zip installer check out keytotime's excellent tutorial here.

Please note that svcpack.inf does support switches. If you are not wanting to repackage an installer you do have the option of using switches in the ini file.

Suggestion: before creating your add-on, download one of the posted add-ons and extract it. This will give you and indication of the structure of the add-on, and will assist in keeping the naming scheme and layout as uniform as possible.

Here are the steps required to create the add-on:

1: Create a new folder and name it after your application, ie uTorrent1.3
2: Within the above folder, create another folder called SVCPACK
3: Place your switchless installer within the SVCPACK folder
4: Rename the ini file to match the name of you add-on, for example ENTRIES_UTORRENT.ini
5: Open the ini file and edit the appropriate details under the [general] section as required, eg:
[general]
builddate=2005/14/1
description=uTorrent
language=English
title=uTorrent is an efficient and feature rich BitTorrent client for Windows sporting a very small footprint
version=1.3
website=http://utorrent.com/
6: Navigate to the [AddProgram] section of the ini file and change the name to the exe file that is within the SVCPACK folder, eg utorrent.exe (keep it as simple as possible)

Your ENTRIES_PROGRAM.ini file will look something like this:
[general]
builddate=11/21/2005
description=product description here
language=English
title=Program Name
version=1.0
website=http://www.programwebsite.com/

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
PROGRAM.EXE

You should now have a setup that looks something like this:
Posted Image

within the SVCPACK folder is ur PROGRAM.EXE switchless installer.

7: Ok, the next step is to create the .cab file. Using MakeCab or CabPack, a freeware utility available here (or any method you wish!) create the cab file of the SVCPACK folder and ENTRIES_PROGRAM.ini file. Rename this cab file to something appropriate eg uTorrent_1.3.cab.

THE NEXT STEP IS THE MOST IMPORTANT!

Before sharing your new add-on, please TEST IT! It is imperitive you test your add-on before posting to avoid problems.

Edited by ZcWorld, 15 July 2006 - 05:55 AM.



How to remove advertisement from MSFN

#2
x3ndou_

x3ndou_
  • Member
  • 8 posts
I recommend CabTool for making your cab files:

http://www3.sympatic...BTOOL_SETUP.ZIP

And also use scripts for putting it in your SendTo folder:

http://www3.sympatic...te/CABTOOLS.ZIP

Sorry if this seems like an advertisement.

How to repack an installer
(reduces size - if you have multiple files with your installation, also use this method)

For this you need WinRAR.

First, select all of the files needed for your installation and right click, go to add to archive..

Posted Image

Check SFX Archive.

Posted Image

Go to the Advanced tab and press SFX options.

Posted Image

In the run after execution box, type the name of your setup file and any switches you need for it to be silent.

Posted Image

Go to Modes. Check unpack to temporary folder.

Posted Image

Also, press Hide All.

Posted Image

Now just press okay twice, and you'll have your packed completely silent setup file!

Hope this helps.

Edited by x3ndou_, 24 February 2006 - 02:24 PM.


#3
{_carnificina_}

{_carnificina_}

    Junior

  • Member
  • Pip
  • 78 posts
Add-ons makes its easily

Nlite Add-on Maker 1.22
http://www.msfn.org/...showtopic=73008

#4
rado354

rado354

    nLited user

  • Member
  • PipPipPipPipPipPipPip
  • 1,617 posts
Apart from these guides, you can consider the use of AutoIt to make your silent addons for nLite ;)

It's fairly easy to use and all you need is:

AutoIt, SciTE - download

and CabPack - download

Help about AutoIt: here


Here is one example made by me which you can modify to suit pretty much every program ;)
TurboUpload: Everest Ultimate 2.80.534
RapidShare: Everest Ultimate 2.80.534

You will need about 30 min to understand how AutoIt works and never need to request any addons again :yes:

nJoy and share!


P.S.: another example made by me:
Posted Image

Edited by rado354, 01 July 2006 - 11:51 AM.


#5
ZcWorld

ZcWorld

    Senior Member

  • Member
  • PipPipPipPip
  • 611 posts
as piXelatedEmpire on Feb 2 2006, 06:24 PM

please do not post in this thread unless you are adding to the explanation of how to create an add-on. Otherwise, start a new thread.

topice clean up
only post howto make Addons
or a link to a post that has got howto

Edited by ZcWorld, 04 July 2006 - 07:16 AM.

>> Away : back on the 10th of jan << Woot .. back to work afters never ending fun

#6
ZcWorld

ZcWorld

    Senior Member

  • Member
  • PipPipPipPip
  • 611 posts
NOTE : THIS VIDEO IS STILL RC copy
i will do a better copy of it when i get some feedback or i get some free time
to than


download : video : http://files.filefro...;/fileinfo.html
camplayer : neeeded to play the video : http://files.filefro...;/fileinfo.html
in total for both about : 4 mb



hey all
i said i will do a video but frist things frist
i cant be stuffed in making a video at the time
But i will get one done on the weekend so its not that long away :)

ok before anyone post and say we got topices on howto make addons
i still see users got problems making them
this is how i started out
if anyone can remember some of mine frist addons post where .rar files and you where told to unzip them and add the .ini file to the Nlite driver /add on page to add them
even if you dont its all good :) i moved on to .cab now :)

ok for newbies to making there own silent install's

what you need for this
Nlite , XP , VMware / MS VPC / or a free real pc + blank CD-RW (well you dont want to waste money now do you ? )

what i do is VMware for testing :) its easyer


files we need :
xp - home / pro
Winrar ver 3.? and up
a clean copy of windows installed into VMware for testing unless you want to do it on your real PC / OS
*** not a smart move i say ***
all you will end up with a heap of ..... installed

step 1
have a look at the MSFN silent install part of the forum to find the switch to make XZY install silent

we going to be our demo on WInrar ver 3.3 and up
-> step 1.2
make a folder on c:\ , called test
copy the wrar351.exe [ or what one you got] to c:\test

step 1.3
start -> run -> cmd [[type cmd in the run box]]
now you get a box like
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\zcw-testing>

now type in the box
cd \test [ than press enter ]

now you get a line like : C:\test>

now type

wrar351.exe /s [ than press enter]

than wait 5 secs and than check the start menu
to see if winrar has being installed in
if so than write it down into a notepad or remember it

ok now we know what is the switch to make winrar installed silent is its time to make the cab

step 2
you can do this in a heap of ways
like using Nlite addon maker [ nice tool ] but we are not going to using this

open a blank notepad
than save the file as
ENTRIES_winrar351.INI
make sure you change the " save as type from text document *.txt to all files " and than save it
copy and paste this part into the file we just saved
[general]
builddate=
description=
language=
title=
version=
website=

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]


ok now its time to add our info we need
it should look like this or there abouts

[general]
builddate=06/07/2006
description=winrar
language=english
title=Winrar
version=3.51
website=

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
wrar351.exe /s
than save it

open up Nlite and goto the pick the addon and make iso


** NOTE ** im still working on the post i just saved it at the time and need to check some stuff and make screen shots
post is set to invisable to i get them in the next 50 mins or so :)

Edited by ZcWorld, 15 July 2006 - 05:58 AM.

>> Away : back on the 10th of jan << Woot .. back to work afters never ending fun

#7
tain

tain

    Cyber Ops

  • Super Moderator
  • 3,680 posts
  • OS:none specified
  • Country: Country Flag

Donator

Tomcat76 has another method that works for INF-based silent installs that can be used in addons: http://www.msfn.org/...showtopic=61784

#8
Server2003

Server2003
  • Member
  • 6 posts
Jak mám integrovat Firefox a Media player 10 to ale vše tak aby se programy nainstalovaly samy bez meho obsluhovani když je v integruju věčinou se to spusti zhruba cc 13 minut před koncem instalace a jindy až na konci instalace nechcu aby to tak bylo :no:

#9
ZcWorld

ZcWorld

    Senior Member

  • Member
  • PipPipPipPip
  • 611 posts
@ Server2003
point a : what
english please mate

point b : if you have a problem just ask for help by posting a new topice not replying to this one
:)

this is for any how to : / updates on making addons :)

let me know what the problem is and i will try and help
>> Away : back on the 10th of jan << Woot .. back to work afters never ending fun

#10
rado354

rado354

    nLited user

  • Member
  • PipPipPipPipPipPipPip
  • 1,617 posts
HowTo: Create addons with AutoIt download
MD5: 7961C362E522936ECFE14A84E50314DE
Size: 21.47 MB
Duration: 12:04
Description: learn how to create addons for nLite with AutoIt scripts. Foobar 0.9.4 is used in this example.
Commentary audio track in bulgarian language. Best viewed @ 1280x1024.

#11
scarslilpyro

scarslilpyro

    Admin

  • Member
  • 27 posts
I'm having trouble creating the cab files, some of them are 500mb :no:
Posted Image

#12
AzamaT

AzamaT
  • Member
  • 1 posts

I'm having trouble creating the cab files, some of them are 500mb :no:


may be Cab file don't support size large a 500 mb :(

#13
MGadAllah

MGadAllah

    Brain Voice

  • Member
  • PipPipPipPipPip
  • 786 posts

I'm having trouble creating the cab files, some of them are 500mb :no:

may be Cab file don't support size large a 500 mb :(

Welcome to forum mate,
I've an off topic comments,
I really do like your username because if I say your username azamat it means troubles in english ... lol :lol:
Flash and animated signatures and avatars are not permitted.

#14
scarslilpyro

scarslilpyro

    Admin

  • Member
  • 27 posts
Ok I figured out why, it seems that the cabmaker I have, virtual tek, creates a cab for every file in the folder, so I had to make a new folder and move the single install file into it.
Posted Image

#15
nuhi

nuhi

    nLite & vLite human.dll

  • Developer
  • 4,340 posts
  • OS:none specified
  • Country: Country Flag
Here is something to start with, going to edit more later, let me know if something needs more explaining.
http://www.nliteos.c...ns/entries.html
http://www.nliteos.com | http://www.vlite.net
Remove components and customize Windows

#16
ieincola

ieincola
  • Member
  • 1 posts
quick question.
in your tutorial you say in step
4: Rename the ini file to match the name of you add-on, for example ENTRIES_UTORRENT.ini

now i made the switchless installer just fine but when i got to this step you lost me.

where is the .ini file coming from?
you say nothing about an .ini in any tutorail and then in step 4 out of no where im suppose to edit a file .ini from who knows where.
please elaberate

thank you
nice tutorial anyway

#17
daddydave

daddydave

    Member

  • Member
  • PipPip
  • 102 posts
  • OS:Windows 7 x64
  • Country: Country Flag

where is the .ini file coming from?

I think "Rename the" should be "Create a new" in Step 4

Edited by daddydave, 18 January 2007 - 02:23 PM.

Drivercab Helper is now at version 1.2 and should handle Unicode files correctly now. (Download it here.)

#18
waefre79

waefre79
  • Member
  • 1 posts
why do you need the website in the script?

#19
rajprit007

rajprit007
  • Member
  • 1 posts
how to include a folder in the addon

#20
ozzy

ozzy
  • Member
  • 5 posts
I have made my first addon with firefox. I just copied most of the ini file from another firefox addon. i just wanted to make a dansih version. but when you show the following:


[general]
builddate=11/21/2005
description=product description here
language=English
title=Program Name
version=1.0
website=http://www.programwebsite.com/

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
PROGRAM.EXE


the ini file i copied from had -ms added after PROGRAM.exe:
[AddProgram]
Firefox2.exe -ms

what does -ms stand and is there a list of all those commands??

#21
careliyim

careliyim
  • Member
  • 1 posts
Please Help!

I did buy a program. And i have a serial nummer of it
When i make a Addons of my program i must activate it again.

My question is is it posible to include my identity so i don't have to activate it every time agian when i reinstal my windows ??

I hope that i gived enouh information.
(sorry for my bad english)
my email adres is careliyim2@gmail.com

#22
Arie

Arie

    One Man Army

  • Member
  • PipPipPipPipPip
  • 835 posts

I did buy a program. And i have a serial nummer of it
When i make a Addons of my program i must activate it again.

My question is is it posible to include my identity so i don't have to activate it every time agian when i reinstal my windows ??

It depends on where the registration information is stored. Some installers allow you to supply the registration information via parameters passed to the installer. If the registration information is stored in the Registry, you could export the corresponding keys and import them during installation. Other applications store their registration information in a file. You could simply have your silent installer copy over this file to the correct folder to register the application. But which application are you on about exactly? It would be easier to be of service if you would create a new topic in which you let us know which application is the culprit. If the English language is problematic for you, you can always send me a personal message in Dutch. Hope this helps.
Not trying to pretend the enemy that I am.

#23
ccl0

ccl0

    Member

  • Member
  • PipPip
  • 243 posts
very useful information indeed

#24
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
I just want to know how to create a font add-on .. coz I'm integrating a theme that uses a certain font so I need setup to add it to install .. how to do that ?

Posted Image


#25
bilalghouri

bilalghouri
  • Member
  • 7 posts
is making it .cab necessary ? cant we just use .rar extension for our silent install pack ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN