Hi, I have a problem when re-running the setup after installation.
I implemented my extensions and validated them with the toolkit. I can alter the datamodel with the toolkit. But when it comes to re-run the setup, this error appears:

Unknown class 'Software', expected a value in {AsyncTask, AsyncSendEmail, DBProperty, CMDBChange, CMDBChangeOp, CMDBChangeOpCreate, CMDBChangeOpDelete, CMDBChangeOpSetAttribute, CMDBChangeOpSetAttributeScalar, CMDBChangeOpSetAttributeBlob, CMDBChangeOpSetAttributeOneWayPassword, CMDBChangeOpSetAttributeEncrypted, CMDBChangeOpSetAttributeText, CMDBChangeOpSetAttributeLongText, CMDBChangeOpSetAttributeCaseLog, CMDBChangeOpPlugin, CMDBChangeOpSetAttributeLinks, CMDBChangeOpSetAttributeLinksAddRemove, CMDBChangeOpSetAttributeLinksTune, User, UserInternal, ModuleInstallation, UserDashboard, Shortcut, ShortcutOQL, appUserPreferences, AuditRule, AuditCategory, Query, QueryOQL, Event, EventNotification, EventNotificationEmail, EventIssue, EventWebService, EventLoginUsage, Action, ActionNotification, ActionEmail, Trigger, TriggerOnObject, TriggerOnPortalUpdate, TriggerOnStateChange, TriggerOnStateEnter, TriggerOnStateLeave, TriggerOnObjectCreate, lnkTriggerAction, TriggerOnThresholdReached, SynchroDataSource, SynchroAttribute, SynchroAttExtKey, SynchroAttLinkSet, SynchroLog, SynchroReplica, BackgroundTask, ApprovalScheme, UserExternal, UserLDAP, UserLocal, TriggerOnLogUpdate, Attachment, Organization, Location, Group, Contract, CustomerContract, ProviderContract, lnkContactToContract, lnkContractToDocument, lnkFunctionalCIToProviderContract, Service, lnkDocumentToService, lnkContactToService, ServiceSubcategory, SLA, SLT, lnkSLAToSLT, lnkCustomerContractToService, lnkProviderContractToService, lnkFunctionalCIToService, DeliveryModel, lnkDeliveryModelToContact, Ticket, lnkContactToTicket, lnkFunctionalCIToTicket, WorkOrder, Template, TemplateField, TemplateExtraData, Contact, Person, Team, Document, WebDoc, Note, FileDoc, FunctionalCI, ServerParts, Memory, Processor, Card, Disk, UPS, UPSExtension, Rack, Enclosure, Switches, SwitchModule, Interconnect, KVMSwitch, KVMConsole, DiskHolder, Storage, DriveEnclosure, Server, Blade, RackServer, StorageController, lnkProjectToContact, lnkTeamToContact, lnkCIToDoc, lnkLIToDoc, lnkProjectToDoc, Project, lnkGroupToCI, lnkCIToContact, lnkProjectToCI, LogicalCI, LUN, Systems, VirtualMachine, Standalone, Cluster, IP, Network, lnkProjectToLI, lnkSystemToLUN, lnkClusterToLUN, lnkSystemToNetwork, lnkClusterToNetwork, UserList, SecurityGroup, lnkPersonToUserList, lnkProjectToSecurityGroup, lnkLUNToCluster, CoverageWindow, Holiday, HolidayCalendar, Change, UserRequest, ApprovalRule, ExtendedApprovalScheme, lnkLogicalCIToTicket, RequestTemplate, URP_Profiles, URP_UserProfile, URP_UserOrg}

So I tried to reinstall iTop from scratch, with my extensions, and it worked. But I still have the previous error when I run the setup again. I don't think it is normal because in my extensions I do delete Software class so I don't understand why it somehow looks for it when I run the setup again. Note that I am currently using the version 2.0.1.

