;-------------------------------- ;Include Modern UI !include "MUI.nsh" !include "MUI2.nsh" !include "x64.nsh" ;-------------------------------- ;General !define APPNAME "Nuvolar" !define COMPANYNAME "Nuvolar ERP System" !define DESCRIPTION "Nuvolar ERP Framework System" ;Name and file Name "Nuvolar" OutFile "Setup.exe" ;Default installation folder InstallDir "$APPDATA\Nuvolar" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Nuvolar" "" ;Request application privileges for Windows Vista RequestExecutionLevel admin ;-------------------------------- ;Interface Settings !define MUI_ICON "ProteinChip.ico" !define MUI_UNICON "ProteinChip.ico" !define MUI_ABORTWARNING ;-------------------------------- ;Language Selection Dialog Settings ;Remember the installer language !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" !define MUI_LANGDLL_REGISTRY_KEY "Software\Nuvolar" !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" ;-------------------------------- ;Pages !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_LICENSE "License.txt" Page Custom SerialPageShow SerialPageLeave !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_UNPAGE_CONFIRM !insertmacro MUI_UNPAGE_INSTFILES ;-------------------------------- ;Languages !insertmacro MUI_LANGUAGE "Hungarian";first language is the default language ;-------------------------------- ;Reserve Files ;If you are using solid compression, files that are required before ;the actual installation should be stored first in the data block, ;because this will make your installer start faster. !insertmacro MUI_RESERVEFILE_LANGDLL ;-------------------------------- ;Installer Sections Section "Nuvolar" ProteinChip SetShellVarContext all SetOutPath "$INSTDIR" ;${If} ${RunningX64} ; ExecWait "$INSTDIR\AccessDatabaseEngine_x64.exe /quiet" ;${Else} ; ExecWait "$INSTDIR\AccessDatabaseEngine.exe /quiet" ;${EndIf} ;ADD YOUR OWN FILES HERE... File "database.sql" File "crdatabase.cmd" ;DevExpress files ... File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Data.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.DataAccess.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Validation.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Validation.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.ViewVariantsModule.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.BonusSkins.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.AuditTrail.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.ConditionalAppearance.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.FileAttachment.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.HtmlPropertyEditor.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Images.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Objects.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.ReportsV2.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.ReportsV2.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Security.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.TreeListEditors.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.TreeListEditors.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Win.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.Xpo.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.ExpressApp.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Office.v13.2.Core.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Persistent.Base.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Persistent.BaseImpl.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Printing.v13.2.Core.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.RichEdit.v13.2.Core.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Utils.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Utils.v13.2.UI.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.Xpo.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraBars.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraEditors.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraGrid.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraLayout.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraNavBar.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraPrinting.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraReports.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraReports.v13.2.Extensions.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraRichEdit.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraTreeList.v13.2.dll" File "c:\Program Files (x86)\DevExpress 13.2\Components\Bin\Framework\DevExpress.XtraVerticalGrid.v13.2.dll" ;DevExpress localization files ! SetOutPath "$INSTDIR\HU" File "HU\DevExpress.Charts.Designer.v13.2.resources.dll" File "HU\DevExpress.Dashboard.v13.2.Core.resources.dll" File "HU\DevExpress.Dashboard.v13.2.Win.resources.dll" File "HU\DevExpress.Data.v13.2.resources.dll" File "HU\DevExpress.DataAccess.v13.2.resources.dll" File "HU\DevExpress.DataAccess.v13.2.UI.resources.dll" File "HU\DevExpress.ExpressApp.HtmlPropertyEditor.Win.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.PivotChart.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.Reports.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.Scheduler.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.Security.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.Validation.v13.2.resources.dll" File "HU\DevExpress.ExpressApp.Win.v13.2.resources.dll" File "HU\DevExpress.Office.v13.2.Core.resources.dll" File "HU\DevExpress.Pdf.v13.2.Core.resources.dll" File "HU\DevExpress.PivotGrid.v13.2.Core.resources.dll" File "HU\DevExpress.Printing.v13.2.Core.resources.dll" File "HU\DevExpress.RichEdit.v13.2.Core.resources.dll" File "HU\DevExpress.Snap.v13.2.Core.resources.dll" File "HU\DevExpress.Snap.v13.2.Extensions.resources.dll" File "HU\DevExpress.Snap.v13.2.resources.dll" File "HU\DevExpress.Sparkline.v13.2.Core.resources.dll" File "HU\DevExpress.Spreadsheet.v13.2.Core.resources.dll" File "HU\DevExpress.Utils.v13.2.resources.dll" File "HU\DevExpress.Utils.v13.2.UI.resources.dll" File "HU\DevExpress.XtraBars.v13.2.resources.dll" File "HU\DevExpress.XtraCharts.v13.2.resources.dll" File "HU\DevExpress.XtraCharts.v13.2.Wizard.resources.dll" File "HU\DevExpress.XtraEditors.v13.2.resources.dll" File "HU\DevExpress.XtraGauges.v13.2.Core.resources.dll" File "HU\DevExpress.XtraGauges.v13.2.Presets.resources.dll" File "HU\DevExpress.XtraGrid.v13.2.resources.dll" File "HU\DevExpress.XtraLayout.v13.2.resources.dll" File "HU\DevExpress.XtraNavBar.v13.2.resources.dll" File "HU\DevExpress.XtraPdfViewer.v13.2.resources.dll" File "HU\DevExpress.XtraPivotGrid.v13.2.resources.dll" File "HU\DevExpress.XtraPrinting.v13.2.resources.dll" File "HU\DevExpress.XtraReports.v13.2.Extensions.resources.dll" File "HU\DevExpress.XtraReports.v13.2.resources.dll" File "HU\DevExpress.XtraRichEdit.v13.2.Extensions.resources.dll" File "HU\DevExpress.XtraRichEdit.v13.2.resources.dll" File "HU\DevExpress.XtraScheduler.v13.2.Core.resources.dll" File "HU\DevExpress.XtraScheduler.v13.2.Extensions.resources.dll" File "HU\DevExpress.XtraScheduler.v13.2.Reporting.resources.dll" File "HU\DevExpress.XtraScheduler.v13.2.resources.dll" File "HU\DevExpress.XtraSpellChecker.v13.2.resources.dll" File "HU\DevExpress.XtraSpreadsheet.v13.2.resources.dll" File "HU\DevExpress.XtraTreeList.v13.2.resources.dll" File "HU\DevExpress.XtraVerticalGrid.v13.2.resources.dll" File "HU\DevExpress.XtraWizard.v13.2.resources.dll" ;Other runtime files SetOutPath "$INSTDIR" File "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\PIA\Common\Microsoft.mshtml.dll" File "MySql.Data.dll" File "ProteinChip.ico" ;AForge.NET File "..\bin\Release\AForge.dll" File "..\bin\Release\AForge.Imaging.dll" File "..\bin\Release\AForge.Math.dll" ;ProteinChip module File "..\bin\Release\ProteinChip.BarcodeScanner.dll" File "..\bin\Release\ProteinChip.DatabaseUserSettings.dll" File "..\bin\Release\ProteinChip.Module.dll" File "..\bin\Release\ProteinChip.Module.Win.dll" File "..\bin\Release\ProteinChip.Win.exe" File "ProteinChip.Win.exe.config" ;Model File "..\bin\Release\Model.xafml" File "..\bin\Release\Model_hu.xafml" ;Store installation folder WriteRegStr HKCU "Software\Nuvolar" "" $INSTDIR WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nuvolar" "DisplayName" "Protein Chip képfeldolgozó rendszer" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nuvolar" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nuvolar" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" ;Create uninstaller WriteUninstaller "$INSTDIR\Uninstall.exe" SetOutPath "$INSTDIR\HU" ;ProteinChip HU resources File "..\bin\Release\hu\ProteinChip.Module.resources.dll" File "..\bin\Release\hu\ProteinChip.Module.Win.resources.dll" ;After copy run dbupdater ! SetOutPath "$INSTDIR" ExecWait '"$INSTDIR\crdatabase.cmd" $\"$INSTDIR\database.sql$\" root protein!12345' CreateShortCut "$DESKTOP\ProteinChip.lnk" "$INSTDIR\ProteinChip.Win.exe" CreateShortCut "$SMPROGRAMS\ProteinChip.lnk" "$INSTDIR\ProteinChip.Win.exe" "" "$INSTDIR\ProteinChip.ico" SectionEnd Function SerialPageShow !insertmacro MUI_HEADER_TEXT "Biztonsági kód megadása" "Adja meg a telepítőhöz mellékelt biztonsági kódot a telepítés folytatásához." PassDialog::Dialog Serial \ /HEADINGTEXT 'Kérem adja meg a biztonsági kódot ( a kötőjeleket nem kell beírni!)' \ /CENTER \ /BOXDASH 12 70 5 '' \ /BOXDASH 92 70 5 '' \ /BOXDASH 172 70 5 '' \ /BOXDASH 252 70 5 '' \ /BOX 332 70 5 '' Pop $R0 # success, back, cancel or error FunctionEnd Function SerialPageLeave ## Pop values from stack Pop $R0 Pop $R1 Pop $R2 Pop $R3 Pop $R4 ## A bit of validation StrCmp $R0 '3AWYM' +3 MessageBox MB_OK "Hibás biztonsági kód !" Abort StrCmp $R1 'BZT4E' +3 MessageBox MB_OK "Hibás biztonsági kód !" Abort StrCmp $R2 'WLM3G' +3 MessageBox MB_OK "Hibás biztonsági kód !" Abort StrCmp $R3 'AMJH7' +3 MessageBox MB_OK "Hibás biztonsági kód !" Abort StrCmp $R4 'TPXKS' +3 MessageBox MB_OK "Hibás biztonsági kód !" Abort FunctionEnd ;-------------------------------- ;Installer Functions Function .onInit !insertmacro MUI_LANGDLL_DISPLAY FunctionEnd ;-------------------------------- ;Descriptions ;USE A LANGUAGE STRING IF YOU WANT YOUR DESCRIPTIONS TO BE LANGAUGE SPECIFIC ;Assign descriptions to sections !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${ProteinChip} "A test section." !insertmacro MUI_FUNCTION_DESCRIPTION_END ;-------------------------------- ;Uninstaller Section Section "Uninstall" SetShellVarContext all SetOutPath "$INSTDIR" ;ADD YOUR OWN FILES HERE... Delete "$INSTDIR\database.sql" Delete "$INSTDIR\crdatabase.cmd" ;DevExpress files ... Delete "$INSTDIR\DevExpress.Data.v13.2.dll" Delete "$INSTDIR\DevExpress.DataAccess.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Validation.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Validation.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.ViewVariantsModule.v13.2.dll" Delete "$INSTDIR\DevExpress.BonusSkins.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.AuditTrail.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.ConditionalAppearance.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.FileAttachment.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.HtmlPropertyEditor.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Images.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Objects.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.ReportsV2.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.ReportsV2.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Security.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.TreeListEditors.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.TreeListEditors.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Win.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.Xpo.v13.2.dll" Delete "$INSTDIR\DevExpress.ExpressApp.v13.2.dll" Delete "$INSTDIR\DevExpress.Office.v13.2.Core.dll" Delete "$INSTDIR\DevExpress.Persistent.Base.v13.2.dll" Delete "$INSTDIR\DevExpress.Persistent.BaseImpl.v13.2.dll" Delete "$INSTDIR\DevExpress.Printing.v13.2.Core.dll" Delete "$INSTDIR\DevExpress.RichEdit.v13.2.Core.dll" Delete "$INSTDIR\DevExpress.Utils.v13.2.dll" Delete "$INSTDIR\DevExpress.Utils.v13.2.UI.dll" Delete "$INSTDIR\DevExpress.Xpo.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraBars.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraEditors.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraGrid.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraLayout.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraNavBar.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraPrinting.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraReports.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraReports.v13.2.Extensions.dll" Delete "$INSTDIR\DevExpress.XtraRichEdit.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraTreeList.v13.2.dll" Delete "$INSTDIR\DevExpress.XtraVerticalGrid.v13.2.dll" ;DevExpress localization Delete "$INSTDIR\HU\DevExpress.Charts.Designer.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.Dashboard.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Dashboard.v13.2.Win.resources.dll" Delete "$INSTDIR\HU\DevExpress.Data.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.DataAccess.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.DataAccess.v13.2.UI.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.HtmlPropertyEditor.Win.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.PivotChart.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.Reports.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.Scheduler.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.Security.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.Validation.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.ExpressApp.Win.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.Office.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Pdf.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.PivotGrid.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Printing.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.RichEdit.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Snap.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Snap.v13.2.Extensions.resources.dll" Delete "$INSTDIR\HU\DevExpress.Snap.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.Sparkline.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Spreadsheet.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.Utils.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.Utils.v13.2.UI.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraBars.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraCharts.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraCharts.v13.2.Wizard.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraEditors.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraGauges.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraGauges.v13.2.Presets.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraGrid.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraLayout.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraNavBar.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraPdfViewer.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraPivotGrid.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraPrinting.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraReports.v13.2.Extensions.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraReports.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraRichEdit.v13.2.Extensions.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraRichEdit.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraScheduler.v13.2.Core.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraScheduler.v13.2.Extensions.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraScheduler.v13.2.Reporting.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraScheduler.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraSpellChecker.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraSpreadsheet.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraTreeList.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraVerticalGrid.v13.2.resources.dll" Delete "$INSTDIR\HU\DevExpress.XtraWizard.v13.2.resources.dll" ;Other runtime files Delete "$INSTDIR\Microsoft.mshtml.dll" Delete "$INSTDIR\ProteinChip.ico" Delete "$INSTDIR\MySql.Data.dll" ;AForge.NET Delete "$INSTDIR\AForge.dll" Delete "$INSTDIR\AForge.Imaging.dll" Delete "$INSTDIR\AForge.Math.dll" ;ProteinChip module Delete "$INSTDIR\ProteinChip.BarcodeScanner.dll" Delete "$INSTDIR\ProteinChip.DatabaseUserSettings.dll" Delete "$INSTDIR\ProteinChip.Module.dll" Delete "$INSTDIR\ProteinChip.Module.Win.dll" Delete "$INSTDIR\ProteinChip.Win.exe" Delete "$INSTDIR\ProteinChip.Win.exe.config" ;Model editor Delete "$INSTDIR\Model.xafml" Delete "$INSTDIR\Model_hu.xafml" Delete "$INSTDIR\ModulesVersionInfo" Delete "$INSTDIR\ModelAssembly.dll" Delete "$INSTDIR\Uninstall.exe" Delete "$INSTDIR\proteinchip.mdb" Delete "$INSTDIR\hu\ProteinChip.Module.resources.dll" Delete "$INSTDIR\hu\ProteinChip.Module.Win.resources.dll" Delete "$DESKTOP\ProteinChip.lnk" Delete "$SMPROGRAMS\ProteinChip.lnk" RMDir "$INSTDIR\HU" RMDir "$INSTDIR" DeleteRegKey /ifempty HKCU "Software\Nuvolar" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nuvolar" SectionEnd ;-------------------------------- ;Uninstaller Functions Function un.onInit !insertmacro MUI_UNGETLANGUAGE FunctionEnd