Jump to content

Install script is not starting/working


batman99000

Recommended Posts

So I am new to modding, but I have created a mod and am trying to setup an install script for it. I have followed the guide found here. I followed the instructions to the letter, but when I try to install (to test the script) with NMM, the installer doesn't even show up. Here is the code:

 

 

 

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">

<moduleName>Scroll to Book (S2B)</moduleName>
<moduleImage path="FOMod\Scroll to book image.png"/>

<installSteps order="Explicit">
	<installStep name="Base Options">
		<optionFileGroups>
			<group name="Main Options" type="SelectExactlyOne">
				<plugins order="Explicit">
				
					<plugin name="S2B Skyrim Only">			
						<description>
							<![CDATA[Pick this if you don't have all the official DLCs.]]>
						</description>
						<conditionalFlags>
							<flag name="Main1">On</flag>
						</conditionalFlags>
						<files>
							<folder source="FOMod\Skyrim Only\Required Plugin" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<type name="Optional"/>
						</typeDescriptor>							
					</plugin>
					
					<plugin name="S2B Legendary Edition">
					<description>
						<![CDATA[Pick this if you have all of the offical DLCs.]]>
					</description>
					<conditionalFlags>
						<flag name="Main2">On</flag>
					</conditionalFlags>
					<files>
						<folder source="FOMod\Skyrim Legendary Edition\Required Plugin" destination="" priority="0"/>					
					</files>
					<typeDescriptor>
						<type name="Optional"/>
					</typeDescriptor>
					</plugin>	
				
				</plugins>			
			</group>
		</optionFileGroups>	
	</installStep>
	
	<installStep name="S2B Skyrim Only Options">
		<visible>
			<flagDependency value="On" flag="Main1"/>
		</visible>
		<optionFileGroups>
			<group name="Skyrim Only Plugin Options" type="SelectAny">
				<plugins order="Explicit">
					
					<plugin name="Dawnguard Addon">
						<description>
							<![CDATA[Addon for the Dawnguard DLC.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Only\DLC Plugins\Dawnguard" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Dawnguard.esm" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
					
					<plugin name="Dragonborn Addon">
						<description>
							<![CDATA[Addon for the Dragonborn DLC.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Only\DLC Plugins\Dragonborn" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Dragonborn.esm" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
					
					<plugin name="Hearthfire Addon">
						<description>
							<![CDATA[Adds tables to the Hearthfire houses.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Only\DLC Plugins\Hearthfire" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Heathfires.esm" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
					
					<plugin name="Apocalypse Addon">
						<description>
							<![CDATA[Addon for the Apocalypse - Magic of Skyrim mod.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Only\Mod Plugins\Apocalypse" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Apocalypse - The Spell Package.esp" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
					
					<plugin name="Frostfall Addon">
						<description>
							<![CDATA[Addon for the Frostfall mod.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Only\Mod Plugins\Frostfall" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Frostfall.esp" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>

				</plugins>
			</group>	
		</optionFileGroups>
	</installStep>
	
	<installStep name="Skyrim Legendary Edition Options">
		<visible>
			<flagDependency value="On" flag="Main2"/>
		</visible>
		<optionFileGroups>
			<group name="Skyrim Legendary Edition Plugin Options" type="SelectAny">
				<plugins order="Explicit">
					
					<plugin name="Apocalypse Addon">
						<description>
							<![CDATA[Addon for the Apocalypse - Magic of Skyrim mod.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Legendary Edition\Mod Plugins\Apocalypse" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Apocalypse - The Spell Package.esp" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
					
					<plugin name="Frostfall Addon">
						<description>
							<![CDATA[Addon for the Frostfall mod.]]>
						</description>
						<files>
							<folder source="FOMod\Skyrim Legendary Edition\Mod Plugins\Frostfall" destination="" priority="0"/>
						</files>
						<typeDescriptor>
							<dependencyType>
								<defaultType name="Optional"/>
								<patterns>
									<pattern>
										<dependencies>
											<fileDependency file="Frostfall.esp" state="Active"/>				
										</dependencies>
										<type name="Recommended"/>
									</pattern>
								</patterns>
							</dependencyType>
						</typeDescriptor>
					</plugin>
	
				</plugins>
			</group>
		</optionFileGroups>
	</installStep>
</installSteps>


</config>  

 

 

 

And here is the folder setup:

 

 

ModuleConfig.xml

 

FOMod

  • Skyrim Legendary Edition
    • Mod Plugins
      • Apocalypse
        • Apocalypse.esp
      • Frostfall
        • Frostfall.esp
    • Required Plugin
      • S2B Skyrim Legendary Edition
  • Skyrim Only
    • DLC Plugins
      • Dawnguard
        • Dawnguard Addon.esp
      • Dragonborn
        • DragonBorn addon.esp
      • Hearthfire
        • Hearthfire addon.esp
    • Mod Plugins
      • Apocalypse
        • Apocalypse addon.esp
      • Frostfall
        • Frostfall addon.esp
    • Required Plugin
      • Skyrim Only.esp

 

  • Scroll to Book image.png

 

 

 

Can someone tell me what is going on? Any help is greatly appreciated.

Edited by batman99000
Link to comment
Share on other sites

Nevermind, found the problem. It was how my folder was setup. The installer script should have been INSIDE the FOMod folder along with the image, with everything else outside of the FOMod folder

 

Simplified: only the installer script, the info.xml and the image should be in the FOMod folder

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...