Quantcast

install

Darthpred [06-27-14 - 22:03]
install
Filename
ElvUI_SLE/modules/install/BigWigs.lua
ElvUI_SLE/modules/install/BigWigsFights.lua
ElvUI_SLE/modules/install/BigWigsIcon.lua
ElvUI_SLE/modules/install/Clique.lua
ElvUI_SLE/modules/install/Hermes.lua
ElvUI_SLE/modules/install/install.lua
ElvUI_SLE/modules/install/installer.lua
ElvUI_SLE/modules/install/xCT+.lua
diff --git a/ElvUI_SLE/modules/install/BigWigs.lua b/ElvUI_SLE/modules/install/BigWigs.lua
index bdf7b67..a2bb6c4 100755
--- a/ElvUI_SLE/modules/install/BigWigs.lua
+++ b/ElvUI_SLE/modules/install/BigWigs.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = true               -- whether or not this database is a Ace3 profile
 local name   = 'BigWigs'          -- the name of the addon
diff --git a/ElvUI_SLE/modules/install/BigWigsFights.lua b/ElvUI_SLE/modules/install/BigWigsFights.lua
index a0bb3f7..683fc08 100755
--- a/ElvUI_SLE/modules/install/BigWigsFights.lua
+++ b/ElvUI_SLE/modules/install/BigWigsFights.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = false              -- whether or not this database is a Ace3 profile
 local name   = 'BigWigs'          -- the name of the addon
diff --git a/ElvUI_SLE/modules/install/BigWigsIcon.lua b/ElvUI_SLE/modules/install/BigWigsIcon.lua
index be3a2e8..08e8ffc 100755
--- a/ElvUI_SLE/modules/install/BigWigsIcon.lua
+++ b/ElvUI_SLE/modules/install/BigWigsIcon.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = false              -- whether or not this database is a Ace3 profile
 local name   = 'BigWigs'          -- the name of the addon
diff --git a/ElvUI_SLE/modules/install/Clique.lua b/ElvUI_SLE/modules/install/Clique.lua
index 652e78f..9b4e294 100755
--- a/ElvUI_SLE/modules/install/Clique.lua
+++ b/ElvUI_SLE/modules/install/Clique.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = false              -- whether or not this database is a Ace3 profile
 local name   = 'Clique'          -- the name of the addon
diff --git a/ElvUI_SLE/modules/install/Hermes.lua b/ElvUI_SLE/modules/install/Hermes.lua
index d1c3658..5a3dc97 100755
--- a/ElvUI_SLE/modules/install/Hermes.lua
+++ b/ElvUI_SLE/modules/install/Hermes.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = true               -- whether or not this database is a Ace3 profile
 local name   = 'Hermes'           -- the name of the addon
diff --git a/ElvUI_SLE/modules/install/install.lua b/ElvUI_SLE/modules/install/install.lua
index 17831b3..b9b0351 100755
--- a/ElvUI_SLE/modules/install/install.lua
+++ b/ElvUI_SLE/modules/install/install.lua
@@ -1,762 +1,14 @@
 local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
 local UF = E:GetModule('UnitFrames');
-local AI = E:GetModule('AddonInstaller');
+local AI = E:GetModule('SLE_AddonInstaller');
 local SLE = E:GetModule('SLE');

 local CURRENT_PAGE = 0
-local MAX_PAGE
+local MAX_PAGE = 5

