jaPBe 1.3.9.16
Posted: Tue Sep 16, 2003 7:47 pm
http://caosandkin.bei.t-online.de/purebasic/jaPBe/
New in Version 1.3.9.16
#######################
Plugin Installer
----------------
Too many things to say. This Plugin can create one-file-install-programs. You must create config-ascii-textfile, here
a one, which explain everything:
----------------------
;
; Example-Install-File
;
; When a line start with ";", the line is ignored complete
;
[Settings]
Logo = "** path + name of a image, 420x60 Pixel **"
Project = "** name of the project"
Destination = "** Path+Name for the final Install-file, which is created by installer**"
Install = "** Default Installation Path **"
; Here can you definied the default installpath. You can use this jokers:
; %Windows% = Path to the Windows-Folder (c:\windows)
; %WindowsSystem% = Path to the Windows-System-Folder (C:\Windows\System)
; %PureBasic& = Path to the PureBasic folder, or when it doesn't exist "C:\Program files\PureBasic"
; %jaPBe% = Path to the jaPBe folder, or when no fileassociate with japbe, "C:\Program files\jaPBe"
; %ProgramFiles% = Path to the Program Files-Folder ("c:\program files")
; %Current% = Path to the Install-Program
; %Install% = The Install-Path, which the user has selected.
; OK, This one is useless for install=, but there are other codes here, which need this (links...)
; %Temp% = Also here useless, but container can use this.
; for example: "%programfiles%\My Programm\"
CreateUnInstall = Yes
; Creates a uninstall-programm. Also the Software is added in the software-panel of windows.
; Only files, which are created are deleted. Also only directorys, which are created by the
; install are deleted. When the directory already exist before installation, this directory
; will not deleted!
; When the folder isn't empty (because of savefiles, userdatas, etc), the uninstall will ask,
; if he should delete the folder.
DefaultCreateLink = Yes
DefaultCreateDesktopLink = No
DefaultCreateQuickLaunchLink = No
; You can defined later, that the installer creates links in the start-menu (in the program-
; folder, he created a new group with the project name), on the desktop and in the QuickLaunch-
; bar in the taskbar.
; The user can all of this deaktivate. Also you can definied, that the program should create
; this link by default or not.
; I don't like it, when installprogramm create links on the desktop and in the quick launch,
; so this is changeable by the user.
; btw. the uninstall is always add to the program-folder/project.
AfterInstallPRG = "** Path+name of a programm **"
AfterInstallCMD = "** Command **"
; After all files are created (also the links) and before the user can click on ready, you can
; definied a program, which will start then automatical.
; This is usefull, when you want to add registrykeys. The install-program will wait until this
; programm quits.
; Both, *PRG and *CMD, can use jokers (see above).
; When you don't need this, remove this line above.
BeforeUninstallPRG = "** Path+name of a programm **"
BeforeUninstallCMD = "** Command **"
; Same as AfterInstall*, but this time the programm is called, before any file is removed.
; Usefull when you want to remove registry-keys or something like this.
RunPRG = "** Path+name of a programm **"
RunCMD = "** Command **"
; Nearly the same as AfterInstall*, but this time, the program is started, when the install-
; window is closed and the install was successfull. When i install a program, i will normaly
; start it. You can do this with this command.
; a example "%install%\my program.exe"
[Welcome Message]
; Here can you write your welcome message. Simple write the text in the follow lines
; The message can go over more than one line. Also, when a line don't pass in the text-box
; in the install-window, it will broken automatically.
[Finish Message]
; This message appear, when the installations is sucessfull.
; Also this can go over more lines, like "Welcome Message"
[Text]
; You can redefinied (nearly) every text of the installer. When you want the default-text
; (english), you can delete this lines.
InstallTo = "Install to..."
NeededSpace = "Disk space needed:"
FreeSpace = "Available disk space:"
CreateLink = "Create a program group"
CreateDesktopLink = "Create links on the desktop"
CreateQuickLaunchLink = "Create links in the Quick Launch"
CopyFiles = "Copy files..."
ReallyExit = "Really exit installation?"
FileExist = "File Already exist"
OldFile = "Existing file"
NewFile = "New file"
Overwrite = "Overwrite"
OverwriteAll = "Overwrite all"
DonTOverwrite = "Leave the old"
DonTOverwriteAll = "Leave all the old"
Back = "Back"
Next = "Next"
Install = "Install"
Ready = "Ready"
Cancel = "Cancel"
Uninstall = "Really uninstall %1?"
LeaveNewFiles = "Don't earse new files (for example settings)"
Yes = "Yes"
NO = "No"
UnInstallReady = "All files removed."
UnInstallLink = "Uninstall %1"
DirNotEmpty = "Directory is not empty! Remove it?"
[Container]
; Ok, now we defined a normal container.
; Every container must start with a [Container]!
Name = "** Name of the Container **"
Path = "** Path to the files, which should add **"
Files = "*.*"
; or any other of the dos-jokers, like "*.exe" or "*.PB". You can seperate more than one joker by a ","
; ("*.exe,*.inf,*.txt,MyPrg*.*")
; Little tip: You can also use full names, so you can select alle the files, which you need.
; ("My Program.Exe,Logo.bmp,Readme.txt")
IncludeSubdirectorys = Yes
; the name should be say everything.
Destination = "%Install%\"
; You don't must install the program to the path, that the user select. You can use the path-jokers.
; For example, you can install a DLL direct in the windows\system-folder.
Checked = Yes
; When you have more than one container, you can say, that the container will not install by default
; (for example sourcecodes)
Changeable = Yes
; So you can say the install-program, that the user doesn't have the chance to change the checked-status.
; Basis-Files of a program should be always installed.
OverwriteOlds = No
; Normaly the installer asked, before he overwrite old files, but when you set this to yes, the install always
; overwrite files, which are older than the files in the container.
; Have i said, that the install store the date and the attributes of a file?
; ok, now we have a normal container. But for some case, you must install additional thinks. For example when
; you use a avi and this avi use a specail codec. For this it would be usefull to unpack all the files of the
; container in a temporary-directory and start the exe and then the temporary-directory should be removed.
; Tada:
RunPrg = "** %temp%\Setup.exe **"
RunCmd = "** Command **
; When you add a RunPRG to a container, a temp-direcotry in the windows-temp-folder is created. In this case,
; you should set Destination = "%temp%\". The programm is started, after all files of the container are copied.
; Install will wait until the RunPRG exit. After this, the temporary-folder and all files/folders in it will be
; removed. Also the uninstaller don't care about this files! So always unpack all the files in the "%temp%\"!
[Link]
Name = "** Name of the Link"
Prg = "** Path&name to the linked programm **"
; for example "%install%\MyProgram.exe". When the exe don't exist, no Link is created. This is usefull, when
; you want to set links for all your containers, but the user can deselect the container.
; So no dead links are created.
Icon = "** Path to the linked Programm **",1
; When you don't want the default-icon of the linked exe, you can set here a diffrent one. After the "," you
; can set a index, when more than one icon is in the exe.
[DesktopLink]
;See link
[QuickLaunchLink]
;See link
-----------------------------
IncludePack
-----------
Change a includename to registry. Don't worry about it, the includename will automatic changed in your project. Also System has a functions.
Help
----
* When the jaPBe-directory and the PB-directory is identical, all entries in the help-menu are double. fixed.
Compile
-------
* When a fatal-error while starting the compiler appear, it was ignored.
* Manual Compiler
For all, who will use all functions, which are with jaPBe (and PB IDE) are not possible
jaPBe can't detect errors and so one. look in the console-window.
* jaPBe can now detect, if the compiler-process is killed
* When compiling is ready, jaPBe switch to the main-file. Fixed.
* New for Compile/Run: Working directory (in the compiler options)
Some Restrictions:
* IncludeBinary: Because of a bug, PB search the files without complete path in the working-Directory and not in the "Source-Directory". Hope this will be fixed in the next version.
* IncludePath: DON'T USE IT, it will not work right. This is because i used IncludePath for finding all includes for the source.
Editor-Core
-----------
* Select a calculation (1+50+213+34) and press Alt+C. You see in the infobox the result. Also the result is stored in the clipboard.
* The Autocompletation-List should be automatic closed when you fold, past, search, etc.
* Load Block gives a Error-Message, when the File doesn't exist.
Misc
----
* jaPBe now read at the beginning all Fonts and sort it. Preference and Ascii-Viewer should now start faster when many Fonts are installed.
* Definitions can now reloaded on Run/time (see preferences)
New in Version 1.3.9.16
#######################
Plugin Installer
----------------
Too many things to say. This Plugin can create one-file-install-programs. You must create config-ascii-textfile, here
a one, which explain everything:
----------------------
;
; Example-Install-File
;
; When a line start with ";", the line is ignored complete
;
[Settings]
Logo = "** path + name of a image, 420x60 Pixel **"
Project = "** name of the project"
Destination = "** Path+Name for the final Install-file, which is created by installer**"
Install = "** Default Installation Path **"
; Here can you definied the default installpath. You can use this jokers:
; %Windows% = Path to the Windows-Folder (c:\windows)
; %WindowsSystem% = Path to the Windows-System-Folder (C:\Windows\System)
; %PureBasic& = Path to the PureBasic folder, or when it doesn't exist "C:\Program files\PureBasic"
; %jaPBe% = Path to the jaPBe folder, or when no fileassociate with japbe, "C:\Program files\jaPBe"
; %ProgramFiles% = Path to the Program Files-Folder ("c:\program files")
; %Current% = Path to the Install-Program
; %Install% = The Install-Path, which the user has selected.
; OK, This one is useless for install=, but there are other codes here, which need this (links...)
; %Temp% = Also here useless, but container can use this.
; for example: "%programfiles%\My Programm\"
CreateUnInstall = Yes
; Creates a uninstall-programm. Also the Software is added in the software-panel of windows.
; Only files, which are created are deleted. Also only directorys, which are created by the
; install are deleted. When the directory already exist before installation, this directory
; will not deleted!
; When the folder isn't empty (because of savefiles, userdatas, etc), the uninstall will ask,
; if he should delete the folder.
DefaultCreateLink = Yes
DefaultCreateDesktopLink = No
DefaultCreateQuickLaunchLink = No
; You can defined later, that the installer creates links in the start-menu (in the program-
; folder, he created a new group with the project name), on the desktop and in the QuickLaunch-
; bar in the taskbar.
; The user can all of this deaktivate. Also you can definied, that the program should create
; this link by default or not.
; I don't like it, when installprogramm create links on the desktop and in the quick launch,
; so this is changeable by the user.
; btw. the uninstall is always add to the program-folder/project.
AfterInstallPRG = "** Path+name of a programm **"
AfterInstallCMD = "** Command **"
; After all files are created (also the links) and before the user can click on ready, you can
; definied a program, which will start then automatical.
; This is usefull, when you want to add registrykeys. The install-program will wait until this
; programm quits.
; Both, *PRG and *CMD, can use jokers (see above).
; When you don't need this, remove this line above.
BeforeUninstallPRG = "** Path+name of a programm **"
BeforeUninstallCMD = "** Command **"
; Same as AfterInstall*, but this time the programm is called, before any file is removed.
; Usefull when you want to remove registry-keys or something like this.
RunPRG = "** Path+name of a programm **"
RunCMD = "** Command **"
; Nearly the same as AfterInstall*, but this time, the program is started, when the install-
; window is closed and the install was successfull. When i install a program, i will normaly
; start it. You can do this with this command.
; a example "%install%\my program.exe"
[Welcome Message]
; Here can you write your welcome message. Simple write the text in the follow lines
; The message can go over more than one line. Also, when a line don't pass in the text-box
; in the install-window, it will broken automatically.
[Finish Message]
; This message appear, when the installations is sucessfull.
; Also this can go over more lines, like "Welcome Message"
[Text]
; You can redefinied (nearly) every text of the installer. When you want the default-text
; (english), you can delete this lines.
InstallTo = "Install to..."
NeededSpace = "Disk space needed:"
FreeSpace = "Available disk space:"
CreateLink = "Create a program group"
CreateDesktopLink = "Create links on the desktop"
CreateQuickLaunchLink = "Create links in the Quick Launch"
CopyFiles = "Copy files..."
ReallyExit = "Really exit installation?"
FileExist = "File Already exist"
OldFile = "Existing file"
NewFile = "New file"
Overwrite = "Overwrite"
OverwriteAll = "Overwrite all"
DonTOverwrite = "Leave the old"
DonTOverwriteAll = "Leave all the old"
Back = "Back"
Next = "Next"
Install = "Install"
Ready = "Ready"
Cancel = "Cancel"
Uninstall = "Really uninstall %1?"
LeaveNewFiles = "Don't earse new files (for example settings)"
Yes = "Yes"
NO = "No"
UnInstallReady = "All files removed."
UnInstallLink = "Uninstall %1"
DirNotEmpty = "Directory is not empty! Remove it?"
[Container]
; Ok, now we defined a normal container.
; Every container must start with a [Container]!
Name = "** Name of the Container **"
Path = "** Path to the files, which should add **"
Files = "*.*"
; or any other of the dos-jokers, like "*.exe" or "*.PB". You can seperate more than one joker by a ","
; ("*.exe,*.inf,*.txt,MyPrg*.*")
; Little tip: You can also use full names, so you can select alle the files, which you need.
; ("My Program.Exe,Logo.bmp,Readme.txt")
IncludeSubdirectorys = Yes
; the name should be say everything.
Destination = "%Install%\"
; You don't must install the program to the path, that the user select. You can use the path-jokers.
; For example, you can install a DLL direct in the windows\system-folder.
Checked = Yes
; When you have more than one container, you can say, that the container will not install by default
; (for example sourcecodes)
Changeable = Yes
; So you can say the install-program, that the user doesn't have the chance to change the checked-status.
; Basis-Files of a program should be always installed.
OverwriteOlds = No
; Normaly the installer asked, before he overwrite old files, but when you set this to yes, the install always
; overwrite files, which are older than the files in the container.
; Have i said, that the install store the date and the attributes of a file?
; ok, now we have a normal container. But for some case, you must install additional thinks. For example when
; you use a avi and this avi use a specail codec. For this it would be usefull to unpack all the files of the
; container in a temporary-directory and start the exe and then the temporary-directory should be removed.
; Tada:
RunPrg = "** %temp%\Setup.exe **"
RunCmd = "** Command **
; When you add a RunPRG to a container, a temp-direcotry in the windows-temp-folder is created. In this case,
; you should set Destination = "%temp%\". The programm is started, after all files of the container are copied.
; Install will wait until the RunPRG exit. After this, the temporary-folder and all files/folders in it will be
; removed. Also the uninstaller don't care about this files! So always unpack all the files in the "%temp%\"!
[Link]
Name = "** Name of the Link"
Prg = "** Path&name to the linked programm **"
; for example "%install%\MyProgram.exe". When the exe don't exist, no Link is created. This is usefull, when
; you want to set links for all your containers, but the user can deselect the container.
; So no dead links are created.
Icon = "** Path to the linked Programm **",1
; When you don't want the default-icon of the linked exe, you can set here a diffrent one. After the "," you
; can set a index, when more than one icon is in the exe.
[DesktopLink]
;See link
[QuickLaunchLink]
;See link
-----------------------------
IncludePack
-----------
Change a includename to registry. Don't worry about it, the includename will automatic changed in your project. Also System has a functions.
Help
----
* When the jaPBe-directory and the PB-directory is identical, all entries in the help-menu are double. fixed.
Compile
-------
* When a fatal-error while starting the compiler appear, it was ignored.
* Manual Compiler
For all, who will use all functions, which are with jaPBe (and PB IDE) are not possible
jaPBe can't detect errors and so one. look in the console-window.
* jaPBe can now detect, if the compiler-process is killed
* When compiling is ready, jaPBe switch to the main-file. Fixed.
* New for Compile/Run: Working directory (in the compiler options)
Some Restrictions:
* IncludeBinary: Because of a bug, PB search the files without complete path in the working-Directory and not in the "Source-Directory". Hope this will be fixed in the next version.
* IncludePath: DON'T USE IT, it will not work right. This is because i used IncludePath for finding all includes for the source.
Editor-Core
-----------
* Select a calculation (1+50+213+34) and press Alt+C. You see in the infobox the result. Also the result is stored in the clipboard.
* The Autocompletation-List should be automatic closed when you fold, past, search, etc.
* Load Block gives a Error-Message, when the File doesn't exist.
Misc
----
* jaPBe now read at the beginning all Fonts and sort it. Preference and Ascii-Viewer should now start faster when many Fonts are installed.
* Definitions can now reloaded on Run/time (see preferences)