Text=It is likely that the CLSID is still there even though MO is not installed
end
item: Check if File/Dir Exists
Pathname=%MO%
Flags=00000101
end
item: Set Variable
Variable=MO
Value=NOT_INSTALLED
end
item: End Block
end
item: Remark
end
item: If/While Statement
Variable=MO
Value=NOT_INSTALLED
Flags=00000101
end
item: Set Variable
Variable=MOLONG
Value=%MO%
Flags=00010000
end
item: Set Variable
Variable=COMMON_FILES
Value=%MOLONG%
end
item: Remark
end
item: Remark
Text=Is this the developer version or runtime ?
end
item: Set Variable
Variable=PATH
Value=%MOLONG%
Flags=00000010
end
item: Set Variable
Variable=COMMON_FILES
Value=%PATH%
end
item: Set Variable
Variable=LICENSEPATH
Value=%PATH%\Mo10.lic
end
item: Check if File/Dir Exists
Pathname=%LICENSEPATH%
Flags=01000100
end
item: Set Variable
Variable=DEVELOPER
Value=Developer
end
item: Else Statement
end
item: Set Variable
Variable=DEVELOPER
Value=Runtime
end
item: End Block
end
item: Remark
end
item: Remark
Text=Validate OCX Version
end
item: Get System Information
Variable=MOVER
Pathname=%MO%
Flags=00000101
end
item: Parse String
Source=%MOVER%
Pattern=.
Variable1=ONE
Variable2=REST
end
item: Parse String
Source=%REST%
Pattern=.
Variable1=TWO
Variable2=REST
end
item: Parse String
Source=%REST%
Pattern=.
Variable1=THREE
Variable2=REST
end
item: Parse String
Source=%REST%
Pattern=.
Variable1=FOUR
Variable2=REST
end
item: Set Variable
Variable=CONST101313
Value=101313
end
item: Set Variable
Variable=NUMBER
Value=%ONE%%TWO%%THREE%%FOUR%
end
item: If/While Statement
Variable=NUMBER
Value=%CONST101313%
Flags=00000111
end
item: Remark
Text=Good version. Now check for all files !
end
item: Set Variable
Variable=MISSINGFILES
Value=0
end
item: Check if File/Dir Exists
Pathname=%PATH%\Shape.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Sg.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Sde30.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Sde21.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Sde.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Pe.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\MoSde30Table.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\MoSde30.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\AF10.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Aiimage.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Coverage.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\InfoTable.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\Mo10.ocx
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=%PATH%\moplus.dll
Flags=00000101
end
item: Set Variable
Variable=MISSINGFILES
Flags=00000101
end
item: End Block
end
item: Else Statement
end
item: Custom Dialog Set
Name=Bad version - Wanna Upgrade ?
item: Dialog
Title=%APPTITLE% Installation
Title French=Installation de %APPTITLE%
Title German=Installation von %APPTITLE%
Title Spanish=Instalaci≤n de %APPTITLE%
Title Italian=Installazione di %APPTITLE%
Width=271
Height=224
Font Name=Helv
Font Size=8
item: Static
Rectangle=85 8 258 44
Create Flags=01010000000000000000000000000000
Flags=0000000000000001
Name=Times New Roman
Font Style=-23 0 0 0 700 0 0 0 0 3 2 1 18
Text=Older Version of MapObjects Detected !
Text French=Bienvenue !
Text German=Willkommen!
Text Spanish=íBienvenido!
Text Italian=Benvenuti!
end
item: Static
Rectangle=84 46 254 124
Create Flags=01010000000000000000000000000000
Text=Setup was able to detect the location of a valid MapObjects installation on your computer under %PATH%. However, it is an older version that is not compatible with MapObject IMS 2.0.
Text=
Text=Click Next to upgrade MapObjects, Click Cancel to abort the installation.
Text French=Ce programme d'installation va installer %APPTITLE%.
Text French=
Text French=Cliquez sur le bouton Suite pour dΘmarrer l'installation. Vous pouvez cliquer sur le bouton Quitter l'installation si vous ne voulez pas installer %APPTITLE% tout de suite.
Text German=Mit diesem Installationsprogramm wird %APPTITLE% installiert.
Text German=
Text German=Klicken Sie auf "Weiter", um mit der Installation zu beginnen. Klicken Sie auf "Abbrechen", um die Installation von %APPTITLE% abzubrechen.
Text Spanish=Este programa de instalaci≤n instalarß %APPTITLE%.
Text Spanish=
Text Spanish=Presione el bot≤n Siguiente para iniciar la instalaci≤n. Puede presionar el bot≤n Salir de instalaci≤n si no desea instalar %APPTITLE% en este momento.
Text Italian=Questo programma installerα %APPTITLE%.
Text Italian=
Text Italian=Per avvviare l'installazione premere il pulsante Avanti. Se non si desidera installare %APPTITLE% ora, premere il pulsante Esci dall'installazione.