-local function MaxPages()
-	if IsAddOnLoaded("ElvUI_Hud") then
-		MAX_PAGE = 11
-	else
-		MAX_PAGE = 10
-	end
-end
-
-local function SetupChat()
-	InstallStepComplete.message = L["Chat Set"]
-	InstallStepComplete:Show()
-	FCF_ResetChatWindows()
-	FCF_SetLocked(ChatFrame1, 1)
-	FCF_DockFrame(ChatFrame2)
-	FCF_SetLocked(ChatFrame2, 1)
-
-	FCF_OpenNewWindow(LOOT)
-	FCF_UnDockFrame(ChatFrame3)
-	FCF_SetLocked(ChatFrame3, 1)
-	ChatFrame3:Show()
-
-	for i = 1, NUM_CHAT_WINDOWS do
-		local frame = _G[format("ChatFrame%s", i)]
-		local chatFrameId = frame:GetID()
-		local chatName = FCF_GetChatWindowInfo(chatFrameId)
-
-		-- move general bottom left
-		if i == 1 then
-			frame:ClearAllPoints()
-			frame:Point("BOTTOMLEFT", LeftChatToggleButton, "TOPLEFT", 1, 3)
-		elseif i == 3 then
-			frame:ClearAllPoints()
-			frame:Point("BOTTOMLEFT", RightChatDataPanel, "TOPLEFT", 1, 3)
-		end
-
-		FCF_SavePositionAndDimensions(frame)
-		FCF_StopDragging(frame)
-
-		-- set default Elvui font size
-		FCF_SetChatWindowFontSize(nil, frame, 12)
-
-		-- rename windows general because moved to chat #3
-		if i == 1 then
-			FCF_SetWindowName(frame, GENERAL)
-		elseif i == 2 then
-			FCF_SetWindowName(frame, GUILD_EVENT_LOG)
-		elseif i == 3 then
-			FCF_SetWindowName(frame, LOOT.." / "..TRADE)
-		end
-	end
-
-	ChatFrame_RemoveAllMessageGroups(ChatFrame1)
-	ChatFrame_AddMessageGroup(ChatFrame1, "SAY")
-	ChatFrame_AddMessageGroup(ChatFrame1, "EMOTE")
-	ChatFrame_AddMessageGroup(ChatFrame1, "YELL")
-	ChatFrame_AddMessageGroup(ChatFrame1, "GUILD")
-	ChatFrame_AddMessageGroup(ChatFrame1, "OFFICER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "GUILD_ACHIEVEMENT")
-	ChatFrame_AddMessageGroup(ChatFrame1, "WHISPER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "MONSTER_SAY")
-	ChatFrame_AddMessageGroup(ChatFrame1, "MONSTER_EMOTE")
-	ChatFrame_AddMessageGroup(ChatFrame1, "MONSTER_YELL")
-	ChatFrame_AddMessageGroup(ChatFrame1, "MONSTER_BOSS_EMOTE")
-	ChatFrame_AddMessageGroup(ChatFrame1, "PARTY")
-	ChatFrame_AddMessageGroup(ChatFrame1, "PARTY_LEADER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "RAID")
-	ChatFrame_AddMessageGroup(ChatFrame1, "RAID_LEADER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "RAID_WARNING")
-	ChatFrame_AddMessageGroup(ChatFrame1, "INSTANCE_CHAT")
-	ChatFrame_AddMessageGroup(ChatFrame1, "INSTANCE_CHAT_LEADER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BATTLEGROUND")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BATTLEGROUND_LEADER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BG_HORDE")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BG_ALLIANCE")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BG_NEUTRAL")
-	ChatFrame_AddMessageGroup(ChatFrame1, "SYSTEM")
-	ChatFrame_AddMessageGroup(ChatFrame1, "ERRORS")
-	ChatFrame_AddMessageGroup(ChatFrame1, "AFK")
-	ChatFrame_AddMessageGroup(ChatFrame1, "DND")
-	ChatFrame_AddMessageGroup(ChatFrame1, "IGNORED")
-	ChatFrame_AddMessageGroup(ChatFrame1, "ACHIEVEMENT")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BN_WHISPER")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BN_CONVERSATION")
-	ChatFrame_AddMessageGroup(ChatFrame1, "BN_INLINE_TOAST_ALERT")
-
-
-	ChatFrame_RemoveAllMessageGroups(ChatFrame3)
-	ChatFrame_AddMessageGroup(ChatFrame3, "COMBAT_FACTION_CHANGE")
-	ChatFrame_AddMessageGroup(ChatFrame3, "SKILL")
-	ChatFrame_AddMessageGroup(ChatFrame3, "LOOT")
-	ChatFrame_AddMessageGroup(ChatFrame3, "MONEY")
-	ChatFrame_AddMessageGroup(ChatFrame3, "COMBAT_XP_GAIN")
-	ChatFrame_AddMessageGroup(ChatFrame3, "COMBAT_HONOR_GAIN")
-	ChatFrame_AddMessageGroup(ChatFrame3, "COMBAT_GUILD_XP_GAIN")
-	ChatFrame_AddChannel(ChatFrame1, GENERAL)
-	ChatFrame_RemoveChannel(ChatFrame1, L['Trade'])
-	ChatFrame_AddChannel(ChatFrame3, L['Trade'])
-
-
-	if E.myname == "Elvz" then
-		SetCVar("scriptErrors", 1)
-	end
-
-	-- enable classcolor automatically on login and on each character without doing /configure each time.
-	ToggleChatColorNamesByClassGroup(true, "SAY")
-	ToggleChatColorNamesByClassGroup(true, "EMOTE")
-	ToggleChatColorNamesByClassGroup(true, "YELL")
-	ToggleChatColorNamesByClassGroup(true, "GUILD")
-	ToggleChatColorNamesByClassGroup(true, "OFFICER")
-	ToggleChatColorNamesByClassGroup(true, "GUILD_ACHIEVEMENT")
-	ToggleChatColorNamesByClassGroup(true, "ACHIEVEMENT")
-	ToggleChatColorNamesByClassGroup(true, "WHISPER")
-	ToggleChatColorNamesByClassGroup(true, "PARTY")
-	ToggleChatColorNamesByClassGroup(true, "PARTY_LEADER")
-	ToggleChatColorNamesByClassGroup(true, "RAID")
-	ToggleChatColorNamesByClassGroup(true, "RAID_LEADER")
-	ToggleChatColorNamesByClassGroup(true, "RAID_WARNING")
-	ToggleChatColorNamesByClassGroup(true, "BATTLEGROUND")
-	ToggleChatColorNamesByClassGroup(true, "BATTLEGROUND_LEADER")
-	ToggleChatColorNamesByClassGroup(true, "INSTANCE_CHAT")
-	ToggleChatColorNamesByClassGroup(true, "INSTANCE_CHAT_LEADER")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL1")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL2")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL3")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL4")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL5")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL6")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL7")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL8")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL9")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL10")
-	ToggleChatColorNamesByClassGroup(true, "CHANNEL11")
-
-	--Adjust Chat Colors
-	--General
-	ChangeChatColor("CHANNEL1", 195/255, 230/255, 232/255)
-	--Trade
-	ChangeChatColor("CHANNEL2", 232/255, 158/255, 121/255)
-	--Local Defense
-	ChangeChatColor("CHANNEL3", 232/255, 228/255, 121/255)
-
-	if E.Chat then
-		E.Chat:PositionChat(true)
-		if E.db['RightChatPanelFaded'] then
-			RightChatToggleButton:Click()
-		end
-
-		if E.db['LeftChatPanelFaded'] then
-			LeftChatToggleButton:Click()
-		end
-	end
-end
-
-local function SetupCVars()
-	SetCVar("alternateResourceText", 1)
-	SetCVar("statusTextDisplay", "BOTH")
-	SetCVar("mapQuestDifficulty", 1)
-	SetCVar("ShowClassColorInNameplate", 1)
-	SetCVar("screenshotQuality", 10)
-	SetCVar("chatMouseScroll", 1)
-	SetCVar("chatStyle", "classic")
-	SetCVar("WholeChatWindowClickable", 0)
-	SetCVar("ConversationMode", "inline")
-	SetCVar("showTutorials", 0)
-	SetCVar("UberTooltips", 1)
-	SetCVar("threatWarning", 3)
-	SetCVar('alwaysShowActionBars', 1)
-	SetCVar('lockActionBars', 1)
-	SetCVar('SpamFilter', 0) --Blocks mmo-champion.com, dumb... ElvUI one is more effeciant anyways.
-	InterfaceOptionsActionBarsPanelPickupActionKeyDropDown:SetValue('SHIFT')
-	InterfaceOptionsActionBarsPanelPickupActionKeyDropDown:RefreshValue()
-
-	InstallStepComplete.message = L["CVars Set"]
-	InstallStepComplete:Show()
-end
-
-function E:GetColor(r, b, g, a)
-	return { r = r, b = b, g = g, a = a }
-end
-
-function E:SetupPixelPerfect(enabled, noMsg)
-	E.private.general.pixelPerfect = enabled;
-
-	if (E.PixelMode ~= enabled) then
-		E:StaticPopup_Show('PIXELPERFECT_CHANGED')
-	end
-
-	if not noMsg then
-		E.db.general.bottomPanel = enabled
-		E:GetModule('Layout'):BottomPanelVisibility()
-	end
-
-	if noMsg then
-		if enabled then
-			if not E.db.movers then E.db.movers = {}; end
-
-			E.db.actionbar.bar1.backdrop = false;
-			E.db.actionbar.bar3.backdrop = false;
-			E.db.actionbar.bar5.backdrop = false;
-			E.db.actionbar.bar1.buttonspacing = 2;
-			E.db.actionbar.bar2.buttonspacing = 2;
-			E.db.actionbar.bar3.buttonspacing = 2;
-			E.db.actionbar.bar4.buttonspacing = 2;
-			E.db.actionbar.bar5.buttonspacing = 2;
-			E.db.actionbar.barPet.buttonspacing = 2;
-			E.db.actionbar.stanceBar.buttonspacing = 2;
-		else
-			E.db.actionbar.bar1.backdrop = true;
-			E.db.actionbar.bar3.backdrop = true;
-			E.db.actionbar.bar5.backdrop = true;
-			E.db.actionbar.bar1.buttonspacing = 4;
-			E.db.actionbar.bar2.buttonspacing = 4;
-			E.db.actionbar.bar3.buttonspacing = 4;
-			E.db.actionbar.bar4.buttonspacing = 4;
-			E.db.actionbar.bar5.buttonspacing = 4;
-			E.db.actionbar.barPet.buttonspacing = 4;
-			E.db.actionbar.stanceBar.buttonspacing = 4;
-		end
-	end
-
-	if InstallStepComplete and not noMsg then
-		InstallStepComplete.message = L["Pixel Perfect Set"]
-		InstallStepComplete:Show()
-		E:UpdateAll(true)
-	end
-
-
-	E.PixelMode = enabled
-end
-
-function E:SetupTheme(theme, noDisplayMsg)
-	local classColor = E.myclass == 'PRIEST' and E.PriestColors or RAID_CLASS_COLORS[E.myclass]
-	E.private.theme = theme
-
-
-	--Set colors
-	if theme == "classic" then
-		E.db.general.bordercolor = E:GetColor(.31, .31, .31)
-		E.db.general.backdropcolor = E:GetColor(.1, .1, .1)
-		E.db.general.backdropfadecolor = E:GetColor(.06, .06, .06, .8)
-
-		E.db.unitframe.colors.healthclass = false
-		E.db.unitframe.colors.health = E:GetColor(.31, .31, .31)
-		E.db.unitframe.colors.auraBarBuff = E:GetColor(.31, .31, .31)
-		E.db.unitframe.colors.castColor = E:GetColor(.31, .31, .31)
-		E.db.unitframe.colors.castClassColor = false
-
-	elseif theme == "class" then
-		E.db.general.bordercolor = E:GetColor(.31, .31, .31)
-		E.db.general.backdropcolor = E:GetColor(.1, .1, .1)
-		E.db.general.backdropfadecolor = E:GetColor(.06, .06, .06, .8)
-		E.db.unitframe.colors.auraBarBuff = E:GetColor(classColor.r, classColor.b, classColor.g)
-		E.db.unitframe.colors.healthclass = true
-		E.db.unitframe.colors.castClassColor = true
-	else
-		E.db.general.bordercolor = E:GetColor(.1, .1, .1)
-		E.db.general.backdropcolor = E:GetColor(.1, .1, .1)
-		E.db.general.backdropfadecolor = E:GetColor(.054, .054, .054, .8)
-		E.db.unitframe.colors.auraBarBuff = E:GetColor(.1, .1, .1)
-		E.db.unitframe.colors.healthclass = false
-		E.db.unitframe.colors.health = E:GetColor(.1, .1, .1)
-		E.db.unitframe.colors.castColor = E:GetColor(.1, .1, .1)
-		E.db.unitframe.colors.castClassColor = false
-	end
-
-	--Value Color
-	if theme == "class" then
-		E.db.general.valuecolor = E:GetColor(classColor.r, classColor.b, classColor.g)
-	else
-		E.db.general.valuecolor = E:GetColor(.09, .819, .513)
-	end
-
-	if not noDisplayMsg then
-		E:UpdateAll(true)
-	end
-
-	if InstallStatus then
-		InstallStatus:SetStatusBarColor(unpack(E['media'].rgbvaluecolor))
-
-		if InstallStepComplete and not noDisplayMsg then
-			InstallStepComplete.message = L["Theme Set"]
-			InstallStepComplete:Show()
-		end
-	end
-end
-
-function E:SetupResolution(noDataReset)
-	if not noDataReset then
-		E:ResetMovers('')
-	end
-
-	if self == 'low' then
-		if not E.db.movers then E.db.movers = {}; end
-		if not noDataReset then
-			E.db.chat.panelWidth = 400
-			E.db.chat.panelHeight = 180
-
-			E:CopyTable(E.db.actionbar, P.actionbar)
-
-			E.db.actionbar.bar1.heightMult = 2;
-			E.db.actionbar.bar2.enabled = true;
-			E.db.actionbar.bar3.enabled = false;
-			E.db.actionbar.bar5.enabled = false;
-		end
-
-		if not noDataReset then
-			E.db.auras.wrapAfter = 10;
-		end
-		E.db.general.reputation.width = 400
-		E.db.general.experience.width = 400
-		E.db.movers.ElvAB_2 = "CENTERElvUIParentBOTTOM056.18"
-
-		if not noDataReset then
-			E:CopyTable(E.db.unitframe.units, P.unitframe.units)
-
-			E.db.unitframe.fontSize = 10
-
-			E.db.unitframe.units.player.width = 200;
-			E.db.unitframe.units.player.castbar.width = 200;
-			E.db.unitframe.units.player.classbar.fill = 'fill';
-			E.db.unitframe.units.player.health.text_format = "[healthcolor][health:current]"
-
-			E.db.unitframe.units.target.width = 200;
-			E.db.unitframe.units.target.castbar.width = 200;
-			E.db.unitframe.units.target.health.text_format = '[healthcolor][health:current]'
-
-			E.db.unitframe.units.pet.power.enable = false;
-			E.db.unitframe.units.pet.width = 200;
-			E.db.unitframe.units.pet.height = 26;
-
-			E.db.unitframe.units.targettarget.debuffs.enable = false;
-			E.db.unitframe.units.targettarget.power.enable = false;
-			E.db.unitframe.units.targettarget.width = 200;
-			E.db.unitframe.units.targettarget.height = 26;
-
-			E.db.unitframe.units.boss.width = 200;
-			E.db.unitframe.units.boss.castbar.width = 200;
-			E.db.unitframe.units.arena.width = 200;
-			E.db.unitframe.units.arena.castbar.width = 200;
-		end
-
-		local isPixel = E.private.general.pixelPerfect
-		local xOffset = isPixel and 103 or 106;
-		local yOffset = isPixel and 125 or 135;
-		local yOffsetSmall = isPixel and 76 or 80;
-
-		E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM"..-xOffset..""..yOffset
-		E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM"..xOffset..""..yOffsetSmall
-		E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM"..xOffset..""..yOffset
-		E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM"..-xOffset..""..yOffsetSmall
-		E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-
-		E.db.lowresolutionset = true;
-	elseif not noDataReset then
-		E.db.chat.panelWidth = P.chat.panelWidth
-		E.db.chat.panelHeight = P.chat.panelHeight
-
-		E:CopyTable(E.db.actionbar, P.actionbar)
-		E:CopyTable(E.db.unitframe.units, P.unitframe.units)
-		E:SetupPixelPerfect(E.PixelMode, true)
-		E.db.auras.wrapAfter = P.auras.wrapAfter;
-		E.db.general.reputation.width = P.general.reputation.width
-		E.db.general.experience.width = P.general.experience.width
-
-		E.db.lowresolutionset = nil;
-	end
-
-	if not noDataReset and E.private.theme then
-		E:SetupTheme(E.private.theme, true)
-	end
-
-	E:UpdateAll(true)
-
-	if InstallStepComplete and not noDataReset then
-		InstallStepComplete.message = L["Resolution Style Set"]
-		InstallStepComplete:Show()
-	end
-end
-
-function E:SetupLayout(layout, noDataReset)
-	--Unitframes
-	if not noDataReset then
-		E:CopyTable(E.db.unitframe.units, P.unitframe.units)
-		E:CopyTable(E.db.sle.combatico, P.sle.combatico)
-		E.db.sle.powtext = false
-	end
-
-	if not noDataReset then
-		E:ResetMovers('')
-		E:SetupPixelPerfect(E.PixelMode, true)
-		if not E.db.movers then E.db.movers = {} end
-
-		E.db.actionbar.bar2.enabled = E.db.lowresolutionset
-		if E.PixelMode then
-			E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM038"
-		else
-			E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM040"
-		end
-		if not E.db.lowresolutionset then
-			E.db.actionbar.bar3.buttons = 6
-			E.db.actionbar.bar5.buttons = 6
-			E.db.actionbar.bar4.enabled = true
-		end
-	end
-
-	if layout == 'healer' then
-		if not IsAddOnLoaded('Clique') then
-			E:StaticPopup_Show("CLIQUE_ADVERT")
-		end
-
-		if not noDataReset then
-			E.db.unitframe.units.raid10.horizontalSpacing = 9;
-			E.db.unitframe.units.raid10.rdebuffs.enable = false;
-			E.db.unitframe.units.raid10.verticalSpacing = 9;
-			E.db.unitframe.units.raid10.debuffs.sizeOverride = 16;
-			E.db.unitframe.units.raid10.debuffs.enable = true
-			E.db.unitframe.units.raid10.debuffs.anchorPoint = "TOPRIGHT";
-			E.db.unitframe.units.raid10.debuffs.xOffset = -4;
-			E.db.unitframe.units.raid10.debuffs.yOffset = -7;
-			E.db.unitframe.units.raid10.positionOverride = "BOTTOMRIGHT";
-			E.db.unitframe.units.raid10.height = 45;
-			E.db.unitframe.units.raid10.buffs.noConsolidated = false
-			E.db.unitframe.units.raid10.buffs.xOffset = 50;
-			E.db.unitframe.units.raid10.buffs.yOffset = -6;
-			E.db.unitframe.units.raid10.buffs.clickThrough = true
-			E.db.unitframe.units.raid10.buffs.noDuration = false
-			E.db.unitframe.units.raid10.buffs.playerOnly = false;
-			E.db.unitframe.units.raid10.buffs.perrow = 1
-			E.db.unitframe.units.raid10.buffs.useFilter = "TurtleBuffs"
-			E.db.unitframe.units.raid10.buffs.sizeOverride = 22
-			E.db.unitframe.units.raid10.buffs.useBlacklist = false
-			E.db.unitframe.units.raid10.buffs.enable = true
-			E.db.unitframe.units.raid10.growthDirection = "LEFT_UP"
-
-			E.db.unitframe.units.raid25.horizontalSpacing = 9;
-			E.db.unitframe.units.raid25.rdebuffs.enable = false;
-			E.db.unitframe.units.raid25.verticalSpacing = 9;
-			E.db.unitframe.units.raid25.debuffs.sizeOverride = 16;
-			E.db.unitframe.units.raid25.debuffs.enable = true
-			E.db.unitframe.units.raid25.debuffs.anchorPoint = "TOPRIGHT";
-			E.db.unitframe.units.raid25.debuffs.xOffset = -4;
-			E.db.unitframe.units.raid25.debuffs.yOffset = -7;
-			E.db.unitframe.units.raid25.height = 45;
-			E.db.unitframe.units.raid25.buffs.noConsolidated = false
-			E.db.unitframe.units.raid25.buffs.xOffset = 50;
-			E.db.unitframe.units.raid25.buffs.yOffset = -6;
-			E.db.unitframe.units.raid25.buffs.clickThrough = true
-			E.db.unitframe.units.raid25.buffs.noDuration = false
-			E.db.unitframe.units.raid25.buffs.playerOnly = false;
-			E.db.unitframe.units.raid25.buffs.perrow = 1
-			E.db.unitframe.units.raid25.buffs.useFilter = "TurtleBuffs"
-			E.db.unitframe.units.raid25.buffs.sizeOverride = 22
-			E.db.unitframe.units.raid25.buffs.useBlacklist = false
-			E.db.unitframe.units.raid25.buffs.enable = true
-			E.db.unitframe.units.raid25.growthDirection = "LEFT_UP"
-
-			E.db.unitframe.units.party.growthDirection = "LEFT_UP"
-			E.db.unitframe.units.party.horizontalSpacing = 9;
-			E.db.unitframe.units.party.verticalSpacing = 9;
-			E.db.unitframe.units.party.debuffs.sizeOverride = 16;
-			E.db.unitframe.units.party.debuffs.enable = true
-			E.db.unitframe.units.party.debuffs.anchorPoint = "TOPRIGHT";
-			E.db.unitframe.units.party.debuffs.xOffset = -4;
-			E.db.unitframe.units.party.debuffs.yOffset = -7;
-			E.db.unitframe.units.party.height = 45;
-			E.db.unitframe.units.party.buffs.noConsolidated = false
-			E.db.unitframe.units.party.buffs.xOffset = 50;
-			E.db.unitframe.units.party.buffs.yOffset = -6;
-			E.db.unitframe.units.party.buffs.clickThrough = true
-			E.db.unitframe.units.party.buffs.noDuration = false
-			E.db.unitframe.units.party.buffs.playerOnly = false;
-			E.db.unitframe.units.party.buffs.perrow = 1
-			E.db.unitframe.units.party.buffs.useFilter = "TurtleBuffs"
-			E.db.unitframe.units.party.buffs.sizeOverride = 22
-			E.db.unitframe.units.party.buffs.useBlacklist = false
-			E.db.unitframe.units.party.buffs.enable = true
-			E.db.unitframe.units.party.roleIcon.position = "BOTTOMRIGHT"
-			E.db.unitframe.units.party.health.text_format = "[healthcolor][health:deficit]"
-			E.db.unitframe.units.party.health.position = "BOTTOM"
-			E.db.unitframe.units.party.GPSArrow.size = 40
-			E.db.unitframe.units.party.width = 80
-			E.db.unitframe.units.party.height = 45
-			E.db.unitframe.units.party.name.text_format = "[namecolor][name:short]"
-			E.db.unitframe.units.party.name.position = "TOP"
-			E.db.unitframe.units.party.power.text_format = ""
-
-			E.db.unitframe.units.raid40.height = 30
-			E.db.unitframe.units.raid40.growthDirection = "LEFT_UP"
-
-			E.db.unitframe.units.party.health.frequentUpdates = true
-			E.db.unitframe.units.raid10.health.frequentUpdates = true
-			E.db.unitframe.units.raid25.health.frequentUpdates = true
-			E.db.unitframe.units.raid40.health.frequentUpdates = true
-
-			E.db.unitframe.units.party.healPrediction = true;
-			E.db.unitframe.units.raid10.healPrediction = true;
-			E.db.unitframe.units.raid25.healPrediction = true;
-			E.db.unitframe.units.raid40.healPrediction = true;
-
-			E.db.actionbar.bar2.enabled = true
-			if not E.db.lowresolutionset then
-				E.db.actionbar.bar3.buttons = 12
-				E.db.actionbar.bar5.buttons = 12
-				E.db.actionbar.bar4.enabled = false
-				if not E.PixelMode then
-					E.db.actionbar.bar1.heightMult = 2
-				end
-			end
-		end
-
-		if not E.db.movers then E.db.movers = {}; end
-		local xOffset = GetScreenWidth() * 0.34375
-
-		if E.PixelMode then
-			E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM3124"
-			E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-3124"
-			E.db.movers.ElvUF_PartyMover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-
-			if not E.db.lowresolutionset then
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278132"
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278132"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0176"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0132"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432"
-				E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0275"
-			else
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102182"
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102182"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM102120"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-102120"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-				E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
-			end
-		else
-			E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM3324"
-			E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-3324"
-			E.db.movers.ElvUF_PartyMover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-			E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
-
-			if not E.db.lowresolutionset then
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM307145"
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-307145"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0186"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0145"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432"
-				E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0275"
-			else
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-118182"
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM118182"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM118120"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-118120"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-				E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
-			end
-		end
-	elseif E.db.lowresolutionset then
-		if not E.db.movers then E.db.movers = {}; end
-		if E.PixelMode then
-			E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102135"
-			E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102135"
-			E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM10280"
-			E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-10280"
-			E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-		else
-			E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-118142"
-			E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM118142"
-			E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM11884"
-			E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-11884"
-			E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-		end
-
-		E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
-	end
-
-	if layout ~= 'healer' and not E.db.lowresolutionset then
-		E.db.actionbar.bar1.heightMult = 1
-	end
-
-	if E.db.lowresolutionset and not noDataReset then
-		E.db.unitframe.units.player.width = 200;
-		if layout ~= 'healer' then
-			E.db.unitframe.units.player.castbar.width = 200;
-		end
-		E.db.unitframe.units.player.classbar.fill = 'fill';
-
-		E.db.unitframe.units.target.width = 200;
-		E.db.unitframe.units.target.castbar.width = 200;
-
-		E.db.unitframe.units.pet.power.enable = false;
-		E.db.unitframe.units.pet.width = 200;
-		E.db.unitframe.units.pet.height = 26;
-
-		E.db.unitframe.units.targettarget.debuffs.enable = false;
-		E.db.unitframe.units.targettarget.power.enable = false;
-		E.db.unitframe.units.targettarget.width = 200;
-		E.db.unitframe.units.targettarget.height = 26;
-
-		E.db.unitframe.units.boss.width = 200;
-		E.db.unitframe.units.boss.castbar.width = 200;
-		E.db.unitframe.units.arena.width = 200;
-		E.db.unitframe.units.arena.castbar.width = 200;
-	end
-
-	if(layout == 'dpsCaster' or layout == 'healer' or (layout == 'dpsMelee' and E.myclass == 'HUNTER')) then
-		if not E.db.movers then E.db.movers = {}; end
-		E.db.unitframe.units.player.castbar.width = E.PixelMode and 406 or 436
-		E.db.unitframe.units.player.castbar.height = 28
-		local yOffset = 80
-		if not E.db.lowresolutionset then
-			if layout ~= 'healer' then
-				yOffset = 42
-
-				if E.PixelMode then
-					E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278110"
-					E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278110"
-					E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0110"
-					E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0150"
-					E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0195"
-				else
-					E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-307110"
-					E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM307110"
-					E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0110"
-					E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0150"
-					E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0195"
-				end
-			else
-				yOffset = 76
-			end
-		elseif E.db.lowresolutionset then
-			if E.PixelMode then
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102182"
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102182"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM102120"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-102120"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-			else
-				E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-118182"
-				E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM118182"
-				E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM118120"
-				E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-118120"
-				E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
-			end
-
-			E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
-		end
-
-		if E.PixelMode then
-			E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0"..yOffset
-		else
-			E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM-2"..(yOffset + 5)
-		end
-	elseif (layout == 'dpsMelee' or layout == 'tank') and not E.db.lowresolutionset and not E.PixelMode then
-		E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-30776"
-		E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM30776"
-		E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM076"
-		E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0115"
-		E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0158"
-
-	end
-
-	--Datatexts
-	if not noDataReset then
-		E:CopyTable(E.db.datatexts.panels, P.datatexts.panels)
-		if layout == 'tank' then
-			E.db.datatexts.panels.LeftChatDataPanel.left = 'Avoidance';
-			E.db.datatexts.panels.LeftChatDataPanel.right = 'Vengeance';
-		elseif layout == 'healer' or layout == 'dpsCaster' then
-			E.db.datatexts.panels.LeftChatDataPanel.left = 'Spell/Heal Power';
-			E.db.datatexts.panels.LeftChatDataPanel.right = 'Haste';
-		else
-			E.db.datatexts.panels.LeftChatDataPanel.left = 'Attack Power';
-			E.db.datatexts.panels.LeftChatDataPanel.right = 'Haste';
-		end
-
-		if InstallStepComplete then
-			InstallStepComplete.message = L["Layout Set"]
-			InstallStepComplete:Show()
-		end
-	end
-
-	E.db.layoutSet = layout
-
-	if not noDataReset and E.private.theme then
-		E:SetupTheme(E.private.theme, true)
-	end
-
-	if not noDataReset then
-		E:CopyTable(E.db.sle.marks, P.sle.marks)
-		E:CopyTable(E.db.sle.backgrounds, P.sle.backgrounds)
-		E:CopyTable(E.db.sle.uibuttons, P.sle.uibuttons)
-	end
-
-	E:UpdateAll(true)
-	local DT = E:GetModule('DataTexts')
-	DT:LoadDataTexts()
-end
-
-
-local function SetupAuras(style)
-	E:CopyTable(E.db.unitframe.units.player.buffs, P.unitframe.units.player.buffs)
-	E:CopyTable(E.db.unitframe.units.player.debuffs, P.unitframe.units.player.debuffs)
-	E:CopyTable(E.db.unitframe.units.player.aurabar, P.unitframe.units.player.aurabar)
-
-	E:CopyTable(E.db.unitframe.units.target.buffs, P.unitframe.units.target.buffs)
-	E:CopyTable(E.db.unitframe.units.target.debuffs, P.unitframe.units.target.debuffs)
-	E:CopyTable(E.db.unitframe.units.target.aurabar, P.unitframe.units.target.aurabar)
-	E.db.unitframe.units.target.smartAuraDisplay = P.unitframe.units.target.smartAuraDisplay
-
-	E:CopyTable(E.db.unitframe.units.focus.buffs, P.unitframe.units.focus.buffs)
-	E:CopyTable(E.db.unitframe.units.focus.debuffs, P.unitframe.units.focus.debuffs)
-	E:CopyTable(E.db.unitframe.units.focus.aurabar, P.unitframe.units.focus.aurabar)
-	E.db.unitframe.units.focus.smartAuraDisplay = P.unitframe.units.focus.smartAuraDisplay
-
-	if not style then
-		--PLAYER
-		E.db.unitframe.units.player.buffs.enable = true;
-		E.db.unitframe.units.player.buffs.attachTo = 'FRAME';
-		E.db.unitframe.units.player.buffs.noDuration = false;
-
-		E.db.unitframe.units.player.debuffs.attachTo = 'BUFFS';
-
-		E.db.unitframe.units.player.aurabar.enable = false;
-
-		--TARGET
-		E.db.unitframe.units.target.smartAuraDisplay = 'DISABLED';
-		E.db.unitframe.units.target.debuffs.enable = true;
-		E.db.unitframe.units.target.aurabar.enable = false;
-	elseif style == 'integrated' then
-		--seriosly is this fucking hard??
-		E.db.unitframe.units.target.smartAuraDisplay = 'SHOW_DEBUFFS_ON_FRIENDLIES';
-		E.db.unitframe.units.target.buffs.playerOnly = {friendly = true, enemy = false};
-		E.db.unitframe.units.target.debuffs.enable = false;
-		E.db.unitframe.units.target.aurabar.attachTo = 'BUFFS';
-	end
-
-	E:GetModule('UnitFrames'):Update_AllFrames()
-	if InstallStepComplete then
-		InstallStepComplete.message = L["Auras Set"]
-		InstallStepComplete:Show()
-	end
-end
-
-
-function E:DarthSetup() --The function to switch from classic ElvUI settings to Darth's
-	InstallStepComplete.message = L["Darth's Defaults Set"]
-	InstallStepComplete:Show()
+function SLE:DarthSetup() --The function to switch from classic ElvUI settings to Darth's
+	SLEInstallStepComplete.message = L["Darth's Defaults Set"]
+	SLEInstallStepComplete:Show()
 	if not E.db.movers then E.db.movers = {}; end
 	if not E.db.loclite then E.db.loclite = {} end

