Unfortunately, when I tried this I got the following error:
System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_DesktopModulePermission_Roles". The conflict occurred in database "Gasser_DNN", table "dbo.Roles", column 'RoleID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteScalar[T](String connectionString, CommandType type, Int32 timeout, String sql, Object[] args) at DotNetNuke.Data.SqlDataProvider.ExecuteScalar[T](String procedureName, Object[] commandParameters) at DotNetNuke.Data.DataProvider.AddDesktopModulePermission(Int32 portalDesktopModuleID, Int32 permissionID, Int32 roleID, Boolean allowAccess, Int32 userID, Int32 createdByUserID) at DotNetNuke.Security.Permissions.DesktopModulePermissionController.AddDesktopModulePermission(DesktopModulePermissionInfo objDesktopModulePermission) at DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(Int32 portalID, Int32 desktopModuleID, Boolean addPermissions, Boolean clearCache) at DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortals(Int32 desktopModuleID) at DesktopModules.Admin.ModuleCreator.CreateModule.CreateModuleDefinition() ClientConnectionId:d39a986e-8934-4332-8955-4c5ad583fbd6
When I then go into Host>Extensions I see that it did create the module, but the same issue exists with the missing module definition.