Project Publisher banner art

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:

  1. Copy the file "ProjPub.dll" from the zipped file into the "Addins" folder of your IDE.
  2. Copy the file "ProjPub.chm" from the zipped file into the "Addins\Help" folder of your IDE.
  3. Create a folder named "ProjPub" in the folder of your IDE and put the "Graphics", "Languages" and "Licenses" folders from the zipped file.
  4. 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.
  5. 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).
  6. Test Project Publisher by creating a new project and then use the Publish Project Wizard (Make -> Publish).

To test Project Publisher:

  1. Open your IDE if you still haven't done so.
  2. Go to File -> New Project in the menu. The New Project dialog box (FbEdit) or wizard (RadASM) will appear.
  3. 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.
  4. 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.
  5. Create the project by clicking OK.
  6. Change the source files and the resources if you want.
  7. Go to Make -> Compile in the menu to compile the project.
  8. Go to Make -> Publish in the menu. The Project Publish Wizard will now appear.
  9. In the Welcome page, click Next. The Project Type page will now appear.
  10. In the Project Type page, select Basic Application then click Next. The Project Information page will now appear.
  11. 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.
  12. 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.
  13. In the Install Folder page, type "Hello World" as the installation folder then click Next. The Files page will now appear.
  14. In the Files page, click the "+" button next to the "Folders" list box. The Add New Folder dialog box will now appear.
  15. Type "$INSTDIR" as folder name in the combo box. Click OK. The Add New Folder dialog box will now close.
  16. 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.
  17. Select "HelloWorld.exe" then click Open. The Select File To Include dialog box will now close.
  18. In the Files page, click the Select button next to the Main Program edit box. The Select Main Program dialog box will now appear.
  19. In the list box, select "$INSTDIR\HelloWorld.exe" then click OK. The Select Main Program dialog box will now close.
  20. In the Files page, click Next. The User Interface page will now appear.
  21. In the User Interface page, select "Use NSIS's defaults" then click Next. The Shortcuts page will now appear.
  22. 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.
  23. 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.
  24. 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.
  25. 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)