Here is the piece of setup log concerned:
*
2014-08-13 16:49:08 - Info - operation 'async_action', peak memory usage. 7388848
2014-08-13 16:49:09 - Info - operation 'async_action', peak memory usage. 7369840
2014-08-13 16:49:09 - Info - Data file: '/tmp/itop-YvlG7u'
2014-08-13 16:49:09 - Info - Executing command: mysqldump --opt --default-character-set=utf8 --add-drop-database --single-transaction --host='localhost' --user=xxxxx --password=xxxxx --result-file='/tmp/itop-YvlG7u' 'emptyItop'
2014-08-13 16:49:10 - Info - Archive: /var/www/html/test_itop/data/iTop-backup-2014-08-13.zip created
2014-08-13 16:49:10 - Info - operation 'async_action', peak memory usage. 7380768
2014-08-13 16:49:10 - Info - Compiling data model.
2014-08-13 16:49:12 - Info - Data model successfully compiled to '/var/www/html/test_itop/env-production'.
2014-08-13 16:49:12 - Info - operation 'async_action', peak memory usage. 12213592
2014-08-13 16:49:12 - Info - Update Database Schema for environment 'production'.
2014-08-13 16:49:12 - Info - MetaModel::Startup (ModelOnly = 1)
2014-08-13 16:49:12 - Info - Renaming 'priv_internalUser' into 'priv_internaluser' (lowercase)
2014-08-13 16:49:12 - Info - Renaming 'priv_internalUser' failed (already done in a previous upgrade?)
2014-08-13 16:49:12 - Info - Calling Module Handler: approval_baseInstaller::BeforeDatabaseCreation(oConfig, 1.2.0, 1.2.0)
2014-08-13 16:49:12 - Info - Calling Module Handler: AttachmentInstaller::BeforeDatabaseCreation(oConfig, 1.0.0, 1.0.0)
2014-08-13 16:49:12 - Info - Calling Module Handler: ConfigMgmtInstaller::BeforeDatabaseCreation(oConfig, 2.0.0, 2.0.0)
2014-08-13 16:49:12 - Error - An exception occurred: Unknown class 'Software', expected a value in {AsyncTask, AsyncSendEmail, DBProperty, CMDBChange, CMDBChangeOp, CMDBChangeOpCreate, CMDBChangeOpDelete, CMDBChangeOpSetAttribute, CMDBChangeOpSetAttributeScalar, CMDBChangeOpSetAttributeBlob, CMDBChangeOpSetAttributeOneWayPassword, CMDBChangeOpSetAttributeEncrypted, CMDBChangeOpSetAttributeText, CMDBChangeOpSetAttributeLongText, CMDBChangeOpSetAttributeCaseLog, CMDBChangeOpPlugin, CMDBChangeOpSetAttributeLinks, CMDBChangeOpSetAttributeLinksAddRemove, CMDBChangeOpSetAttributeLinksTune, User, UserInternal, ModuleInstallation, UserDashboard, Shortcut, ShortcutOQL, appUserPreferences, AuditRule, AuditCategory, Query, QueryOQL, Event, EventNotification, EventNotificationEmail, EventIssue, EventWebService, EventLoginUsage, Action, ActionNotification, ActionEmail, Trigger, TriggerOnObject, TriggerOnPortalUpdate, TriggerOnStateChange, TriggerOnStateEnter, TriggerOnStateLeave, TriggerOnObjectCreate, lnkTriggerAction, TriggerOnThresholdReached, SynchroDataSource, SynchroAttribute, SynchroAttExtKey, SynchroAttLinkSet, SynchroLog, SynchroReplica, BackgroundTask, ApprovalScheme, UserExternal, UserLDAP, UserLocal, TriggerOnLogUpdate, Attachment, Organization, Location, Group, Contract, CustomerContract, ProviderContract, lnkContactToContract, lnkContractToDocument, lnkFunctionalCIToProviderContract, Service, lnkDocumentToService, lnkContactToService, ServiceSubcategory, SLA, SLT, lnkSLAToSLT, lnkCustomerContractToService, lnkProviderContractToService, lnkFunctionalCIToService, DeliveryModel, lnkDeliveryModelToContact, Ticket, lnkContactToTicket, lnkFunctionalCIToTicket, WorkOrder, Template, TemplateField, TemplateExtraData, Contact, Person, Team, Document, WebDoc, Note, FileDoc, FunctionalCI, ServerParts, Memory, Processor, Card, Disk, UPS, UPSExtension, Rack, Enclosure, Switches, SwitchModule, Interconnect, KVMSwitch, KVMConsole, DiskHolder, Storage, DriveEnclosure, Server, Blade, RackServer, StorageController, lnkProjectToContact, lnkTeamToContact, lnkCIToDoc, lnkLIToDoc, lnkProjectToDoc, Project, lnkGroupToCI, lnkCIToContact, lnkProjectToCI, LogicalCI, LUN, Systems, VirtualMachine, Standalone, Cluster, IP, Network, lnkProjectToLI, lnkSystemToLUN, lnkClusterToLUN, lnkSystemToNetwork, lnkClusterToNetwork, UserList, SecurityGroup, lnkPersonToUserList, lnkProjectToSecurityGroup, lnkLUNToCluster, CoverageWindow, Holiday, HolidayCalendar, Change, UserRequest, ApprovalRule, ExtendedApprovalScheme, lnkLogicalCIToTicket, RequestTemplate, URP_Profiles, URP_UserProfile, URP_UserOrg} at line 177 in file /var/www/html/test_itop/core/metamodel.class.php
2014-08-13 16:49:12 - Call stack:
2014-08-13 16:49:12 - #0 /var/www/html/test_itop/core/metamodel.class.php(587): MetaModel::_check_subclass(...)
2014-08-13 16:49:12 - #1 /var/www/html/test_itop/setup/moduleinstaller.class.inc.php(93): MetaModel::GetAttributeOrigin(...)
2014-08-13 16:49:12 - #2 /var/www/html/test_itop/setup/modulediscovery.class.inc.php(319) : eval()'d code(88): ModuleInstallerAPI::RenameEnumValueInDB(...)
2014-08-13 16:49:12 - #3 (): ConfigMgmtInstaller::BeforeDatabaseCreation(...)
2014-08-13 16:49:12 - #4 /var/www/html/test_itop/setup/applicationinstaller.class.inc.php(583): call_user_func_array(...)
2014-08-13 16:49:12 - #5 /var/www/html/test_itop/setup/applicationinstaller.class.inc.php(245): ApplicationInstaller::DoUpdateDBSchema(...)
2014-08-13 16:49:12 - #6 /var/www/html/test_itop/setup/wizardsteps.class.inc.php(2027): ApplicationInstaller->ExecuteStep(...)
2014-08-13 16:49:12 - #7 /var/www/html/test_itop/setup/ajax.dataloader.php(150): WizStepSummary->AsyncAction(...)
2014-08-13 16:49:12 - Info - operation 'async_action', peak memory usage. 52328008
*

Let me know if you find it weird too.

Thanks.
Best regards.
Loïc T-V

PS: I posted on the wiki tab first without noticing I wasn't on the forum and I didn't find the way to delete the post. So I let it empty..