Comment: Admincontrol Setup Project [DEFINE REGION: Check Application Requirements] Comment: Check system has at least Windows 2000 Get System Setting Windows 2000 into CHECKOS if Variable CHECKOS not Equals TRUE MessageBox: $TITLE$ Setup Error, This product cannot be installed on versions of Windows older than Windows 2000. Please upgrade your operating system and try again. Terminate Installation end Comment: Check system has at least 128 MB Physical Memory Get System Setting 128 MB Physical Memory into CHECKMEM if Variable CHECKMEM not Equals TRUE MessageBox: $TITLE$ Setup Error, This product requires at least 128 MB Physical Memory. Setup cannot continue. Terminate Installation end Comment: Verifica la version de MDAC Set Variable MDACVersion to 0.0.0.0 Check/Install MDAC Refresh (get installed version, get result into variable MDACVersion) if Variable MDACVersion not Greater Than 2.71.9030.0 MessageBox: Admincontrol Plus, Esta aplicación requiere que tenga instalado MADC 2.7 SP1$NEWLINE$puede obetenerla gratis de www.microsoft.com Terminate Installation end Comment: Verifica si existe una version anterior Set Variable VersionAnterior to FALSE Get Folder Location System->System Directory into Folderdelsistema Does File Exist $Folderdelsistema$\ERA.dll (get result into variable VersionAnterior) if Variable VersionAnterior Equals TRUE Set Variable EmpresasINI to Find All Files in path \Empresas.ini (include subfolders), write result into variable EmpresasINI Comment: Copy Local Files $EmpresasINI$\ to $FolderdeProgramas$\Empresas.Ini MessageBox: Admincontrol Plus, Existe una version anterior de Admincontrol. $NEWLINE$Por favor desinstalela y reintente nuevamente. Terminate Installation end Set Variable MSGBOX to Set Variable PROGRAM_TITLE to DBxtra Schedule 2005 Set Persistent Variable PROCESS_NAME to DBXtraSchedule.exe Check for Process "$PROCESS_NAME$", get result into variable RUNNING if Variable RUNNING Equals TRUE MessageBox: Terminate Process, The process $PROCESS_NAME$ is running and it will be terminated in order to continue the installation. if Variable MSGBOX Equals OK Terminate Program $PROGRAM_TITLE$ end end <> [DEFINE REGION: Check/Install Application Pre-Requisites] [DEFINE REGION: Check Application Pre-Requisites] Comment: Check setup pre-requisites Set Variable PREREQ to FALSE Set Variable PRELIST to [compiler if Variable BUILDMODE not Equals PATCH] if Variable NEEDSUPGRADE Equals TRUE Set Variable PREREQ to TRUE Set Variable PRELIST to $PRELIST$$NEWLINE$Previous Version Uninstallation end [compiler end] <> [DEFINE REGION: Install Application Pre-Requisites] Comment: Install setup pre-requisites if Variable PREREQ not Equals FALSE Comment: Display Dialog: prereq, wait for dialog to return (modal) if Variable WIZARD Equals CANCEL Terminate Installation end Comment: Display Dialog: progressprereq, use as progress dialog (non-modal) [compiler if Variable BUILDMODE not Equals PATCH] if Variable NEEDSUPGRADE Equals TRUE Set Variable REMOVEOLD to Set Variable ERROROLD to Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD) if Variable REMOVEOLD Equals ERROR MessageBox: $TITLE$ Setup, Unable to uninstall old version of $TITLE$. Please uninstall it yourself using Control Panel Add-Remove Programs before attempting to install this product.$NEWLINE$$NEWLINE$$ERROROLD$ Terminate Installation end if Variable REMOVEOLD Equals REBOOT MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$. if Variable REBOOTNOW Equals OK Reboot Computer and Resume Setup else Terminate Installation end end Set Variable MAINTENANCE to FALSE end [compiler end] Hide Dialog end <> <> [DEFINE REGION: Define Setup Globals] Comment: Define Setup Components Define Component: Default Comment: Initialize Setup Globals Get System Setting Windows NT Kernel (NT4, 2000, XP, 2003) into ISNT Get Folder Location System->Program Files Directory into PROGRAMFILES Get Common Folder Location System->Program Files Directory into COMMONFILES Get Common Folder Location Start Menu->Programs Group into SHORTCUTFILESALL Get Folder Location Start Menu->Programs Group into SHORTCUTFILES if Variable SHORTCUTFILESALL Equals Set Variable SHORTCUTFILESALL to $SHORTCUTFILES$ end Get Folder Location System->Desktop Directory into DESKTOPDIR Get Folder Location System->Windows Directory into WINDIR Get Folder Location System->System Directory into WINSYSDIR Get Folder Location Taskbar->Quick Launch Directory into QUICKLAUNCHDIR Get Folder Location WWW->WWWRoot into WWWROOTDIR <> [DEFINE REGION: Setup User Interview] if Variable MAINTENANCE Equals TRUE GoTo Label: Maintenance else [compiler if Variable BUILDMODE not Equals PATCH] Comment: First Time Install Set Variable TARGETDIR to $PROGRAMFILES$\$TITLE$ Set Variable STARTMENU to $TITLE$ [compiler end] end wizard loop Display Dialog: welcome, wait for dialog to return (modal) [compiler if Variable BUILDMODE not Equals PATCH] Display Dialog: licensecheck, wait for dialog to return (modal) Comment: Display Dialog: readme, wait for dialog to return (modal) Comment: Display Dialog: registration, wait for dialog to return (modal) Display Dialog: destination, wait for dialog to return (modal) Display Dialog: startmenu, wait for dialog to return (modal) [compiler end] Display Dialog: startinstallation, wait for dialog to return (modal) end GoTo Label: Main Install label: Maintenance Comment: Maintenance Install/Uninstall wizard loop Display Dialog: maintenance, wait for dialog to return (modal) Display Dialog: startinstallation, wait for dialog to return (modal) end <> [DEFINE REGION: Process (Un)Installation] label: Main Install Comment: Exit Setup if Wizard Loop cancelled if Variable WIZARD Equals CANCEL Terminate Installation end Comment: Prepare to install Set Variable PROGRESSTEXT to Installing $TITLE$ Set Variable SUCCESS to Set Variable LASTERROR to if Variable ALLUSERS Equals TRUE Set Variable SHORTCUTFOLDER to $SHORTCUTFILESALL$\$STARTMENU$ else Set Variable SHORTCUTFOLDER to $SHORTCUTFILES$\$STARTMENU$ end Display Dialog: progress, use as progress dialog (non-modal) Comment: Modify Target System [DEFINE REGION: Perform Uninstallation] if Variable REMOVE Equals TRUE Comment: Uninstall product Comment: TO-DO: Insert any additional uninstall commands here Apply Uninstall (get result into variable SUCCESS) Set Variable PROGRESS to 100 else <> [DEFINE REGION: Perform First Time or Maintenance Installation] Comment: Install/Re-Install product Create Shortcut $SHORTCUTFOLDER$\Uninstall Admincontrol to $UNINSTALLLINK$ [OFFLINE CONTENT] Install Files D:\Admincontrol_SQL2006\DBxtra.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Guia Rapida Admincontrol Plus.pdf to $TARGETDIR$ Create Shortcut $SHORTCUTFOLDER$\Guia Rapida Admincontrol Plus to $TARGETDIR$\Guia Rapida Admincontrol Plus.pdf Install Files D:\Admincontrol_SQL2006\Unzdll.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Zipdll.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Zipit.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Admincontrol Plus.exe to $TARGETDIR$ Advertised Shortcut $SHORTCUTFOLDER$\Admincontrol Plus to $TARGETDIR$\Admincontrol Plus.exe (unconditionally executes when target is installed) Advertised Shortcut $DESKTOPDIR$\Admincontrol Plus to $TARGETDIR$\Admincontrol Plus.exe (unconditionally executes when target is installed) Install Files D:\Admincontrol_SQL2006\Admincontrol Plus.exe.manifest to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\harrow.cur to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Licencia\license.rtf to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\LinkDB.mdb to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EIAg.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EICl.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EICta.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EICXC.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EICXP.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EIII.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EIPd.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EIPol.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\EIPv.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Dll\Schema.ini to $TARGETDIR$ Install Files D:\DLLs\QD.dll to $TARGETDIR$ Install Files D:\DLLs\QE.dll to $TARGETDIR$ Install Files D:\DLLs\ERA.dll to $TARGETDIR$ Install Files D:\Admincontrol_SQL2006\Data\*.* to $TARGETDIR$\Data, include subfolders Install Files D:\Admincontrol_Plus\Wiz_Importar\*.* to $TARGETDIR$\Wiz_Importar, include subfolders Install Files D:\Admincontrol_SQL2006\DBxtra\*.* to $TARGETDIR$\DBxtra, include subfolders Install Files D:\Admincontrol_SQL2006\Dots\*.* to $TARGETDIR$\Dots, include subfolders Install Files D:\Admincontrol_SQL2006\Script\*.* to $TARGETDIR$\Script, include subfolders Install Files D:\Admincontrol_SQL2006\Reps Access\*.* to $TARGETDIR$\Reps Access, include subfolders Install Files D:\Admincontrol_SQL2006\Reps SQL\*.* to $TARGETDIR$\Reps SQL, include subfolders Install Files D:\Admincontrol_SQL2006\Languages\Language2\*.* to $TARGETDIR$\Language2, include subfolders Install Files D:\Admincontrol_SQL2006\Icons\*.* to $TARGETDIR$\Icons, include subfolders Install Files C:\Program Files\Common Files\Software FX Shared\gdiplus.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\pdfexpt.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\PropList.OCX to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\AB2DLL.DLL to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\ardespro2.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\arpro2.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\ARVIEW2.OCX to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\exclexpt.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro\htmlexpt.dll to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\SharpGrid\sg20o.ocx to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\SharpGrid\sg20ou.ocx to $TARGETDIR$ Install Files C:\Program Files\Common Files\Data Dynamics\ActiveBar2\Actbar2.ocx to $TARGETDIR$ Install Files C:\Program Files\Chilkat Software Inc\Chilkat FTP\ChilkatFTP.dll to $TARGETDIR$ Install Files C:\Program Files\Chilkat Software Inc\Chilkat Mail\ChilkatMail.dll to $TARGETDIR$ Install Files C:\Program Files\Chilkat Software Inc\Common\ChilkatUtil.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPSpin20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPTab20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPText20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPTP20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaResSvr20.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaSubClsSvr.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPButton20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPCBOM20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPCombo20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPDP20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPFrame20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPIML20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPList20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPMultiLineText20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPProgress20.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPRegSvr20.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\ciaXPSelection20.ocx to $TARGETDIR$ Install Files C:\Program Files\FarPoint Technologies\Spread70\Bin\FPSPR70.ocx to $TARGETDIR$ Install Files C:\Program Files\Redemption\Redemption.dll to $TARGETDIR$ Install Files C:\Program Files\DBPix\DBPix.ocx to $TARGETDIR$ Install Files C:\Program Files\Spread30\BIN\SPR32X30.ocx to $TARGETDIR$ Install Files C:\Program Files\Spread30\BIN\fpSpr30.ocx to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSSTDFMT.DLL to $TARGETDIR$ Install Files C:\WINDOWS\system32\scrrun.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\TABCTL32.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\COMCTL32.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\COMDLG32.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSADODC.OCX to $TARGETDIR$ Install Files C:\Program Files\Common Files\System\ado\msadox.dll to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSBIND.DLL to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSCOMCT2.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSCOMCTL.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSDATGRD.OCX to $TARGETDIR$ Install Files C:\WINDOWS\system32\MSDBRPT.DLL to $TARGETDIR$ Install Files C:\Program Files\Common Files\Software FX Shared\ChartFX.ClientServer.Core.dll to $TARGETDIR$ Install Files C:\Program Files\BinaryWorX\QueryBuilder\siQryBld.ocx to $TARGETDIR$ Install Files D:\DLLs\VB Splitter.ocx to $TARGETDIR$ Install Files C:\Program Files\Common Files\System\ado\msado25.tlb to $TARGETDIR$ [DEFINE WEB MEDIA Default] Get Component Default Selection State into Variable SELECTED if Variable SELECTED Equals TRUE end Comment: TO-DO: Insert any additional install commands here [compiler if Variable BUILDMODE Equals PATCH] Apply Patch (get result into variable SUCCESS) [compiler else] if Variable ADVERTISE Equals TRUE Apply Advertised (get result into variable SUCCESS) else Advertised File Type Admincontrol Plus with extensions .DLL,.OCX,.CUR,.XLS,.TLB,.MANIFEST,.SQL and associate with program $TARGETDIR$\Admincontrol Plus.exe (unconditionally executes when owner is installed) Apply Install (get result into variable SUCCESS) end [compiler end] Set Variable PROGRESS to 100 end <> <> <>