Rainbow Portal

 

Dev Note: Building an installation script to manually install a module     4/23/2003

This is the recommended way to install new modules using a sql script.  It is not intended for use with the new Rainbow installer because the Rainbow installer will automatically install core modules for you.

You need this syntax if you want install using Query Analyzer to execute setup scripts.

-- this example installs the Flash module

DECLARE @GeneralModDefID uniqueidentifier

DECLARE @FriendlyName nvarchar(128)

DECLARE @DesktopSrc nvarchar(256)

DECLARE @MobileSrc nvarchar(256)

DECLARE @AssemblyName varchar(50)

DECLARE @ClassName nvarchar(128)

DECLARE @Admin bit

DECLARE @Searchable bit

SET @GeneralModDefID = '{623EC4DD-BA40-421c-887D-D774ED8EBF02}'

SET @FriendlyName = 'Flash Module'

SET @DesktopSrc = 'DesktopModules/FlashModule/FlashModule.ascx'

SET @MobileSrc = ''

SET @AssemblyName = 'Rainbow.DLL'

SET @ClassName = ''

SET @Admin = 0

SET @Searchable = 0

-- Installs module

EXEC [rb_AddGeneralModuleDefinitions] @GeneralModDefID, @FriendlyName, @DesktopSrc, @MobileSrc, @AssemblyName, @ClassName, @Admin, @Searchable

-- Install it for default portal

EXEC [rb_UpdateModuleDefinitions] @GeneralModDefId, 0, 1

GO


<< Back      

powered by Rainbow with Rainbow.Zen