NewsArchive
09-29-2015, 09:38 AM
Use new version 10 (from About Window)
Product: SetupBuilder Developer Edition 2016
Version: 10.0.4920
I was able to run one script fine but a second which is basically a
copy of the first gives the following error.
gemini_v2016.sb8(190): error GEN1007: Reference to constant
$IDCANCEL$ has not been previously defined.
Following is the section of script where problem occurs.
================== Script segment ==================================
! Check to see if EXECUTABLE is in use but only if installing program.
Loop
! If file does not exist, then it can not be in use.
If %_SB_INSTALLDIR%\GEMINI.EXE File or Folder doesn't exist Then
Break Loop
End
! Start by checking to see if executable is in use.
Set Variable %PSI_INUSE% to FUNCTION:Check In-use File
"%_SB_INSTALLDIR%\gemini.exe"
! If not is use, then break loop to continue.
If %PSI_INUSE% Does Not Equal "1" Then
Break Loop
End
! Show message box to user and get response.
Display Message Box "Sorry, but the [PRODUCTNAME] program is
currently ..." -- "Program is in use!"
If %_SB_RETURN% Equals "$IDCANCEL$" Then
Exit Installation()
End
End
Barton Whisler
Prosoft Inc.
Tampa, Florida
Product: SetupBuilder Developer Edition 2016
Version: 10.0.4920
I was able to run one script fine but a second which is basically a
copy of the first gives the following error.
gemini_v2016.sb8(190): error GEN1007: Reference to constant
$IDCANCEL$ has not been previously defined.
Following is the section of script where problem occurs.
================== Script segment ==================================
! Check to see if EXECUTABLE is in use but only if installing program.
Loop
! If file does not exist, then it can not be in use.
If %_SB_INSTALLDIR%\GEMINI.EXE File or Folder doesn't exist Then
Break Loop
End
! Start by checking to see if executable is in use.
Set Variable %PSI_INUSE% to FUNCTION:Check In-use File
"%_SB_INSTALLDIR%\gemini.exe"
! If not is use, then break loop to continue.
If %PSI_INUSE% Does Not Equal "1" Then
Break Loop
End
! Show message box to user and get response.
Display Message Box "Sorry, but the [PRODUCTNAME] program is
currently ..." -- "Program is in use!"
If %_SB_RETURN% Equals "$IDCANCEL$" Then
Exit Installation()
End
End
Barton Whisler
Prosoft Inc.
Tampa, Florida