|
|
 | | From: | Jonny Kwekkeboom | | Subject: | Infos for your Updates and other stuff inside ScriptMaker | | Date: | Wed, 1 Dec 2004 13:36:41 +0100 |
|
|
 | Hi,
inside ScriptMaker there is also included the utility of ISSI-PRO.
With this you can including inside your Scripts a lot of stuff by settings of these ISSI-PRO propertys....
Like eg for let the setup ONLY run if there is a previous version of application is installed otherwise turned off the setup these ISSI Section can be including after [dBASERuntime] and before [Setup] Section... where will be the [_ISPP] normally is already included at right position... if not turn this to the top of script!
Example lines: [_ISPP] #define AppName "ScriptMaker" ;Here define your Software Name #define AppVersion "5.0.5.5" ;Here your Software Versionsnumber #define AppCopyright "Copyright © 2004 Jonny Kwekkeboom HiSoft2000" ;Here your CopyRight.... #define AppId "????????" ;Here your Software ID (Setup->AppID!!)
.....
[ISS Include] #define ISSI_Support #define ISSI_AppName AppName #define ISSI_AppVersion AppVersion #define ISSI_AppId AppID
;FOR Ignore ISSI Languages including and get out of Script himself when insert.... #define ISSI_DoNotIncludeLanguagesSection
;FOR UPDATECHECK will turned off the Setup if NO app is found with the APPID !!! #define ISSI_Update
;FOR LET Group display at end of SETUP! #define ISSI_DispGroupAtEnd
;FOR LET a About Button inside Setup display with your Copyright #define ISSI_About "NameAndVersionDate; "+AppCopyright
;FOR Let a Shortcut display for call your WebSite out of calling Setup #define ISSI_URL "Link:www.HiSoft2000.de; FormText:Visit HiSoft2000"
;FOR let a Print Button display for your Licencefile inside Setup #define ISSI_LicensePrint
;FOR let a InfoBefore Print Button display for these if NEEDED and inside #define ISSI_InfoBeforePrint
;FOR let a InfoAfter Print Button display for these if NEEDED and inside #define ISSI_InfoAfterPrint
#define ISSI_IncludePath "?????\ScriptMaker\Include\ISSI\" #include ""?????\ScriptMaker\Include\ISSI\_issi_pro.isi"
Needed Code lines for these above ISSI-PRO Stuff....
Must be added to exists code lines if not inside your code lines.... Or can be done inside ScriptMaker himself in extra ISSI->ISSI-Pro form!! - So all will be included automatically!!
[Code] var FinishedInstall: Boolean;
{For start of Setup and initialize all stuff} function InitializeSetup(): Boolean; begin Result:=true; #ifdef ISSI_Support Result:=ISSIInitializeSetup(); if not Result then exit; #endif end;
{Needed for GroupAtEnd display at end of Setup and Print About buttons etc.} procedure CurPageChanged(CurPageID: Integer); begin #ifdef ISSI_Support IssiCurPageChanged(CurPageID); #endif {ISSI_Support} end;
{Needed for GroupAtEnd display at end of Setup for set Boolean to true and all is done for display only than} procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep=ssDone then FinishedInstall:=True; end;
cu Jonny
|
|
|