@@ -1506,9 +758,9 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to
 	E:UpdateAll(true)
 end

-function E:RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's
-	InstallStepComplete.message = L["Repooc's Defaults Set"]
-	InstallStepComplete:Show()
+function SLE:RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's
+	SLEInstallStepComplete.message = L["Repooc's Defaults Set"]
+	SLEInstallStepComplete:Show()
 	if not E.db.movers then E.db.movers = {}; end

 	local layout = E.db.layoutSet  --Pull which layout was selected if any.
@@ -2054,9 +1306,9 @@ function E:RepoocSetup() --The function to switch from classic ElvUI settings to
 	E:UpdateAll(true)
 end

-function E:AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's
-	InstallStepComplete.message = L["Affinitii's Defaults Set"]
-	InstallStepComplete:Show()
+function SLE:AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's
+	SLEInstallStepComplete.message = L["Affinitii's Defaults Set"]
+	SLEInstallStepComplete:Show()
 	if not E.db.movers then E.db.movers = {}; end
 	layout = E.db.layoutSet  --Pull which layout was selected if any.
 	pixel = E.PixelMode  --Pull PixelMode
@@ -2562,24 +1814,9 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t

 	E:UpdateAll(true)
 end
-function E:HudSimple()
-	local H = E:GetModule('HUD')
-	InstallStepComplete.message = L["Simple Layout Set"]
-	InstallStepComplete:Show()
-	H:SimpleLayout()
-	H:UpdateAllFrames()
-end
-
-function E:HudDefault()
-	local H = E:GetModule('HUD')
-	InstallStepComplete.message = L["Default Layout"]
-	InstallStepComplete:Show()
-	E:CopyTable(E.db.hud,P.hud)
-	H:UpdateAllFrames()
-end

 local function InstallComplete()
