Good afternoon in this post will be shown how to make an installer libraries, DLL, OCX, and to TTF.
To make an installer need a program called INNO SETUP which is free, fails them the download link.
First we need to have a folder where we will have all the DLL, OCX or TTF files.
image
In that folder’ll put all the libraries and fonts needed.
image
Then we go to INNO SETUP and give new.
image
Then a window will appear to put the extra data installation.
image 
In the next window you can choose the location of where the libraries were installed, in this case does not need to be installed as system files.

image

Then choose what files install.
image
We can then put the license and other documentation.
image
Then we choose the language of the installation.
image
In order foregoing is merely introductory.
All they need is the following code
[Setup]
; ID MUST CREATE ANOTHER FOR NOT CONFUSE WITH OTHER INSTALLATION
AppId = {{076CE02D-6C19-4C67-8F08-78A553968C63}
AppName = INSTALLER
AppVersion = 2.2   
; AppVerName = INSTALLER
AppPublisher = Installer Example
AppPublisherURL = http: //julius555.blogspot.com
AppSupportURL = http: //julius555.blogspot.com
AppUpdatesURL = http: //julius555.blogspot.com
 
; CREATE A DIRECTORY FOR THE APPLICATION
CreateAppDir = no
 
; OUTPUT DIRECTORY
OutputDir =. \
 
; BASE FILE NAME
2.4 Integral OutputBaseFilename = Aetius
 
; COMPRESSION TOOL
Compression = lzma
SolidCompression = yes
 
[Languages]
Name: "spanish" ; MessagesFile: "compiler: Languages ​​\ Spanish.isl"
 
[Files]
; NOTE: WHEN THE SEA SYSTEM IS 64 BITS rating should SPEND AND LIBRARIES TO REGISTER FOLDER SYSWOW64
; WHEN THE SYSTEM IS SEA OF 32 BITS AND PASS rating should LIBRARIES TO REGISTER FOLDER SYSTEM32  
 
; IN THIS LINE SEND ALL LIBRARIES DLL A SYSTEM32 FOLDER AND RECORDS
Source: "* .dll" ; DestDir: "{sys}" ; Flags: onlyifdoesntexist regserver 32bit noregerror
 
; He SEND THIS LINE IN ALL LIBRARIES DLL SYSWOW64 A FOLDER AND RECORDS, IS FOR WHEN 
; THE OPERATING SYSTEM IS 64 BITS
Source: "* .dll" ; DestDir: "{sys}" ; Flags: onlyifdoesntexist regserver 64bit noregerror; Check: IsWin64
 
; ON THESE TWO LINES AS WELL AS THE LAST TWO register with SYSTEM32 LIBRARIES AS BOTH IN SYSWOW64
; WITH A DIFFERENCE THAT THIS WILL PASS THE FILES 0CX
Source: "* .ocx" ; DestDir: "{sys}" ; Flags: onlyifdoesntexist regserver 32bit noregerror
Source: "* .ocx" ; DestDir: "{sys}" ; Flags: onlyifdoesntexist regserver 64bit noregerror; Check: IsWin64
 
    
; WITH THIS LINE IS NECESSARY SOURCES PASARAN
Source: "* .ttf" ; DestDir: "{fonts}" ; Flags: onlyifdoesntexist uninsneveruninstall
; NOTE: Do not use "Flags: ignoreversion" on any shared system files
Assuming you already have the file, we must save it in the same folder where the libraries are, eg
image
 
Then we open the file and compile it.
image
 
And presto, we have our Installer
 
image
 
video example

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.0”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

Anuncios