; Script generated by the HM NIS Edit Script Wizard. ; HM NIS Edit Wizard helper defines !define PRODUCT_NAME "2009 Visual Cat Update" !define PRODUCT_VERSION "1.10.0.165" !define PRODUCT_PUBLISHER "Constellation Automotive Software" !define PRODUCT_WEB_SITE "http://www.constellationauto.com" ;SetCompressor lzma ; MUI 1.67 compatible ------ !include "MUI.nsh" !include "GetTime.nsh" ; MUI Settings !define MUI_ABORTWARNING !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico" !define MUI_FINISHPAGE_RUN_NOTCHECKED ; 10/29/09 !define MUI_FINISHPAGE_RUN_FUNCTION Nupdate ; 10/29/09 ; MS Access ODBC install define !define ODBC_CONNECTION_NAME "MS Access Database" ; Welcome page ;!insertmacro MUI_PAGE_WELCOME ; Directory page ;!insertmacro MUI_PAGE_DIRECTORY ; Instfiles page !insertmacro MUI_PAGE_INSTFILES ; Finish page ;!insertmacro MUI_PAGE_FINISH ; Language files !insertmacro MUI_LANGUAGE "English" ; MUI end ------ Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" OutFile "1.10UPDATE.exe" InstallDir "c:\vcat" ShowInstDetails show Section "MainSection" SEC01 ReadINIstr $9 $EXEDIR\vcat.ini DRIVES Update ${GetTime} "" "L" $0 $1 $2 $3 $4 $5 $6 ; $0="01" day ; $1="04" month ; $2="2005" year ; $3="Friday" day of week name ; $4="16" hour ; $5="05" minute ; $6="50" seconds CreateDirectory "$9\database-backup$1$0$2\Server" CreateDirectory "$9\database-backup$1$0$2\Server\Data" CreateDirectory "$9\database-backup$1$0$2\Server\Presets" CreateDirectory "$9\database-backup$1$0$2\Forms" CreateDirectory "$9\database-backup$1$0$2\Ins" CreateDirectory "$9\database-backup$1$0$2\Data" CopyFiles /SILENT "$9\vcatfi.exe" "$9\database-backup$1$0$2\" CopyFiles /SILENT "$9\invent.exe" "$9\database-backup$1$0$2\" CopyFiles /SILENT "$9\Server\*.*" "$9\database-backup$1$0$2\Server\" CopyFiles /SILENT "$9\Server\Data\*.*" "$9\database-backup$1$0$2\Server\Data\" CopyFiles /SILENT "$9\Server\Presets\*.*" "$9\database-backup$1$0$2\Server\Presets\" CopyFiles /SILENT "$9\Forms\*.*" "$9\database-backup$1$0$2\Forms\" CopyFiles /SILENT "$9\Ins\*.*" "$9\database-backup$1$0$2\Ins\" CopyFiles /SILENT "$9\Data\*.*" "$9\database-backup$1$0$2\Data\" CopyFiles /SILENT "$WINDIR\FRMOSET.ini" "$9\database-backup$1$0$2\" CopyFiles /SILENT "$WINDIR\FRMGROUP.ini" "$9\database-backup$1$0$2\" SetOutPath "$9\acct" SetOverwrite try SetOutPath "$9\Backup" SetOutPath "$9" File "s:\vcatupdate48\cover.txt" SetOutPath "$9\Data" File "s:\vcatupdate48\Data\std.SPC" File "s:\vcatupdate48\Data\std_ins.INS" SetOutPath "$9" File "s:\update\graphics\VcatSplash.bmp" ; added 09/16/08 SetOutPath "$9\Forms" File "S:\eforms\VCAT EXES\PDFData.mdb" File "S:\eforms\VCAT EXES\PDFForm.exe" SetOutPath "$9" SetOutPath "$9\Nada" SetOutPath "$9" ; File "s:\Update\NUpdate\1.10.0.131\NUpdate.exe" remmed 5/15/09 - all now in 1.10\For Update folder SetOutPath "$9\server\presets" File "s:\Update\NUpdate\1.10.0.131\LaserForms.ffd" SetOutPath "$9" File "s:\vcatupdate48\Unwise.exe" File "s:\Update\CredCo\CredProc.dll" File "s:\Update\CredCo\Cro.dll" File "s:\Update\Czida.dll" File "s:\Update\1.9\NCIC.txt" File "s:\Update\CZSDN.OCX" File "s:\Update\CredCo\DFCommunication.dll" File "s:\Update\CredCo\Dfssl.dll" File "s:\Update\CopyPro.ocx" File "s:\update\CarBizCredco.ocx" ; File "s:\Update\1.10\0\UpdateL.exe" remmed 5/15/09 - all now in 1.10\For Update folder File "s:\Update\acct_int\2.8.0.71\acct_int.exe" File "s:\Update\ftp\092305\VCATFTP.exe" File "s:\Update\utils\0.129\utils.exe" File "s:\Update\1.10\For Update\VCATfi.exe" File "s:\Update\1.10\For Update\Invent.exe" File "s:\Update\1.10\For Update\Nupdate.exe" File "s:\Update\1.10\For Update\UpdateL.exe" File "s:\Update\1.10\For Update\Client.exe" File "s:\Update\1.10\For Update\VcatFI.cnt" ; added 06/12/09 so I can update the Help Files File "s:\Update\1.10\For Update\VcatFI.hlp" File "s:\Update\vindecoder\110105\MSVCR71.DLL" ; File "s:\Update\ConstellationConnect.exe" File "s:\update\CarBizCredco.ocx" Delete "$9\VP_lib.dll" Delete "$9\vdc.dll" File "s:\update\vindecoder\VP_LIB5.DLL" File "s:\update\vindecoder\Vpx_wmi.bin" File "s:\update\vindecoder\Vp_basic.bin" File "s:\update\vindecoder\VpSystem.bin" File "S:\eforms\VCAT EXES\PDFToolKitX.ocx" SetOutPath "$9\Server\Data" ;File "S:\eforms\VCAT EXES\PDFData.mdb" 08/28/08 remarked as dealers w/existing BG's ;File "S:\Update\1.9\BuyersGuides\BuyersGuide.rpt" will lose all settings if overwritten. lfk SetOutPath "$9\" UnRegDLL "$9\Vp_lib.dll" Delete "$9\CopyPro2.ocx" SetOutPath "$SYSDIR" File "s:\Update\CredCo\CredProc.dll" File "s:\Update\CredCo\Cro.dll" File "s:\Update\Czida.dll" File "s:\Update\CZSDN.OCX" File "s:\Update\CredCo\DFCommunication.dll" File "s:\Update\CredCo\Dfssl.dll" File "s:\Update\1.9\81\CopyPro.ocx" File "s:\Update\1.10\For Update\client.exe" File "s:\update\CarBizCredco.ocx" File "s:\Update\vindecoder\110105\MSVCR71.DLL" File "s:\update\vindecoder\VP_LIB5.DLL" File "s:\update\vindecoder\Vpx_wmi.bin" File "s:\update\vindecoder\Vp_basic.bin" File "s:\update\vindecoder\VpSystem.bin" File "s:\eforms\VCAT EXES\PDFToolKitX.ocx" RegDLL "$SYSDIR\CredProc.dll" RegDLL "$SYSDIR\Cro.dll" RegDLL "$SYSDIR\Czida.dll" RegDLL "$SYSDIR\CZSDN.OCX" RegDLL "$SYSDIR\DFCommunication.dll" RegDLL "$SYSDIR\Dfssl.dll" RegDLL "$SYSDIR\Carbizcredco.ocx" RegDLL "$SYSDIR\CopyPro.ocx" RegDLL "$SYSDIR\Vp_lib5.dll" RegDLL "$SYSDIR\PDFToolkitx.ocx" SetOutPath "$9" UnRegDLL "$9\Decode.dll" Call Nupdate SectionEnd Function Nupdate SetOutPath $9 ExecWait '"$9\Nupdate.exe"' FunctionEnd