-	E.private.install_complete = E.version
+	E.private.sle.install_complete = SLE.version

 	if GetCVarBool("Sound_EnableMusic") then
 		StopMusic()
@@ -2603,11 +1840,11 @@ local function ResetAll()
 	InstallOption4Button:Hide()
 	InstallOption4Button:SetScript('OnClick', nil)
 	InstallOption4Button:SetText('')
-	ElvUIInstallFrame.SubTitle:SetText("")
-	ElvUIInstallFrame.Desc1:SetText("")
-	ElvUIInstallFrame.Desc2:SetText("")
-	ElvUIInstallFrame.Desc3:SetText("")
-	ElvUIInstallFrame:Size(550, 400)
+	SLEInstallFrame.SubTitle:SetText("")
+	SLEInstallFrame.Desc1:SetText("")
+	SLEInstallFrame.Desc2:SetText("")
+	SLEInstallFrame.Desc3:SetText("")
+	SLEInstallFrame:Size(550, 400)
 end

 local function SetPage(PageNum)
@@ -2615,7 +1852,7 @@ local function SetPage(PageNum)
 	ResetAll()
 	InstallStatus:SetValue(PageNum)

-	local f = ElvUIInstallFrame
+	local f = SLEInstallFrame

 	if PageNum == MAX_PAGE then
 		InstallNextButton:Disable()
