⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amoebax.wxs

📁 Source code (C++) of the Amoebax game for Symbian OS UIQ3.x。
💻 WXS
字号:
<?xml version='1.0' encoding='UTF-8'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
    <Product Id='55e7c65a-c44d-11db-8314-0800200c9a66' Name='Amoebax' Language='1033' Version='0.0.1.2' Manufacturer='Emma&apos;s Software' UpgradeCode='f8184fb6-0011-44e6-b764-4b2505cc2e1a'>
        <Package Description='Installs Amoebax.' Comments='Installation of Amoebax' InstallerVersion='200' Compressed='yes' />

	<Property Id='ALLUSERS'><![CDATA[2]]></Property>
        <WixVariable Id='WixUILicenseRtf' Value='$(var.SourceDir)/data/License.rtf' />
        <WixVariable Id='WixUIDialogBmp' Value='$(var.SourceDir)/data/dlgbmp.bmp' />
        <WixVariable Id='WixUIBannerBmp' Value='$(var.SourceDir)/data/bannrbmp.bmp' />
        <CustomAction Id='LaunchAmoebax' BinaryKey='WixCA' DllEntry='WixShellExec' Execute='immediate' Return='check' Impersonate='yes' />
        <Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT' Value='Launch Amoebax' />
        <Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOX' Value='1' />
        <Property Id='WixShellExecTarget' Value='[#AmoebaxBinary]' />
        <Property Id='WIXUI_INSTALLDIR' Value='AMOEBAXFOLDER'/>
        <UI>
            <UIRef Id='WixUI_InstallDir' />
            <Publish Dialog='ExitDialog' Control='Finish' Event='DoAction' Value='LaunchAmoebax' Order='1'>WIXUI_EXITDIALOGOPTIONALCHECKBOX</Publish>
        </UI>

        <Media Id='1' Cabinet='Amoebax.cab' EmbedCab='yes' />

        <Directory Id='TARGETDIR' Name='SourceDir'>
            <Directory Id='ProgramFilesFolder' Name='PFiles'>
                <Directory Id='EMMASOFTWAREFOLDER' Name='Emma&apos;s Software'>
                    <Directory Id='AMOEBAXFOLDER' Name='Amoebax' FileSource='SourceDir'>

                        <Directory Id='FONTS' Name='fonts' FileSource='$(var.SourceDir)/data/fonts'>
                            <Component Id='FontComponents' Guid='0a7a357e-c44e-11db-8314-0800200c9a66' DiskId='1'>
                                <File Id='FontMenu480' Name='fontMenu480.png' />
                                <File Id='FontMenu600' Name='fontMenu600.png' />
                                <File Id='FontMenu768' Name='fontMenu768.png' />
                                <File Id='FontMenu960' Name='fontMenu960.png' />
                                <File Id='FontMenuSelected480' Name='fontMenuSelected480.png' />
                                <File Id='FontMenuSelected600' Name='fontMenuSelected600.png' />
                                <File Id='FontMenuSelected768' Name='fontMenuSelected768.png' />
                                <File Id='FontMenuSelected960' Name='fontMenuSelected960.png' />
                                <File Id='Score480' Name='score480.png' />
                                <File Id='Score600' Name='score600.png' />
                                <File Id='Score768' Name='score768.png' />
                                <File Id='Score960' Name='score960.png' />
                            </Component>
                        </Directory>

                        <Directory Id='GRAPHICS' Name='graphics' FileSource='$(var.SourceDir)/data/graphics'>
                            <Component Id='GraphicComponents' Guid='339d6b56-c44e-11db-8314-0800200c9a66' DiskId='1'>
                                <File Id='Amoebas' Name='amoebas.png' />
                                <File Id='Amoebax' Name='amoebax.png' />
                                <File Id='Angus' Name='Angus.png' />
                                <File Id='AngusBackground' Name='AngusBackground.png' />
                                <File Id='Brooke' Name='Brooke.png' />
                                <File Id='Chain' Name='chain.png' />
                                <File Id='CompPlay' Name='computerplayers.png' />
                                <File Id='Controls' Name='controls.png' />
                                <File Id='Congratulations' Name='congratulations.png' />
                                <File Id='CongratulationsPo' Name='congratulationsPodium.png' />
                                <File Id='Credits' Name='credits.png' />
                                <File Id='Ed' Name='Ed.png' />
                                <File Id='Faces' Name='faces.png' />
                                <File Id='FacesSelection' Name='faceSelection.png' />
                                <File Id='Gameover' Name='gameover.png' />
                                <File Id='Gary' Name='Gary.png' />
                                <File Id='Go' Name='go.png' />
                                <File Id='Highscores' Name='highscores.png' />
                                <File Id='humanplay' Name='humanplayers.png' />
                                <File Id='kQuita' Name='K.Quita.png' />
                                <File Id='kQuitaBackground' Name='K.QuitaBackground.png' />
                                <File Id='Kerberos' Name='Kerberos.png' />
                                <File Id='KerberosBackground' Name='KerberosBackground.png' />
                                <File Id='Kim' Name='Kim.png' />
                                <File Id='LeftPlayer' Name='leftplayer.png' />
                                <File Id='Lem' Name='Lem.png' />
                                <File Id='LevelupGraphic' Name='levelup.png' />
                                <File Id='MenuBackground' Name='menuBackground.png' />
                                <File Id='MrBones' Name='Mr.Bones.png' />
                                <File Id='MrBonesBackground' Name='Mr.BonesBackground.png' />
                                <File Id='Newhighscore' Name='newhighscore.png' />
                                <File Id='Nicholas' Name='Nicholas.png' />
                                <File Id='Options' Name='options.png' />
                                <File Id='Pen' Name='Pen.png' />
                                <File Id='PenBackground' Name='PenBackground.png' />
                                <File Id='PlayersControlSetup' Name='playerscontrolsetup.png' />
                                <File Id='Ready' Name='ready.png' />
                                <File Id='RightPlayer' Name='rightplayer.png' />
                                <File Id='Shasa' Name='Sasha.png' />
                                <File Id='Silhouettes' Name='silhouettes.png' />
                                <File Id='Spike' Name='Spike.png' />
                                <File Id='SpikeBackground' Name='SpikeBackground.png' />
                                <File Id='Tom' Name='Tom.png' />
                                <File Id='Tournnament2p' Name='Tournament2p.png' />
                                <File Id='Tournnament4p' Name='Tournament4p.png' />
                                <File Id='Tournnament' Name='tournament.png' />
                                <File Id='Training' Name='training.png' />
                                <File Id='TryAgain' Name='TryAgain.png' />
                                <File Id='Twoplayers' Name='twoplayers.png' />
                                <File Id='Versus' Name='versus.png' />
                                <File Id='Winner' Name='winner.png' />
                                <File Id='YouLose' Name='YouLose.png' />
                                <File Id='YouWin' Name='YouWin.png' />
                            </Component>
                        </Directory>

                        <Directory Id='MUSIC' Name='music' FileSource='$(var.SourceDir)/data/music'>
                            <Component Id='MusicComponents' Guid='425aa8fc-c44e-11db-8314-0800200c9a66' DiskId='1'>
                                <File Id='AngusMusic' Name='AngusBackground.ogg' />
                                <File Id='CongratulationsMusic' Name='Congratulations.ogg' />
                                <File Id='K.QuitaMusic' Name='K.QuitaBackground.ogg' />
                                <File Id='KerberosMusic' Name='KerberosBackground.ogg' />
                                <File Id='MenuMisoc' Name='menu.ogg' />
                                <File Id='Mr.BonesMusic' Name='Mr.BonesBackground.ogg' />
                                <File Id='PenMusic' Name='PenBackground.ogg' />
                                <File Id='SpikeMusic' Name='SpikeBackground.ogg' />
                                <File Id='TrainingMusic' Name='training.ogg' />
                            </Component>
                        </Directory>

                        <Directory Id='SFX' Name='sfx' FileSource='$(var.SourceDir)/data/sfx'>
                            <Component Id='SfxComponents' Guid='55dacaec-c44e-11db-8314-0800200c9a66' DiskId='1'>
                                <File Id='Die' Name='die.wav' />
                                <File Id='LevelupSfx' Name='levelup.wav' />
                                <File Id="YouLoseSound" Name='youlose.wav' />
                                <File Id="YouWinSound" Name='youwin.wav' />
                            </Component>
                        </Directory>

                        <Directory Id='ProgramMenuFolder' Name='ProgMenu'>
                            <Directory Id='AmoebaxProgramMenuFolder' Name='Amoebax'>
                                <Component Id='AmoebaxProgramMenuComponent' Guid='2b4e5bfc-418e-11dc-8314-0800200c9a66' DiskId='1'>
                                    <RegistryValue Root='HKCU' Key='Software\Emma&apos;s Software\Shortcut' Name='Installed' Type='integer' Value='1' />
                                    <File Id='Amoebax.url' Name='Amoebax Web Site.url' Source='$(var.SourceDir)/data/Amoebax.url' />
                                    <File Id='manual.pdf' Name='manual.pdf' Source='$(var.SourceDir)/doc/manual.pdf' />
                                    <RemoveFolder Id='RemoveAmoebaxProgramMenuFolder' On='uninstall'/>
                                </Component>
                            </Directory>
                        </Directory>
                        <Directory Id='DesktopFolder' Name='Desktop'/>

                        <Component Id='AmoebaxComponents' Guid='644cb504-c44e-11db-8314-0800200c9a66' DiskId='1'>
                            <RemoveRegistryKey Action='removeOnUninstall' Root='HKU' Key='Software\Emma&apos;s Software' />
                            <RemoveRegistryKey Action='removeOnUninstall' Root='HKCU' Key='Software\Emma&apos;s Software' />
                            <File Id='AmoebaxBinary' Name='amoebax.exe' Source='$(var.BuildDir)/src/amoebax.exe'>
                                <Shortcut Id='AmoebaxShortcut' Advertise='yes' Directory='AmoebaxProgramMenuFolder' Name='Amoebax' Icon='AmoebaxIcon.exe' IconIndex='0' Description='Cute and addictive action-puzzle game'>
                                    <Icon Id='AmoebaxIcon.exe' SourceFile='$(var.SourceDir)/data/amoebax.ico'/>
                                </Shortcut>
                                <Shortcut Id='AmoebaxShortcut2' Advertise='yes' Directory='DesktopFolder' Name='Amoebax' Icon='AmoebaxIcon2.exe' IconIndex='0' Description='Cute and addictive action-puzzle game'>
                                    <Icon Id='AmoebaxIcon2.exe' SourceFile='$(var.SourceDir)/data/amoebax.ico'/>
                                </Shortcut>
                            </File>
                            <File Id='SDLLibrary' Name='SDL.dll' Source='$(var.SourceDir)/data/dlls/SDL.dll'/>
                            <File Id='SDMixerLLibrary' Name='SDL_mixer.dll' Source='$(var.SourceDir)/data/dlls/SDL_mixer.dll' />
                            <File Id='SDLImageLibrary' Name='SDL_image.dll' Source='$(var.SourceDir)/data/dlls/SDL_image.dll' />
                            <File Id='OGGLibrary' Name='ogg.dll' Source='$(var.SourceDir)/data/dlls/ogg.dll'/>
                            <File Id='PNGLibrary' Name='libpng12.dll' Source='$(var.SourceDir)/data/dlls/libpng12.dll'/>
                            <File Id='ZLibrary' Name='zlib1.dll' Source='$(var.SourceDir)/data/dlls/zlib1.dll'/>
                            <File Id='VorbisLibrary' Name='vorbis.dll' Source='$(var.SourceDir)/data/dlls/vorbis.dll'/>
                            <File Id='VorbisFileLibrary' Name='vorbisfile.dll' Source='$(var.SourceDir)/data/dlls/vorbisfile.dll'/>
                        </Component>
                    </Directory>
                </Directory>
            </Directory>
        </Directory>

        <Feature Id='AmoebaxFeature' Title='Amoebax Feature' Level='1'>
            <ComponentRef Id='FontComponents' />
            <ComponentRef Id='GraphicComponents' />
            <ComponentRef Id='MusicComponents' />
            <ComponentRef Id='SfxComponents' />
            <ComponentRef Id='AmoebaxComponents' />
            <ComponentRef Id='AmoebaxProgramMenuComponent' />
        </Feature>
    </Product>
</Wix>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -