<gi2project version="3.7">
	<variables>
		<var name="AppID" value="App" type="normal"/>
		<var name="AppName" value="SFCOP Mod Chooser" type="normal"/>
		<var name="OutputPath" value="Output" type="normal"/>
		<var name="Password" type="normal"/>
		<var name="CompressionLevel" value="7" type="normal"/>
		<var name="Languages" value="Enu" type="normal"/>
		<var name="AutoSelectLanguage" value="1" type="normal"/>
		<var name="Uninstall" value="0" type="normal"/>
		<var name="ProgramGroup" value="SFCOP Mod Chooser" type="normal"/>
		<var name="AppFolder" value="%ProgramsMenu%\%ProgramGroup%" type="normal"/>
        <var type="reg" name="reginstallpath" regkey="HKLM\Software\Taldren\Starfleet Command Orion Pirates" regparam= "Directory" defvalue ="C:\Program Files\Taldren Software Inc\Starfleet Command Orion Pirates"/>
        <var name="OPDir" value="%reginstallpath%"/>
        <var name="InstallPath" value="%OPDir%" type="normal"/>
	</variables>
    <packages>
		<package filename="SFCOP_Chooser_V65" main="1">
			<components>
				<component id="App" name="App">
                   <files>
                        <file action="add" dst="%InstallPath%\*.*" src="main\*.*" no_version/>
				   </files>
                   <shortcuts>
				   		<shortcut action="add" cmdline="%InstallPath%\SFCOP Mod Chooser\modchooser.exe" name="%AppFolder%\SFCOP Mod Chooser 6.5" showcmd="normal" workdir="%InstallPath%\SFCOP Mod Changer\"/>
				   </shortcuts>
                   <runapps>
                   		<runapp cmdline="%presetup%\presetup.exe" workdir="%installpath%" msg="Performing Presetup Operations..." whenstart="before_install"/>
                   </runapps>
                </component>
			</components>
            <plugins>
				<plugin id="StdUI">
					<config>
						<paramgroup name="Config">
							<param name="PreInstallDialogSequence" value="DLG_README,DLG_DIR,DLG_GROUP,DLG_START"/>
							<param name="PostInstallDialogSequence"/>
							<param name="ShowMainWindow" value="1"/>
							<param name="ShowDialogTitle" value="1"/>
							<param name="ShowDialogSubTitle" value="1"/>
							<param name="ShowFinalDialog" value="1"/>
							<param name="GradientTopColor" value="0"/>
							<param name="GradientBottomColor" value="$FF0000"/>
							<param name="StretchBanner" value="0"/>
							<param name="DialogFont" value="MS Sans Serif,8"/>
							<param name="DialogBitmap" value="%Presetup%\gins.bmp"/>
							<param name="DialogTitleFont" value="MS Sans Serif,10,$C08000,B"/>
							<param name="DialogTitleShadow" value="0"/>
							<param name="DialogTitleShadowColor" value="$C0C0C0"/>
							<param name="DialogPosition" value="1,1"/>
							<param name="BackgroundBitmap" value="%Presetup%\bgrnd1.bmp"/>
							<param name="LicenseBackColor" value="$80FFFF"/>
							<param name="ReadmeBackColor"/>
							<param name="UninstallTitleFont"/>
							<param name="DialogSubTitlePosition" value="30,28"/>
							<param name="TitlePosition" value="15,8"/>
							<param name="DialogSubTitleFont" value="MS Sans Serif,8,$000000"/>
						</paramgroup>
						<paramgroup name="Labels">
							<param name="TitleShadow" value="%AppName%,33,23,0,Times New Roman,30,$606060,B"/>
							<param name="Title" value="%AppName%,30,20,0,Times New Roman,30,$FF0000,B"/>
							<param name="TestLabel" value="Current language - %LangID%,20,20,2,Arial,12,$0000FF,B"/>
						</paramgroup>
						<paramgroup name="StaticBitmaps">
							<param name="Bitmap1" value="%Presetup%\Beany.bmp,30,10,3,$FFFFFF"/>
						</paramgroup>
						<paramgroup name="DialogBitmaps">
							<param name="DLG_LANGUAGE"/>
							<param name="DLG_LICENSE"/>
							<param name="DLG_WELCOME"/>
							<param name="DLG_README"/>
							<param name="DLG_DIR"/>
							<param name="DLG_INSTALLTYPE"/>
							<param name="DLG_FEATURES"/>
							<param name="DLG_START"/>
							<param name="DLG_PROGRESS"/>
							<param name="DLG_FINISH"/>
							<param name="DLG_NOTFINISH"/>
							<param name="DLG_REBOOT"/>
							<param name="DLG_PASSWORD"/>
							<param name="DLG_GROUP"/>
						</paramgroup>
					</config>
				</plugin>
			</plugins>
			<presetup>
				<file action="add" src="main\presetup\*.*"/>
			</presetup>
		</package>
	</packages>
</gi2project>