@@ -2630,150 +1867,60 @@ local function SetPage(PageNum)
 	end

 	if PageNum == 1 then
-		f.SubTitle:SetText(format(L["Welcome to ElvUI version %s!"], E.version))
-		f.Desc1:SetText(L["This install process will help you learn some of the features in ElvUI has to offer and also prepare your user interface for usage."])
-		f.Desc2:SetText(L["The in-game configuration menu can be accesses by typing the /ec command or by clicking the 'C' button on the minimap. Press the button below if you wish to skip the installation process."])
+		f.SubTitle:SetText(format(L["Welcome to |cff1784d1Shadow & Light|r version %s!"], SLE.version))
+		f.Desc1:SetText("This install process will setup configuration of Shadow & Light.")
+		f.Desc2:SetText("")
 		f.Desc3:SetText(L["Please press the continue button to go onto the next step."])

 		InstallOption1Button:Show()
 		InstallOption1Button:SetScript("OnClick", InstallComplete)
 		InstallOption1Button:SetText(L["Skip Process"])
 	elseif PageNum == 2 then
-		f.SubTitle:SetText(L["CVars"])
-		f.Desc1:SetText(L["This part of the installation process sets up your World of Warcraft default options it is recommended you should do this step for everything to behave properly."])
-		f.Desc2:SetText(L["Please click the button below to setup your CVars."])
-		f.Desc3:SetText(L["Importance: |cff07D400High|r"])
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript("OnClick", SetupCVars)
-		InstallOption1Button:SetText(L["Setup CVars"])
-	elseif PageNum == 3 then
 		f.SubTitle:SetText(L["Chat"])
