Installing Project Publisher
Before installing Project Publisher, make sure you have already
installed all the required programs. This will make sure that the
addin would be able to find them and change the settings automatically
the first time it is run.
Most of the steps in the testing phase is automatically done by the
wizard. You may only need to click the Next button on those pages.
To install Project Publisher:
- Copy the file "ProjPub.dll" from the zipped file into the
"Addins" folder of your IDE.
- Copy the file "ProjPub.chm" from the zipped file into the
"Addins\Help" folder of your IDE.
- Create a folder named "ProjPub" in the folder of your IDE
and put the "Graphics", "Languages" and "Licenses" folders
from the zipped file.
- Open your IDE and go to Options -> Project Publisher in
FbEdit or Option -> Project Publisher in RadASM. The
Project Publisher Settings dialog box will appear.
- Type the path to makensis.exe in the first edit box
(commonly "C:\Program Files\NSIS\makensis.exe", but detected
by reading the registry). Put your full name in the second
edit box (the default is the registered owner in Windows NT
or user name in Windows 9x and Windows NT, depending which one
is available).
- Test Project Publisher by creating a new project and then
use the Publish Project Wizard (Make -> Publish).
To test Project Publisher:
- Open your IDE if you still haven't done so.
- Go to File -> New Project in the menu. The New Project
dialog box (FbEdit) or wizard (RadASM) will appear.
- Set the project name as "HelloWorld" and the project
description as "Hello World". The project name will become
the filename of the project and the project description will
become the application name.
- Use the DialogAsMain.tpl template if you are using FbEdit.
Use the Win32 App project type then DialogApp.tpl template in
RadASM. You may also use the example Hello World program in
RadASM if you use FreeBASIC.
- Create the project by clicking OK.
- Change the source files and the resources if you want.
- Go to Make -> Compile in the menu to compile the
project.
- Go to Make -> Publish in the menu. The Project Publish
Wizard will now appear.
- In the Welcome page, click Next. The Project Type page
will now appear.
- In the Project Type page, select Basic Application then
click Next. The Project Information page will now appear.
- In the Project Information page, type the name, display
version, version, author and short name (filename) of the
application then click Next. The License page will now appear.
- In the License page, select "Use this license:" then
select "GNU General Public License (version 3)" in the list
box then click Next. The Install Folder page will now appear.
- In the Install Folder page, type "Hello World" as the
installation folder then click Next. The Files page will now
appear.
- In the Files page, click the "+" button next to the
"Folders" list box. The Add New Folder dialog box will now
appear.
- Type "$INSTDIR" as folder name in the combo box. Click
OK. The Add New Folder dialog box will now close.
- In the Files page, click the "+" button next to the
"Files in Selected Folder" list box. The Select File To
Include dialog box will now appear.
- Select "HelloWorld.exe" then click Open. The Select File
To Include dialog box will now close.
- In the Files page, click the Select button next to the
Main Program edit box. The Select Main Program dialog box will
now appear.
- In the list box, select "$INSTDIR\HelloWorld.exe" then
click OK. The Select Main Program dialog box will now close.
- In the Files page, click Next. The User Interface page
will now appear.
- In the User Interface page, select "Use NSIS's defaults"
then click Next. The Shortcuts page will now appear.
- In the Shortcuts page, type "Hello World" in the Folder
edit box. Check the "Main Program in Start Menu", "Uninstaller
in Start Menu" and "Main Program in Desktop" checkboxes then
click Next. The Preview page will now appear.
- In the Preview page, click Next. The project will now be
published. The output of makensis will show up in the list
view. After the progress bar is filled, click Next. The Finish
page will now appear if everything is OK.
- In the Finish page, check the "Run the installer" checkbox
if you want to run the installer after you clicked Finish.
Click Finish to close the wizard.
- You may now install and test the installer. Go to Control
Panel -> Add/Remove Programs, select "Hello World" then
click Uninstall, or Start -> All Programs > Hello World
> Uninstall to run the uninstaller and remove the
application.
Related topics:
© 2010 Arnel A. Borja (galeon@ymail.com)