-		f.Desc1:SetText(L["This part of the installation process sets up your chat windows names, positions and colors."])
-		f.Desc2:SetText(L["The chat windows function the same as Blizzard standard chat windows, you can right click the tabs and drag them around, rename, etc. Please click the button below to setup your chat windows."])
+		f.Desc1:SetText("This options will determine if you want to use default ElvUI's chat datapanels or let Shadow & Light handle them.")
+		f.Desc2:SetText("Shadow & Light will dock them outside of actual chat panels.")
 		f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
+
 		InstallOption1Button:Show()
-		InstallOption1Button:SetScript("OnClick", SetupChat)
-		InstallOption1Button:SetText(L["Setup Chat"])
-	elseif PageNum == 4 then
-		f.SubTitle:SetText(L["Pixel Perfect"])
-		f.Desc1:SetText(L['The Pixel Perfect option will change the overall apperance of your UI. Using Pixel Perfect is a slight performance increase over the traditional layout.'])
-		f.Desc2:SetText(L['Using this option will cause your borders around frames to be 1 pixel wide instead of 3 pixel. You may have to finish the installation to notice a differance. By default this is enabled.'])
-		f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])
-
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E:SetupPixelPerfect(true) end)
-		InstallOption1Button:SetText(L["Enable"])
+		InstallOption1Button:SetScript("OnClick", function() E.db.sle.datatext.chathandle = false; E:GetModule('Layout'):ToggleChatPanels() end)
+		InstallOption1Button:SetText("ElvUI Panels")
 		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E:SetupPixelPerfect(false) end)
-		InstallOption2Button:SetText(L['Disable'])
-	elseif PageNum == 5 then
-		f.SubTitle:SetText(L['Theme Setup'])
-		f.Desc1:SetText(L['Choose a theme layout you wish to use for your initial setup.'])
-		f.Desc2:SetText(L['You can always change fonts and colors of any element of elvui from the in-game configuration.'])
+		InstallOption2Button:SetScript('OnClick', function() E.db.sle.datatext.chathandle = true; E:GetModule('Layout'):ToggleChatPanels() end)
+		InstallOption2Button:SetText("S&L Panels")
+	elseif PageNum == 3 then
+		f.SubTitle:SetText(L["Armory Mode"])
+		f.Desc1:SetText("Imma test text")
+		f.Desc2:SetText("This page is for armory mode disable/enable stuff")
 		f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])
-
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E:SetupTheme('classic') end)
-		InstallOption1Button:SetText(L["Classic"])
-		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E:SetupTheme('default') end)
-		InstallOption2Button:SetText(L['Dark'])
-		InstallOption3Button:Show()
-		InstallOption3Button:SetScript('OnClick', function() E:SetupTheme('class') end)
-		InstallOption3Button:SetText(CLASS)
-	elseif PageNum == 6 then
-		f.SubTitle:SetText(L["Resolution"])
-		f.Desc1:SetText(format(L["Your current resolution is %s, this is considered a %s resolution."], E.resolution, E.lowversion == true and L["low"] or L["high"]))
-		if E.lowversion then
-			f.Desc2:SetText(L["This resolution requires that you change some settings to get everything to fit on your screen."].." "..L["Click the button below to resize your chat frames, unitframes, and reposition your actionbars."].." "..L["You may need to further alter these settings depending how low you resolution is."])
-			f.Desc3:SetText(L["Importance: |cff07D400High|r"])
-		else
-			f.Desc2:SetText(L["This resolution doesn't require that you change settings for the UI to fit on your screen."].." "..L["Click the button below to resize your chat frames, unitframes, and reposition your actionbars."].." "..L["This is completely optional."])
-			f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])
-		end
-
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E.SetupResolution('high') end)
-		InstallOption1Button:SetText(L["High Resolution"])
-		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E.SetupResolution('low') end)
-		InstallOption2Button:SetText(L['Low Resolution'])
-	elseif PageNum == 7 then
-		f.SubTitle:SetText(L["Layout"])
-		f.Desc1:SetText(L["You can now choose what layout you wish to use based on your combat role."])
-		f.Desc2:SetText(L["This will change the layout of your unitframes, raidframes, and datatexts."])
-		f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('tank') end)
-		InstallOption1Button:SetText(L['Tank'])
-		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('healer') end)
-		InstallOption2Button:SetText(L['Healer'])
-		InstallOption3Button:Show()
-		InstallOption3Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('dpsMelee') end)
-		InstallOption3Button:SetText(L['Physical DPS'])
-		InstallOption4Button:Show()
-		InstallOption4Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('dpsCaster') end)
-		InstallOption4Button:SetText(L['Caster DPS'])
-	elseif PageNum == 8 then
-		f.SubTitle:SetText(L["Auras System"])
-		f.Desc1:SetText(L["Select the type of aura system you want to use with ElvUI's unitframes. The integrated system utilizes both aura-bars and aura-icons. The icons only system will display only icons and aurabars won't be used. The classic system will configure your auras to be default."])
-		f.Desc2:SetText(L["If you have an icon or aurabar that you don't want to display simply hold down shift and right click the icon for it to disapear."])
-		f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
+
 		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() SetupAuras('classic') end)
-		InstallOption1Button:SetText(L['Classic'])
-		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() SetupAuras() end)
-		InstallOption2Button:SetText(L['Icons Only'])
-		InstallOption3Button:Show()
-		InstallOption3Button:SetScript('OnClick', function() SetupAuras('integrated') end)
-		InstallOption3Button:SetText(L['Integrated'])
-	elseif PageNum == 9 then --The new page
+		InstallOption1Button:SetScript('OnClick', function() E.private.sle.characterframeoptions.enable = true; E.private.sle.inspectframeoptions.enable = true; end)
+		InstallOption1Button:SetText(L["Enable"])
+	elseif PageNum == 4 then
 		f.SubTitle:SetText(L["Shadow & Light Settings"])
 		f.Desc1:SetText(L["You can now choose if you what to use one of authors' set of options. This will change not only the positioning of some elements but also change a bunch of other options."])
 		f.Desc2:SetText(L["SLE_Install_Text2"])
 		f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])

 		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E:DarthSetup() end)
+		InstallOption1Button:SetScript('OnClick', function() SLE:DarthSetup() end)
 		InstallOption1Button:SetText(L["Darth's Config"])

 		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E:AffinitiiSetup() end)
+		InstallOption2Button:SetScript('OnClick', function() SLE:AffinitiiSetup() end)
 		InstallOption2Button:SetText(L["Affinitii's Config"])

 		InstallOption3Button:Show()
-		InstallOption3Button:SetScript('OnClick', function() E:RepoocSetup() end)
+		InstallOption3Button:SetScript('OnClick', function() SLE:RepoocSetup() end)
 		InstallOption3Button:SetText(L["Repooc's Config"])
-	elseif PageNum == 10 and IsAddOnLoaded("ElvUI_Hud") then --Hud's page if enabled
-		f.SubTitle:SetText("ElvUI Hud")
-		f.Desc1:SetText(L["Thank you for using ElvUI Hud!"])
-		f.Desc2:SetText(L["Here you can choose between the simple layout (only player health and power) or the default layout for the hud"])
-		f.Desc3:SetText(L["Importance: |cffFF0000Low|r"])
-
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript('OnClick', function() E:HudSimple() end)
-		InstallOption1Button:SetText(L["Simple Layout"])
-		InstallOption2Button:Show()
-		InstallOption2Button:SetScript('OnClick', function() E:HudDefault() end)
-		InstallOption2Button:SetText(L["Default Layout"])
-	elseif PageNum == 10 and not IsAddOnLoaded("ElvUI_Hud") then --Finish install if Hud disabled
-		f.SubTitle:SetText(L["Installation Complete"])
-		f.Desc1:SetText(L["You are now finished with the installation process. If you are in need of technical support please visit us at http://www.tukui.org."])
-		f.Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."])
-		InstallOption1Button:Show()
-		InstallOption1Button:SetScript("OnClick", InstallComplete)
-		InstallOption1Button:SetText(L["Finished"])
-		ElvUIInstallFrame:Size(550, 350)
-	elseif PageNum == 11 then --Finish install if Hud enabled
+	elseif PageNum == 5 then
 		f.SubTitle:SetText(L["Installation Complete"])
 		f.Desc1:SetText(L["You are now finished with the installation process. If you are in need of technical support please visit us at http://www.tukui.org."])
 		f.Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."])
 		InstallOption1Button:Show()
 		InstallOption1Button:SetScript("OnClick", InstallComplete)
 		InstallOption1Button:SetText(L["Finished"])
-		ElvUIInstallFrame:Size(550, 350)
+		SLEInstallFrame:Size(550, 350)
 	end
 end

@@ -2792,10 +1939,9 @@ local function PreviousPage()
 end

 --Install UI
-function E:Install()
-	MaxPages()
-	if not InstallStepComplete then
-		local imsg = CreateFrame("Frame", "InstallStepComplete", E.UIParent)
+function SLE:Install()
+	if not SLEInstallStepComplete then
+		local imsg = CreateFrame("Frame", "SLEInstallStepComplete", E.UIParent)
 		imsg:Size(418, 72)
 		imsg:Point("TOP", 0, -190)
 		imsg:Hide()
@@ -2848,8 +1994,8 @@ function E:Install()
 	end

 	--Create Frame
-	if not ElvUIInstallFrame then
-		local f = CreateFrame("Button", "ElvUIInstallFrame", E.UIParent)
+	if not SLEInstallFrame then
+		local f = CreateFrame("Button", "SLEInstallFrame", E.UIParent)
 		f.SetPage = SetPage
 		f:Size(550, 400)
 		f:SetTemplate("Transparent")
@@ -2859,7 +2005,7 @@ function E:Install()
 		f.Title = f:CreateFontString(nil, 'OVERLAY')
 		f.Title:FontTemplate(nil, 17, nil)
 		f.Title:Point("TOP", 0, -5)
-		f.Title:SetText(L["ElvUI Installation"])
+		f.Title:SetText(L["|cff1784d1Shadow & Light|r Installation"])

 		f.Next = CreateFrame("Button", "InstallNextButton", f, "UIPanelButtonTemplate")
 		f.Next:StripTextures()
@@ -2971,10 +2117,10 @@ function E:Install()

 		f.tutorialImage = f:CreateTexture('InstallTutorialImage', 'OVERLAY')
 		f.tutorialImage:Size(256, 128)
-		f.tutorialImage:SetTexture('Interface\\AddOns\\ElvUI_SLE\\media\\textures\\logo_elvui_sle')
+		f.tutorialImage:SetTexture('Interface\\AddOns\\ElvUI_SLE\\media\\textures\\SLE_Banner')
 		f.tutorialImage:Point('BOTTOM', 0, 70)
 	end

-	ElvUIInstallFrame:Show()
+	SLEInstallFrame:Show()
 	NextPage()
 end
\ No newline at end of file
diff --git a/ElvUI_SLE/modules/install/installer.lua b/ElvUI_SLE/modules/install/installer.lua
index 929e23b..fedf046 100755
--- a/ElvUI_SLE/modules/install/installer.lua
+++ b/ElvUI_SLE/modules/install/installer.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
-local AI = E:NewModule('AddonInstaller')
+local AI = E:NewModule('SLE_AddonInstaller')

 -- Upvalue for performance
 local pairs, string, table, unpack, _G = pairs, string, table, unpack, _G
diff --git a/ElvUI_SLE/modules/install/xCT+.lua b/ElvUI_SLE/modules/install/xCT+.lua
index 06dced0..36d12fb 100755
--- a/ElvUI_SLE/modules/install/xCT+.lua
+++ b/ElvUI_SLE/modules/install/xCT+.lua
@@ -1,5 +1,5 @@
 local E, L, V, P, G, _ = unpack(ElvUI);
-local AI = E:GetModule('AddonInstaller')
+local AI = E:GetModule('SLE_AddonInstaller')

 local ace3   = true               -- whether or not this database is a Ace3 profile
 local name   = 'xCT+'             -- the name of the addon