commit 808364791c8b8d203bda4ec37e756f754bc1229e Author: allen.yan Date: Wed Mar 19 10:22:21 2025 +0800 first commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9491a2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,363 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd \ No newline at end of file diff --git a/App.config b/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/App.xaml b/App.xaml new file mode 100644 index 0000000..4a1ab70 --- /dev/null +++ b/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/App.xaml.cs b/App.xaml.cs new file mode 100644 index 0000000..6dfa442 --- /dev/null +++ b/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Marquee +{ + /// + /// App.xaml 的互動邏輯 + /// + public partial class App : Application + { + } +} diff --git a/InstallAware/Any CPU/Marquee.mia b/InstallAware/Any CPU/Marquee.mia new file mode 100644 index 0000000..27b3b37 --- /dev/null +++ b/InstallAware/Any CPU/Marquee.mia @@ -0,0 +1,1841 @@ +Comment +Comment +Code Folding Region +Code Folding Region +Comment +Code Folding Region +Comment +Code Folding Region +Comment +Set Variable +Set Variable +Compiler Variable If +If +Set Variable +Set Variable +End +Comment +Compiler Variable End +Code Folding Region +Comment +Code Folding Region +Comment +If +Display Dialog +If +Terminate Install +End +Display Dialog +Compiler Variable If +If +Set Variable +Set Variable +(Un)Install MSI Setup +If +MessageBox +Terminate Install +End +If +MessageBox +If +Reboot and Resume +Else +Terminate Install +End +End +Set Variable +End +Comment +Compiler Variable End +Hide Dialog +End +Code Folding Region +Comment +Code Folding Region +Comment +Code Folding Region +Comment +Define Component +Comment +Comment +Get System Settings +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +Get Folder Location +If +Set Variable +End +Code Folding Region +Comment +Code Folding Region +If +GoTo Label +Else +Compiler Variable If +Comment +Set Variable +Set Variable +Compiler Variable End +End +Comment +Label +Display Dialog +If +GoTo Label +End +Compiler Variable If +Label +Does File/Folder Exist +Does File/Folder Exist +Evaluate Expression +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Label +Does File/Folder Exist +Does File/Folder Exist +Evaluate Expression +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Label +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Label +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Comment +If +Set Component State +Else +If +Set Component State +End +End +Label +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Label +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Label +Display Dialog +If +GoTo Label +Else +If +GoTo Label +End +End +Compiler Variable End +Label +Display Dialog +If +Compiler Variable If +GoTo Label +Compiler Variable Else +GoTo Label +Compiler Variable End +Else +GoTo Label +End +Label +Comment +Wizard Loop +Display Dialog +Display Dialog +Display Dialog +End +Code Folding Region +Comment +Code Folding Region +Label +Comment +If +Terminate Install +End +Comment +Set Variable +Set Variable +Set Variable +If +Set Variable +Else +Set Variable +End +Display Dialog +Comment +Comment +Code Folding Region +If +Comment +Comment +Get Component State +If +End +Apply Changes +Set Variable +Else +Code Folding Region +Comment +Code Folding Region +Comment +Comment +Create Shortcut +Web Media Block +Web Media Block +Get Component State +If +Install Files +Create Shortcut +End +Comment +Compiler Variable If +Apply Patch +Compiler Variable Else +If +Apply Changes +Else +Comment +Apply Changes +If +If +Get Component State +If +End +End +End +End +Compiler Variable End +Set Variable +End +Code Folding Region +Code Folding Region +Comment +Code Folding Region +Comment +Hide Dialog +Display Dialog +If +If +If +Reboot Computer +End +End +If +If +If +Comment +End +End +End +End +Code Folding Region +$ +{E0C35D44-1DF2-4C4D-83B3-9A5EF1586109} +{D769B1C6-761D-4B03-823D-C61B3DA2974B} +{38762B1C-705F-4DE3-873B-224AEEAEBCFC} +{52E576E7-50E0-4415-9F02-06A3B716F4A7} +{3CC85200-E457-47AD-9FC2-9D608125CA39} +{2883D9E5-74EB-4871-A292-9C693FAFCFD2} +{0DEA99D5-CCAD-432E-A5F1-21ED4E66AB44} +{E9F0B90D-7AA0-4441-8B92-1B43936ADC11} +{4A159908-AC09-4FAA-9732-11F654E7C6BB} +{B5ABA850-9012-4809-A77D-25EA924A3B4E} +{2610A9D5-44F7-49A1-81F7-E8F1AD4AD7AD} +{0E5B9D55-BC53-41B8-8D04-BC6098A8A5C3} +{77DE4CAF-9560-49D6-8525-CD4B88B98E67} +{A18DF512-4C58-42C8-B210-B0BE2CC3B353} +{313F2CE3-E4E9-4B13-AF9A-41DB572C624F} +{352E5E52-9D55-4DF3-84D7-24D7DF840153} +{67ABF964-B961-466D-A760-CC9FD0ADE6FB} +{5E18B9E1-5516-444A-8D93-CB61E6E533A7} +{5A536438-765A-4F3A-9301-D293979A75ED} +{A20A8D11-4978-44C6-82EF-982BFD64E8A5} +{2A431C01-7795-412C-AD07-CC4A342B7E9D} +{F810D3E2-7191-4203-BE98-CAC8F2C4B822} +{BB815DFD-006D-4BC3-9DDB-EB9600EBAA30} +{8AC3F167-3CC9-436D-8C94-42675C9B9CF1} +{EC5FBC06-84E0-4542-A0AC-FDDA10FC0F6C} +{8C49BDB1-B767-472B-BBBC-EB35A077E58E} +{8960A187-C0AC-4231-AF01-A1B1A7CA134E} +{6CA976FB-7A3A-4705-A196-5B853005E373} +{85A6C502-D1F9-41E0-90E2-7ED26FC1EC38} +{16BAF537-52B0-459B-AD00-78CFCB555C6A} +{6679E52B-3473-48D8-BEDC-E695F86B40E4} +{7B056C4C-8CB8-4428-9417-0B907A02379E} +{27C2010A-9AC6-48D3-9F94-1CA88FA8A0CD} +{8991EF39-9A9F-4424-B7B8-8185EDBE6B33} +{EED3BF28-D2A6-4952-83DC-21D14EB8AEC6} +{90BC6BD1-7276-47F3-9CF4-A7F07C4ECF04} +{BC4235CB-6183-4B81-AE8C-8A698E92B721} +{C3525B91-85F1-43BB-BD13-0E0887814B1F} +{A247686D-F198-4DBF-A029-BB9DF48E36A8} +{0A31D98A-3F6A-4D74-91EE-5D075F931EBC} +{21403ADC-E3CF-4248-9142-F85D6F0E5CB1} +{C77B7D12-C597-492D-A043-9D3ABF447A0F} +{F81217F2-121C-4572-9617-914E546ED978} +{8DFC348F-FFE8-446A-81B0-DE41B2E11FE1} +{ADA10440-449A-453B-97A7-6EDE79A7936A} +{4128FBC0-2BAB-4CD3-844C-A6AD0260ADF4} +{3B925E14-8A84-49A8-AC70-BCFBCF0CB0C2} +{18EB6E53-BB8E-4504-AC89-C26BC2F958C8} +{D95D8F0B-FE59-4D03-8465-B63F4FEA3B32} +{B5C4DC13-2EBC-4784-8E67-6D84164C72E2} +{29966BE1-04EC-49A2-8C03-E96A436DF225} +{E125FB85-DB68-46E0-BD6A-7228B370BC0A} +{DA997988-915F-455E-AC4B-8E441D99DCA9} +{8061B62D-11DF-43CB-BA8A-96B86E4F0639} +{C340FD36-B635-42A5-B159-9301781FA1E0} +{3EF2506F-D08F-400C-B487-2919D974A647} +{1D73927C-BFCC-436D-997A-3B38563D6250} +{6E5E46A6-FA16-4F2E-9D30-B501771603CA} +{86C6111A-2209-4465-B49C-426F8F78EF3B} +{CE07D22E-7226-46EF-AF2C-476A21A27EC3} +{82AAF0DF-9BB3-4945-90D0-AD2056492A48} +{014B8BD6-BC22-47FE-A81C-0B492A0F6080} +{14F0A159-6D57-4AF8-B4A5-BB0CEDAED57A} +{7266747E-7E7D-41CB-A02D-79C7DF3D65C7} +{D679D0E3-9C0C-406D-AD15-E07B50ED7FAA} +{3DF32A67-AEE4-4247-BCF8-B69DE9BA7D77} +{1AAD1FEC-D324-4896-93E8-F9B6C8ECF9EB} +{80067D44-8036-40E1-9C9A-D95D17A09248} +{7ACF027F-C0F2-42A3-B9B6-349CFE6D9F39} +{DE089409-29D9-4302-B8C2-F882BADB2A2D} +{967A5DA6-EBFA-4563-8A7B-2148E50DDF1D} +{E48433EB-1B88-4E9E-A2FC-1E88BCAE4155} +{7877AAAE-1A08-47F4-A20C-D1E8DEAE4FF0} +{D092D528-BD24-4A76-A61A-CDCBDEF1FE9B} +{82FA54E0-C327-4680-ADAA-D37D977802F8} +{4612B386-2D23-4352-9CEA-5D8F30AB4A00} +{91C018B6-A98A-4E93-824F-A8AEFD05485C} +{E0CD44EC-0A0F-4B14-A564-2E8DC9DC6792} +{2F7F5317-3AFB-4867-994B-166CF03A8406} +{2844AE8A-D325-4903-804C-1A56B3563477} +{D6E8B694-4542-4162-8DB8-8DF657A3253C} +{0D0796A0-5747-41F5-80B3-EC92AF857F14} +{70CD4A1D-6119-4693-A817-BAE65A48BCFE} +{61AC72C2-129E-4CA5-9658-81459C1E944B} +{B0C444EE-8D95-46A7-B628-F2ED3CA98D0D} +{C23E85B0-962F-4CC5-8E9F-72A9E3314321} +{6C24267D-5A79-44FB-8628-0CB881CEFB34} +{F7F0A1B6-E045-4AFC-9136-2C9AEF34B1BA} +{484BF2D9-D256-49F7-9961-E3C2B2AEFF9B} +{F5C9B12D-D815-4382-A84D-E84693670FE0} +{C2878A4B-974D-45DC-82F7-D546921FB6F2} +{6EFE3167-06C2-4DD5-8D5A-C9ABF689A628} +{49D21C39-E113-47E5-AAF4-9B09A3436126} +{64D9D707-28CF-4F11-8EE7-C0F1AEDFBEE7} +{3444A5F3-446F-45F8-B894-7941DC088314} +{882D6F99-76AC-4F52-B5A7-61A93ADEE65F} +{E369ABEF-31F1-4923-89DE-4523ABD58D4D} +{978CF254-E497-418D-A988-56D7F116592F} +{9E15AF43-E8A9-4CC8-93D6-935377DC7673} +{52BD0987-D2ED-49DD-8CFE-1589F6CAA6F8} +{200A6D6D-1651-4B28-A982-392227C159A0} +{7004AE8A-D826-4068-AB9A-D72C700E02D4} +{EF8F6D0C-620D-45C4-B9BE-A5998268D768} +{AA09F332-5A48-4C7E-817E-07F1099B565F} +{660EBF95-B4F0-45D4-B741-C914F3872893} +{9F308D65-24B4-4036-BCD3-90308E79D69E} +{B52743B7-ED42-40DF-8D4B-C3415CBAA3DC} +{BB5A2EC8-7B15-4D24-AAFB-A31209801180} +{8A4F92B7-4122-46ED-B408-D26651A49295} +{7751A9F5-3D77-42FF-AD14-3812D421546A} +{F4CC2255-CE0C-43B9-B147-2B5824B06FAE} +{A102759E-82E1-4A33-A236-947BFBBD8833} +{F9657365-A845-40AC-A416-70F126DCD00E} +{92720FCE-E718-485A-B225-CD71FF7CD3AC} +{B4F53E73-73F4-459A-93FA-8A344DC39114} +{F7181182-3131-4EF5-9144-31DB8ED3FBE3} +{06C1D7BA-276D-45E7-A89A-7DD20E301269} +{E18E767B-A894-4764-844A-734703915958} +{5C0D1CF5-5C4B-42F5-9446-8CB645ED34B0} +{6395C2D0-BA82-4A73-93CF-F93EDDC2EED4} +{C1C82278-593B-4C2B-A41B-3F0DCAD819FA} +{139DF671-9DC3-4BDB-85F5-EB3DEBDF9675} +{A5AA1299-66D6-4439-A341-74BB5AC98D1E} +{0537FDA1-18CC-4EDC-B2E8-251F3BDA6B93} +{214984A7-61C8-444E-BBBB-ADDE12D7D20C} +{63C6A34C-C73F-4DFA-8EB6-BD0522EDC9BB} +{8202525A-F0D5-4DDB-B23D-1232369F1386} +{E3287297-F457-4618-8158-7998CAE98961} +{4693B6EA-D4A4-4848-916B-07F726F921B9} +{C62E7047-16C3-4524-9C24-CD098D74BCA7} +{EAD896BA-8DB1-4424-849E-A5FD82A03074} +{DE98F743-FF1B-4060-9102-010D6B787F8B} +{FB4F9304-DBDE-4EE3-B5B5-DB39310D31D0} +{9CFFD6EC-9EE6-43AF-A30A-C4EDF2D08A15} +{B432827B-8077-41E5-A851-1AA585A3BBAA} +{2DA58D74-BF26-49B9-A022-9594F75068C5} +{F19105C6-CD8F-40D0-8D9B-D1E6E2E10452} +{649AFAE9-D6CD-4EEA-A831-1439D82BB4CD} +{B0C05C03-07E5-4595-A026-572E4A0E5018} +{8FEE5A1E-0F48-4F4A-BF38-958A3B7FFE2A} +{602C6290-848E-4B31-A6E2-63213E4F256B} +{649FFCBF-E8D1-4BD0-8AF4-11556FE80B40} +{699ABDF4-7526-4790-83D0-0991652E06D8} +{60D2A3F5-5374-4F13-96E0-4759F4ED3B92} +{57D128AA-569B-4B4A-ACEF-2DFBA3F85804} +{2259AC25-3BB0-49B2-A0DE-A5B1AA73DBEA} +{159E0836-067D-4BAD-9E4A-FD802990DBA5} +{177E4FA2-7C19-4534-977E-32394C44A284} +{9DB5884F-D131-4035-84D3-7391C1FF8B74} +{95E2BC1D-D1DC-4B19-BFF8-82F3658EF30A} +{957DC5DA-DE3B-4F38-A886-96E9776317D0} +{3A2B0B04-1CEB-4640-9E2C-EF6EE2586F8A} +{2AEB0684-A891-4513-A895-17B401E6D95E} +{076B2412-A304-4E6D-8B7F-BC8390333BB5} +{5B2BA694-D623-48B8-B27A-74473821E950} +{56D85654-3D30-480D-95F7-C0B9D24C2A33} +{2CACB55B-BB99-4D58-B0DA-F2AB4192D67E} +{839729FC-FB59-4230-9A4B-5C3A2D461546} +{4B8A8402-A7A4-42AA-9E7D-ABC1E6A2D1CC} +{870CE776-F4DD-48A3-9EB5-B6DBEF3E7418} +{26AF2F5F-E112-459D-AFAA-48F20557D5C9} +{F11B39CD-7C40-4B28-B53C-3085968EDB67} +{6D2D8511-05D7-442F-B194-4E4E9DE27352} +{49DBA5A4-5B0E-4BB1-8696-8F8527A44222} +{B71700AF-D671-420C-B585-590244417CBB} +{FC7934DC-4D99-45C4-8803-ACC873A35348} +{35C741A6-EDA1-4125-94FD-B556B3C54BE4} +{BE9DE40C-B943-4B45-A4BB-664B8FD13D0B} +{AD65B9C0-AEB6-4A1E-BB88-563D374C5660} +{6466B4EC-7637-4E85-89E4-8CB2AE76D1C9} +{3790575D-7873-49CB-A39B-ECB0D229737C} +{8F01CEFE-AB42-45AF-8C34-005897E746FB} +{CC5C1624-1906-4E26-BE77-D2614AFC9300} +{B18C0130-F2FA-4D17-8E50-31D6EA253507} +{404149DE-3AA5-423B-A957-1B399BFC6198} +{73BC0923-C506-43C2-A28E-99940A8B19AA} +{3F8875D8-0D38-40F7-883E-F1226A82F9CB} +{DC86C776-F645-4DB8-9AAE-88064D24D261} +{6B318EBB-1562-4A85-BDBB-E447F30BA8F9} +{B45A5EBA-6EA5-41B6-9469-1C628982956F} +{21278249-EFEB-427C-83D6-BF02CF1DA127} +{2B1D2D33-EFB8-4CB6-BD85-0D9365F060A9} +{AE37A545-D6AF-4C0A-BFF3-0424AA8EA6F6} +{2CAEF1B3-361E-4A42-9C0E-2B586741C056} +{62EFF691-9CD7-4F0C-BF0A-461F2CB1B09C} +{374489CF-4ACD-4304-A55A-9C0650550E75} +{737E61D9-BEAC-4EA5-A488-FB8A3031C722} +{12E7DA23-62D6-4FAE-859E-FC302B51C7B3} +{75A81ED0-A9AB-410D-8ED6-95DCD29C9DD2} +{6DB28C9A-BC19-43DF-B8ED-25A6C22311FE} +{C2DF605B-89C0-44CD-A75B-1EA708AD2A3F} +{BB851790-B3FA-469D-98CA-D0D7A4BD0302} +{277D7B5E-5D59-4F92-BB73-25D9411E081C} +{5BD3D169-7A3B-40C9-9912-E872C06FCF23} +{9EE316B9-1086-4DAB-A53B-D3628C4F507F} +{3E256DBC-0E95-4EF6-8548-ADF7F8D14EAC} +{9FE502F8-BBC7-4B65-901D-4D72BDDC4721} +{E7692508-F255-4347-90F2-5CE72B91B156} +{88BE9E69-4EA9-4927-B842-52642B0F9052} +{7E02A8A0-1A41-42B4-8983-7CE4CB4454E8} +{923A7B10-F700-415E-BB63-3B0132FC93F2} +{D219A872-D4DB-494E-A81B-3517B0DAE781} +{DF446E69-E24D-4806-9B64-1965DB85815C} +{422E8739-C480-4A7F-8658-2667D934F10E} +{3433903A-54F4-4E77-ACB2-6BA1E73A73F8} +{801ED2A4-404E-4431-8213-C840718671E7} +{69F9EFD3-3FE3-404E-B267-DD3295D1E782} +{204A7D5F-3956-410D-AD82-1FC6B028356B} +{C9E55BE6-41D1-4CC0-8B7D-FC84D9902FD8} +{851A440C-C5A4-49BA-921C-A78C480D4B74} +{3EA93361-B558-4033-AF38-8A71A154A5A6} +{1AFB3F9B-C9B2-4299-8A47-629B07DBF785} +{61361331-7923-4651-AD20-45A9F5988C40} +{0B413AE0-3B65-4103-9001-79217D7ACD9D} +{E5381B41-B818-4196-BE98-5E62816ADE2F} +{E7699C3E-91EA-4D65-B5EE-9AD2397EB386} +{55CD22DB-411C-44F1-B1F9-62E9E5FED1C1} +{DBB80A2D-D357-4340-A893-66E88C0FDC64} +{2B117B39-3789-4786-A05F-B9D5E2E0524F} +{4CFDBA98-27CF-41A1-B3DD-8C5488AC6686} +{3089CA0D-D5B1-41CE-84CC-595A9634E498} +{B14AF852-D023-47A7-8350-07751799906C} +{5A66524C-F5ED-4780-A940-2C3E01651A76} +{A23ED480-35F4-48FF-AFA3-7DBB4D2DB90B} +{DE4F223C-780F-4C4C-ABE3-8E1625DC0B9B} +{C74FE4BB-B0C0-48F5-B7C0-38265A37BEBA} +{52D0F4F8-9564-415E-9A6D-22FD1E7323AD} +{E1B09078-9310-42DB-8979-D80107AA55B7} +{76908B25-4959-47CA-9E67-8ACD5BB8D87D} +{22671E4D-CC08-4796-8356-B9C7E6648430} +{744C7E90-01A3-41E7-BF9B-113E56583730} +{941E66C2-8357-40EC-BDB4-5861A8DB7C9E} +{52E628CC-68CB-4C4C-9F09-918A9196B414} +{AD5A5D58-FE52-41DD-AD21-3BA64C32C205} +{4C0A1CD6-EAB7-432A-8BF6-62154DD77506} +{05BD46F3-EA99-4B53-AA6C-5D0340AB694D} +{5F465BF4-3ABB-4760-B69A-4FB5E2E3CE74} +{A2549A15-0331-4D91-B311-9ECCA1375E0F} +{DF8C48E2-3B96-47FA-B324-46AF112E4BAD} +{5ACFFE34-6015-4778-AFC9-57156D4AA345} +{12555251-B625-4B20-AFC6-88C44FA6388C} +{0DBCC1DD-8AB8-49EC-B656-061FC1B38CE9} +{BDD336B0-3259-477F-AFA3-3B83B84A2743} +{2E3E4AAF-D716-4215-B873-53059C00BCD1} +{6AA563A6-605F-4F04-A877-3DB37916175F} +{F34E0BEE-C14F-4B5A-830E-E68EA009B739} +{9E3E3E7C-D4E2-4A70-BB78-A8DA78E31956} +{76A2DF08-3A20-4884-88FC-7829EECEDF8D} +{58BFBC3D-625F-45BA-965D-995748376B62} +{9E3A3CE6-2BB6-4082-A9A9-E44FAB7EDDB0} +{83959EFA-4991-46F2-A4CE-3CC2E25DAE0A} +{CA39947D-1E93-446D-9872-E6DD8E40FC6B} +{852166DB-3CEE-4338-835D-4C8658B75124} +{A555D1E7-09B3-4C8B-A760-68DAB08C0B78} +{4A5DB9AD-E6DF-4D9C-BD9A-C03F78074B7D} +{204DEAD8-28CA-4F35-A43A-126FF3762F09} +{4291452B-BA23-4449-93DF-6A584050654B} +{0C160507-E554-4804-9A1E-6799B113018F} +{E770E131-0F31-49D5-AC27-0AF197771D30} +{43A21AED-DEF3-4D9C-A583-DA510E69B4AE} +{7F58F12A-36AA-49B6-9CD9-5A12F1910737} +{066F209C-A477-4E80-854E-1FC39BEEC6A0} +{9FD54A78-C210-4BCC-913C-D24C68EBE52D} +{A0360DE5-6ED6-419A-B09F-877EDF6DFE84} +{D8105EE6-4CDB-4744-AA34-DC69C51202BE} +{198D10DD-D313-4606-B7DE-43F4DCCBAC54} +{D8ECE14A-3E09-4DEC-962E-B9E29055D007} +{8B931A5D-2DAC-4F34-AE64-014DFC46BDEB} +{CAD8384A-7224-44E8-81CF-444879998A45} +{AC061022-CFBB-4E8D-B0B3-33E5E1C9B0C7} +{EE3B8F8C-64A6-4258-BB62-7F741040C7FD} +{C16547F2-BFF1-419A-AFE8-8D5B3CBD54B1} +{6D67D35F-0659-4025-BAD5-1B20063A195E} +$ +{E0C35D44-1DF2-4C4D-83B3-9A5EF1586109} +Marquee +{D769B1C6-761D-4B03-823D-C61B3DA2974B} + +{38762B1C-705F-4DE3-873B-224AEEAEBCFC} +TRUE +Check Application Requirements +{52E576E7-50E0-4415-9F02-06A3B716F4A7} +FALSE + +{3CC85200-E457-47AD-9FC2-9D608125CA39} + +{2883D9E5-74EB-4871-A292-9C693FAFCFD2} +TRUE +Check/Install Application Pre-Requisites +{0DEA99D5-CCAD-432E-A5F1-21ED4E66AB44} + +{E9F0B90D-7AA0-4441-8B92-1B43936ADC11} +TRUE +Check Application Pre-Requisite +{4A159908-AC09-4FAA-9732-11F654E7C6BB} +Check setup pre-requisites +{B5ABA850-9012-4809-A77D-25EA924A3B4E} +PREREQ +FALSE +{2610A9D5-44F7-49A1-81F7-E8F1AD4AD7AD} +PRELIST + +{0E5B9D55-BC53-41B8-8D04-BC6098A8A5C3} +BUILDMODE +0 +PATCH +TRUE +{77DE4CAF-9560-49D6-8525-CD4B88B98E67} +NEEDSUPGRADE +0 +TRUE +FALSE +{A18DF512-4C58-42C8-B210-B0BE2CC3B353} +PREREQ +TRUE +{313F2CE3-E4E9-4B13-AF9A-41DB572C624F} +PRELIST +$PRELIST$$NEWLINE$Previous Version Uninstallation +{67ABF964-B961-466D-A760-CC9FD0ADE6FB} + +{5A536438-765A-4F3A-9301-D293979A75ED} +FALSE + +{A20A8D11-4978-44C6-82EF-982BFD64E8A5} + +{2A431C01-7795-412C-AD07-CC4A342B7E9D} +TRUE +Install Application Pre-Requisites +{F810D3E2-7191-4203-BE98-CAC8F2C4B822} +Install setup pre-requisites +{BB815DFD-006D-4BC3-9DDB-EB9600EBAA30} +PREREQ +0 +FALSE +TRUE +{8AC3F167-3CC9-436D-8C94-42675C9B9CF1} +prereq +WIZARD +TRUE + +TRUE +FALSE +{EC5FBC06-84E0-4542-A0AC-FDDA10FC0F6C} +WIZARD +0 +CANCEL +FALSE +{6CA976FB-7A3A-4705-A196-5B853005E373} +progressprereq +WIZARD +FALSE + +TRUE +FALSE +{85A6C502-D1F9-41E0-90E2-7ED26FC1EC38} +BUILDMODE +0 +PATCH +TRUE +{16BAF537-52B0-459B-AD00-78CFCB555C6A} +NEEDSUPGRADE +0 +TRUE +FALSE +{6679E52B-3473-48D8-BEDC-E695F86B40E4} +REMOVEOLD + +{7B056C4C-8CB8-4428-9417-0B907A02379E} +ERROROLD + +{27C2010A-9AC6-48D3-9F94-1CA88FA8A0CD} +REMOVE=ALL,TRUE,$PRODUCTCODE$,FALSE,,,REMOVEOLD,ERROROLD,TRUE +mMSI.dll\mMSIExec.dll +{8991EF39-9A9F-4424-B7B8-8185EDBE6B33} +REMOVEOLD +0 +ERROR +FALSE +{EED3BF28-D2A6-4952-83DC-21D14EB8AEC6} +$TITLE$ Setup +Unable to uninstall old version of $TITLE$. Please uninstall it yourself using Control Panel Add-Remove Programs before attempting to install this product.$NEWLINE$$NEWLINE$$ERROROLD$ +2 +1 + +{C3525B91-85F1-43BB-BD13-0E0887814B1F} +REMOVEOLD +0 +REBOOT +FALSE +{A247686D-F198-4DBF-A029-BB9DF48E36A8} +$TITLE$ Setup +Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer.Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit.You will have to run setup again at a later time to install $TITLE$ +2 +2 +REBOOTNOW +{0A31D98A-3F6A-4D74-91EE-5D075F931EBC} +REBOOTNOW +0 +OK +FALSE +{4128FBC0-2BAB-4CD3-844C-A6AD0260ADF4} +MAINTENANCE +FALSE +{18EB6E53-BB8E-4504-AC89-C26BC2F958C8} + +{E125FB85-DB68-46E0-BD6A-7228B370BC0A} +FALSE + +{DA997988-915F-455E-AC4B-8E441D99DCA9} + +{8061B62D-11DF-43CB-BA8A-96B86E4F0639} +FALSE + +{C340FD36-B635-42A5-B159-9301781FA1E0} + +{3EF2506F-D08F-400C-B487-2919D974A647} +TRUE +Define Setup Globals +{1D73927C-BFCC-436D-997A-3B38563D6250} +Define Setup Components +{6E5E46A6-FA16-4F2E-9D30-B501771603CA} +Marquee +TRUE +Description for Marquee +{86C6111A-2209-4465-B49C-426F8F78EF3B} + +{CE07D22E-7226-46EF-AF2C-476A21A27EC3} +Initialize Setup Globals +{82AAF0DF-9BB3-4945-90D0-AD2056492A48} +ISNT +18 +{014B8BD6-BC22-47FE-A81C-0B492A0F6080} +PROGRAMFILES +20 +FALSE +{14F0A159-6D57-4AF8-B4A5-BB0CEDAED57A} +COMMONFILES +20 +TRUE +{7266747E-7E7D-41CB-A02D-79C7DF3D65C7} +SHORTCUTFILESALL +14 +TRUE +{D679D0E3-9C0C-406D-AD15-E07B50ED7FAA} +SHORTCUTFILES +14 +FALSE +{3DF32A67-AEE4-4247-BCF8-B69DE9BA7D77} +DESKTOPDIR +17 +FALSE +{1AAD1FEC-D324-4896-93E8-F9B6C8ECF9EB} +WINDIR +25 +FALSE +{80067D44-8036-40E1-9C9A-D95D17A09248} +SYSTEM32 +23 +FALSE +{7ACF027F-C0F2-42A3-B9B6-349CFE6D9F39} +QUICKLAUNCHDIR +26 +FALSE +{DE089409-29D9-4302-B8C2-F882BADB2A2D} +WWWROOTDIR +27 +FALSE +{967A5DA6-EBFA-4563-8A7B-2148E50DDF1D} +SHORTCUTFILESALL +0 + +FALSE +{E48433EB-1B88-4E9E-A2FC-1E88BCAE4155} +SHORTCUTFILESALL +$SHORTCUTFILES$ +{D092D528-BD24-4A76-A61A-CDCBDEF1FE9B} +FALSE + +{82FA54E0-C327-4680-ADAA-D37D977802F8} + +{4612B386-2D23-4352-9CEA-5D8F30AB4A00} +TRUE +Setup User Interview +{91C018B6-A98A-4E93-824F-A8AEFD05485C} +MAINTENANCE +0 +TRUE +FALSE +{E0CD44EC-0A0F-4B14-A564-2E8DC9DC6792} +Maintenance +{2844AE8A-D325-4903-804C-1A56B3563477} +BUILDMODE +0 +PATCH +TRUE +{D6E8B694-4542-4162-8DB8-8DF657A3253C} +First Time Install +{0D0796A0-5747-41F5-80B3-EC92AF857F14} +TARGETDIR +$PROGRAMFILES$\$TITLE$ +{70CD4A1D-6119-4693-A817-BAE65A48BCFE} +STARTMENU +$TITLE$ +{C23E85B0-962F-4CC5-8E9F-72A9E3314321} + +{6C24267D-5A79-44FB-8628-0CB881CEFB34} +Welcome Dialog +{F7F0A1B6-E045-4AFC-9136-2C9AEF34B1BA} +welcome +WIZARD +TRUE + +TRUE +FALSE +{484BF2D9-D256-49F7-9961-E3C2B2AEFF9B} +WIZARD +0 +CANCEL +FALSE +{F5C9B12D-D815-4382-A84D-E84693670FE0} +Main Install +{6EFE3167-06C2-4DD5-8D5A-C9ABF689A628} +BUILDMODE +0 +PATCH +TRUE +{49D21C39-E113-47E5-AAF4-9B09A3436126} +License Check +{64D9D707-28CF-4F11-8EE7-C0F1AEDFBEE7} +LICENSERTF +$SUPPORTDIR$\license.rtf +TRUE +{3444A5F3-446F-45F8-B894-7941DC088314} +LICENSETXT +$SUPPORTDIR$\license.txt +TRUE +{882D6F99-76AC-4F52-B5A7-61A93ADEE65F} +$LICENSERTF$ ="TRUE" or $LICENSETXT$ ="TRUE" +LICENSEFOUND +{E369ABEF-31F1-4923-89DE-4523ABD58D4D} +licensecheck +WIZARD +TRUE +LICENSEFOUND +TRUE +FALSE +{978CF254-E497-418D-A988-56D7F116592F} +WIZARD +0 +BACK +FALSE +{9E15AF43-E8A9-4CC8-93D6-935377DC7673} +Welcome Dialog +{200A6D6D-1651-4B28-A982-392227C159A0} +WIZARD +0 +CANCEL +FALSE +{7004AE8A-D826-4068-AB9A-D72C700E02D4} +Main Install +{660EBF95-B4F0-45D4-B741-C914F3872893} +ReadMe Information +{9F308D65-24B4-4036-BCD3-90308E79D69E} +READMERTF +$SUPPORTDIR$\readme.rtf +TRUE +{B52743B7-ED42-40DF-8D4B-C3415CBAA3DC} +READMETXT +$SUPPORTDIR$\readme.txt +TRUE +{BB5A2EC8-7B15-4D24-AAFB-A31209801180} +$READMERTF$ ="TRUE" or $READMETXT$ ="TRUE" +READMEFOUND +{8A4F92B7-4122-46ED-B408-D26651A49295} +readme +WIZARD +TRUE +READMEFOUND +TRUE +FALSE +{7751A9F5-3D77-42FF-AD14-3812D421546A} +WIZARD +0 +BACK +FALSE +{F4CC2255-CE0C-43B9-B147-2B5824B06FAE} +License Check +{F9657365-A845-40AC-A416-70F126DCD00E} +WIZARD +0 +CANCEL +FALSE +{92720FCE-E718-485A-B225-CD71FF7CD3AC} +Main Install +{06C1D7BA-276D-45E7-A89A-7DD20E301269} +User Registration +{E18E767B-A894-4764-844A-734703915958} +registration +WIZARD +TRUE + +TRUE +FALSE +{5C0D1CF5-5C4B-42F5-9446-8CB645ED34B0} +WIZARD +0 +BACK +FALSE +{6395C2D0-BA82-4A73-93CF-F93EDDC2EED4} +ReadMe Information +{139DF671-9DC3-4BDB-85F5-EB3DEBDF9675} +WIZARD +0 +CANCEL +FALSE +{A5AA1299-66D6-4439-A341-74BB5AC98D1E} +Main Install +{63C6A34C-C73F-4DFA-8EB6-BD0522EDC9BB} +Setup Type +{8202525A-F0D5-4DDB-B23D-1232369F1386} +setuptype +WIZARD +TRUE + +TRUE +FALSE +{E3287297-F457-4618-8158-7998CAE98961} +WIZARD +0 +BACK +FALSE +{4693B6EA-D4A4-4848-916B-07F726F921B9} +User Registration +{EAD896BA-8DB1-4424-849E-A5FD82A03074} +WIZARD +0 +CANCEL +FALSE +{DE98F743-FF1B-4060-9102-010D6B787F8B} +Main Install +{B432827B-8077-41E5-A851-1AA585A3BBAA} +TO-DO: Customize your minimum setup here +{2DA58D74-BF26-49B9-A022-9594F75068C5} +MINIMUM +0 +TRUE +FALSE +{F19105C6-CD8F-40D0-8D9B-D1E6E2E10452} +Marquee +FALSE +{B0C05C03-07E5-4595-A026-572E4A0E5018} +COMPLETE +0 +TRUE +FALSE +{8FEE5A1E-0F48-4F4A-BF38-958A3B7FFE2A} +Marquee +TRUE +{699ABDF4-7526-4790-83D0-0991652E06D8} +Custom Setup +{60D2A3F5-5374-4F13-96E0-4759F4ED3B92} +componentstree +WIZARD +TRUE +PERSONALIZED +TRUE +FALSE +{57D128AA-569B-4B4A-ACEF-2DFBA3F85804} +WIZARD +0 +BACK +FALSE +{2259AC25-3BB0-49B2-A0DE-A5B1AA73DBEA} +Setup Type +{177E4FA2-7C19-4534-977E-32394C44A284} +WIZARD +0 +CANCEL +FALSE +{9DB5884F-D131-4035-84D3-7391C1FF8B74} +Main Install +{3A2B0B04-1CEB-4640-9E2C-EF6EE2586F8A} +Destination Directory +{2AEB0684-A891-4513-A895-17B401E6D95E} +destination +WIZARD +TRUE + +TRUE +FALSE +{076B2412-A304-4E6D-8B7F-BC8390333BB5} +WIZARD +0 +BACK +FALSE +{5B2BA694-D623-48B8-B27A-74473821E950} +Custom Setup +{2CACB55B-BB99-4D58-B0DA-F2AB4192D67E} +WIZARD +0 +CANCEL +FALSE +{839729FC-FB59-4230-9A4B-5C3A2D461546} +Main Install +{26AF2F5F-E112-459D-AFAA-48F20557D5C9} +Start Menu +{F11B39CD-7C40-4B28-B53C-3085968EDB67} +startmenu +WIZARD +TRUE + +TRUE +FALSE +{6D2D8511-05D7-442F-B194-4E4E9DE27352} +WIZARD +0 +BACK +FALSE +{49DBA5A4-5B0E-4BB1-8696-8F8527A44222} +Destination Directory +{FC7934DC-4D99-45C4-8803-ACC873A35348} +WIZARD +0 +CANCEL +FALSE +{35C741A6-EDA1-4125-94FD-B556B3C54BE4} +Main Install +{3790575D-7873-49CB-A39B-ECB0D229737C} +Start Installation +{8F01CEFE-AB42-45AF-8C34-005897E746FB} +startinstallation +WIZARD +TRUE + +TRUE +FALSE +{CC5C1624-1906-4E26-BE77-D2614AFC9300} +WIZARD +0 +BACK +FALSE +{B18C0130-F2FA-4D17-8E50-31D6EA253507} +BUILDMODE +0 +PATCH +TRUE +{404149DE-3AA5-423B-A957-1B399BFC6198} +Start Menu +{3F8875D8-0D38-40F7-883E-F1226A82F9CB} +Welcome Dialog +{B45A5EBA-6EA5-41B6-9469-1C628982956F} +Main Install +{2B1D2D33-EFB8-4CB6-BD85-0D9365F060A9} +Maintenance +{AE37A545-D6AF-4C0A-BFF3-0424AA8EA6F6} +Maintenance Install/Uninstall +{62EFF691-9CD7-4F0C-BF0A-461F2CB1B09C} +maintenance +WIZARD +TRUE + +TRUE +FALSE +{374489CF-4ACD-4304-A55A-9C0650550E75} +componentstree +WIZARD +TRUE +MODIFY +TRUE +FALSE +{737E61D9-BEAC-4EA5-A488-FB8A3031C722} +startinstallation +WIZARD +TRUE + +TRUE +FALSE +{75A81ED0-A9AB-410D-8ED6-95DCD29C9DD2} +FALSE + +{6DB28C9A-BC19-43DF-B8ED-25A6C22311FE} + +{C2DF605B-89C0-44CD-A75B-1EA708AD2A3F} +TRUE +Process (Un)Installation +{BB851790-B3FA-469D-98CA-D0D7A4BD0302} +Main Install +{277D7B5E-5D59-4F92-BB73-25D9411E081C} +Exit Setup if Wizard Loop cancelled +{5BD3D169-7A3B-40C9-9912-E872C06FCF23} +WIZARD +0 +CANCEL +FALSE +{9FE502F8-BBC7-4B65-901D-4D72BDDC4721} +Prepare to install +{E7692508-F255-4347-90F2-5CE72B91B156} +PROGRESSTEXT +Installing $TITLE$ +{88BE9E69-4EA9-4927-B842-52642B0F9052} +SUCCESS + +{7E02A8A0-1A41-42B4-8983-7CE4CB4454E8} +LASTERROR + +{923A7B10-F700-415E-BB63-3B0132FC93F2} +ALLUSERS +0 +TRUE +FALSE +{D219A872-D4DB-494E-A81B-3517B0DAE781} +SHORTCUTFOLDER +$SHORTCUTFILESALL$\$STARTMENU$ +{422E8739-C480-4A7F-8658-2667D934F10E} +SHORTCUTFOLDER +$SHORTCUTFILES$\$STARTMENU$ +{801ED2A4-404E-4431-8213-C840718671E7} +progress +WIZARD +FALSE + +TRUE +FALSE +{69F9EFD3-3FE3-404E-B267-DD3295D1E782} + +{204A7D5F-3956-410D-AD82-1FC6B028356B} +Modify Target System +{C9E55BE6-41D1-4CC0-8B7D-FC84D9902FD8} +TRUE +Perform Uninstallation +{851A440C-C5A4-49BA-921C-A78C480D4B74} +REMOVE +0 +TRUE +FALSE +{3EA93361-B558-4033-AF38-8A71A154A5A6} +Uninstall product +{1AFB3F9B-C9B2-4299-8A47-629B07DBF785} +TO-DO: Insert any additional uninstall commands here +{61361331-7923-4651-AD20-45A9F5988C40} +Marquee +SELECTED +{0B413AE0-3B65-4103-9001-79217D7ACD9D} +SELECTED +0 +TRUE +FALSE +{E7699C3E-91EA-4D65-B5EE-9AD2397EB386} +progress +SUCCESS +FALSE +TRUE +{55CD22DB-411C-44F1-B1F9-62E9E5FED1C1} +PROGRESS +100 +{2B117B39-3789-4786-A05F-B9D5E2E0524F} +FALSE + +{4CFDBA98-27CF-41A1-B3DD-8C5488AC6686} + +{3089CA0D-D5B1-41CE-84CC-595A9634E498} +TRUE +Perform First Time or Maintenance Installation +{B14AF852-D023-47A7-8350-07751799906C} + +{5A66524C-F5ED-4780-A940-2C3E01651A76} +Install/Re-Install product +{A23ED480-35F4-48FF-AFA3-7DBB4D2DB90B} +$UNINSTALLLINK$ +Uninstall Marquee +$SHORTCUTFOLDER$ +Removes this Steven product + + + + +0 +{DE4F223C-780F-4C4C-ABE3-8E1625DC0B9B} + + +FALSE +{C74FE4BB-B0C0-48F5-B7C0-38265A37BEBA} +Marquee +http://www.mywebsite.com/Marquee.7zip +FALSE +{52D0F4F8-9564-415E-9A6D-22FD1E7323AD} +Marquee +SELECTED +{E1B09078-9310-42DB-8979-D80107AA55B7} +SELECTED +0 +TRUE +FALSE +{76908B25-4959-47CA-9E67-8ACD5BB8D87D} +E:\Marquee\bin\Debug\Marquee.exe +FALSE +$TARGETDIR$ +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +{22671E4D-CC08-4796-8356-B9C7E6648430} +$TARGETDIR$\Marquee.exe +Marquee +$SHORTCUTFOLDER$ +Marquee + + + + +0 +{941E66C2-8357-40EC-BDB4-5861A8DB7C9E} +TO-DO: Insert any additional install commands here +{52E628CC-68CB-4C4C-9F09-918A9196B414} +BUILDMODE +0 +PATCH +FALSE +{AD5A5D58-FE52-41DD-AD21-3BA64C32C205} +SUCCESS +{05BD46F3-EA99-4B53-AA6C-5D0340AB694D} +ADVERTISE +0 +TRUE +FALSE +{5F465BF4-3ABB-4760-B69A-4FB5E2E3CE74} +progress +SUCCESS +FALSE +FALSE +{DF8C48E2-3B96-47FA-B324-46AF112E4BAD} + +{5ACFFE34-6015-4778-AFC9-57156D4AA345} +progress +SUCCESS +TRUE +FALSE +{12555251-B625-4B20-AFC6-88C44FA6388C} +SUCCESS +0 +ERROR +TRUE +{0DBCC1DD-8AB8-49EC-B656-061FC1B38CE9} +SUCCESS +0 +CANCEL +TRUE +{BDD336B0-3259-477F-AFA3-3B83B84A2743} +Marquee +SELECTED +{2E3E4AAF-D716-4215-B873-53059C00BCD1} +SELECTED +0 +TRUE +FALSE +{9E3A3CE6-2BB6-4082-A9A9-E44FAB7EDDB0} +PROGRESS +100 +{CA39947D-1E93-446D-9872-E6DD8E40FC6B} +FALSE + +{852166DB-3CEE-4338-835D-4C8658B75124} +FALSE + +{A555D1E7-09B3-4C8B-A760-68DAB08C0B78} + +{4A5DB9AD-E6DF-4D9C-BD9A-C03F78074B7D} +TRUE +Finish Setup +{204DEAD8-28CA-4F35-A43A-126FF3762F09} +End of Installation +{0C160507-E554-4804-9A1E-6799B113018F} +finish +WIZARD +TRUE + +TRUE +FALSE +{E770E131-0F31-49D5-AC27-0AF197771D30} +SILENT +0 +FALSE +FALSE +{43A21AED-DEF3-4D9C-A583-DA510E69B4AE} +REBOOTCOMPUTER +0 +TRUE +FALSE +{7F58F12A-36AA-49B6-9CD9-5A12F1910737} +SUCCESS +0 +REBOOT +FALSE +{D8105EE6-4CDB-4744-AA34-DC69C51202BE} +RUNAPP +0 +TRUE +FALSE +{198D10DD-D313-4606-B7DE-43F4DCCBAC54} +REMOVE +0 +FALSE +FALSE +{D8ECE14A-3E09-4DEC-962E-B9E29055D007} +SUCCESS +0 +COMPLETE +FALSE +{8B931A5D-2DAC-4F34-AE64-014DFC46BDEB} +TO-DO: Insert command that starts your application here +{6D67D35F-0659-4025-BAD5-1B20063A195E} +FALSE + +$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +$ diff --git a/InstallAware/Any CPU/Marquee.mpr b/InstallAware/Any CPU/Marquee.mpr new file mode 100644 index 0000000..9fe3528 --- /dev/null +++ b/InstallAware/Any CPU/Marquee.mpr @@ -0,0 +1,360 @@ +Marquee.mia +prereq.dfm +prereq.dfm.miaf +componentstree.dfm +componentstree.dfm.miaf +wizard.dfm +wizard.dfm.miaf +welcome.dfm +welcome.dfm.miaf +startmenu.dfm +startmenu.dfm.miaf +setuptype.dfm +setuptype.dfm.miaf +registrationwithserial.dfm +registrationwithserial.dfm.miaf +registration.dfm +registration.dfm.miaf +readme.dfm +readme.dfm.miaf +startinstallation.dfm +startinstallation.dfm.miaf +progressprereq.dfm +progressprereq.dfm.miaf +destination.dfm +destination.dfm.miaf +finish.dfm +finish.dfm.miaf +licensecheck.dfm +licensecheck.dfm.miaf +maintenance.dfm +maintenance.dfm.miaf +progress.dfm +progress.dfm.miaf +$ +$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +$ +$ +0 +6 +TRUE + +Steven +Marquee +{af24d06e-24ce-49fa-b82d-75a7063cd526} +{dc37874f-a391-418d-bc80-debf5e294f9a} +1.0.0.0 +English +Marquee +Marquee +Steven +Marquee +{da54f922-87d8-4c39-aca4-eb700242f933} +Steven +Steven +http://www.mywebsite.com +http://www.mywebsite.com +All Rights Reserved +FALSE + +TRUE +FALSE + + + + +UAC=highestAvailable +$ +$ + + + +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE +FALSE + +$ +FALSE + +FALSE +FALSE +FALSE +FALSE diff --git a/InstallAware/Any CPU/componentstree.dfm b/InstallAware/Any CPU/componentstree.dfm new file mode 100644 index 0000000..9a972f0 Binary files /dev/null and b/InstallAware/Any CPU/componentstree.dfm differ diff --git a/InstallAware/Any CPU/componentstree.dfm.miaf b/InstallAware/Any CPU/componentstree.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/componentstree.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/destination.dfm b/InstallAware/Any CPU/destination.dfm new file mode 100644 index 0000000..a974778 Binary files /dev/null and b/InstallAware/Any CPU/destination.dfm differ diff --git a/InstallAware/Any CPU/destination.dfm.miaf b/InstallAware/Any CPU/destination.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/destination.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/finish.dfm b/InstallAware/Any CPU/finish.dfm new file mode 100644 index 0000000..a410192 Binary files /dev/null and b/InstallAware/Any CPU/finish.dfm differ diff --git a/InstallAware/Any CPU/finish.dfm.miaf b/InstallAware/Any CPU/finish.dfm.miaf new file mode 100644 index 0000000..d819140 --- /dev/null +++ b/InstallAware/Any CPU/finish.dfm.miaf @@ -0,0 +1,28 @@ +IF (checkSuccess.Caption = COMPLETE) THEN textComplete.Visible := True; +IF (checkSuccess.Caption = REBOOT) THEN textReboot.Visible := True; +IF (checkSuccess.Caption = CANCEL) THEN textCancelled.Visible := True; +IF (checkSuccess.Caption = ERROR) THEN textError.Visible := True; +IF (checkSuccess.Caption = COMPLETE) THEN RunNow.Visible := True; +IF (checkRemove.Caption = TRUE) THEN textRemove.Visible := True; +IF (checkSuccess.Caption = REBOOT) THEN RebootNow.Visible := True; +IF (checkSuccess.Caption <> COMPLETE) THEN textComplete.Visible := False; +IF (checkSuccess.Caption <> REBOOT) THEN textReboot.Visible := False; +IF (checkSuccess.Caption <> CANCEL) THEN textCancelled.Visible := False; +IF (checkSuccess.Caption <> ERROR) THEN textError.Visible := False; +IF (checkSuccess.Caption <> COMPLETE) THEN RunNow.Visible := False; +IF (checkRemove.Caption <> TRUE) THEN textRemove.Visible := False; +IF (checkRemove.Caption = TRUE) THEN textComplete.Visible := False; +IF (checkRemove.Caption = TRUE) THEN RunNow.Visible := False; +IF (checkSuccess.Caption = CANCEL) THEN textRemove.Visible := False; +IF (checkSuccess.Caption <> REBOOT) THEN RebootNow.Visible := False; +IF (textReboot.Visible = True) THEN textRemove.Visible := false; +IF (textComplete.Visible = True) THEN textRemove.Visible := false; +IF (textError.Visible = True) THEN textRemove.Visible := false; +IF (textCancelled.Visible = True) THEN textRemove.Visible := false; +IF (checkSuccess.Caption = ERROR) THEN textRemove.Visible := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/licensecheck.dfm b/InstallAware/Any CPU/licensecheck.dfm new file mode 100644 index 0000000..57768b9 Binary files /dev/null and b/InstallAware/Any CPU/licensecheck.dfm differ diff --git a/InstallAware/Any CPU/licensecheck.dfm.miaf b/InstallAware/Any CPU/licensecheck.dfm.miaf new file mode 100644 index 0000000..1b0daee --- /dev/null +++ b/InstallAware/Any CPU/licensecheck.dfm.miaf @@ -0,0 +1,8 @@ +IF (LicenseCheck.Checked = True) THEN Next.Enabled := True; +IF (LicenseCheck.Checked = False) THEN Next.Enabled := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/mMSIExec.dll b/InstallAware/Any CPU/mMSIExec.dll new file mode 100644 index 0000000..57178a0 Binary files /dev/null and b/InstallAware/Any CPU/mMSIExec.dll differ diff --git a/InstallAware/Any CPU/maintenance.dfm b/InstallAware/Any CPU/maintenance.dfm new file mode 100644 index 0000000..783116a Binary files /dev/null and b/InstallAware/Any CPU/maintenance.dfm differ diff --git a/InstallAware/Any CPU/maintenance.dfm.miaf b/InstallAware/Any CPU/maintenance.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/maintenance.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/prereq.dfm b/InstallAware/Any CPU/prereq.dfm new file mode 100644 index 0000000..3a65d52 Binary files /dev/null and b/InstallAware/Any CPU/prereq.dfm differ diff --git a/InstallAware/Any CPU/prereq.dfm.miaf b/InstallAware/Any CPU/prereq.dfm.miaf new file mode 100644 index 0000000..cc55441 --- /dev/null +++ b/InstallAware/Any CPU/prereq.dfm.miaf @@ -0,0 +1,12 @@ +IF (checkWINST.Caption <> TRUE) THEN WINST.Visible := True; +IF (checkJS.Caption <> TRUE) THEN JS.Visible := True; +IF (checkDotNET.Caption <> TRUE) THEN dotNET.Visible := True; +IF (checkWINST.Caption = TRUE) THEN WINST.Visible := False; +IF (checkDotNET.Caption = TRUE) THEN dotNET.Visible := False; +IF (checkJS.Caption = TRUE) THEN JS.Visible := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/progress.dfm b/InstallAware/Any CPU/progress.dfm new file mode 100644 index 0000000..bbefa45 Binary files /dev/null and b/InstallAware/Any CPU/progress.dfm differ diff --git a/InstallAware/Any CPU/progress.dfm.miaf b/InstallAware/Any CPU/progress.dfm.miaf new file mode 100644 index 0000000..6bd21b4 --- /dev/null +++ b/InstallAware/Any CPU/progress.dfm.miaf @@ -0,0 +1,10 @@ +IF (TestRemove.Caption <> TRUE) THEN CaptionInstall.Visible := True; +IF (TestRemove.Caption = TRUE) THEN CaptionUninstall.Visible := True; +IF (TestRemove.Caption <> TRUE) THEN CaptionUninstall.Visible := False; +IF (TestRemove.Caption = TRUE) THEN CaptionInstall.Visible := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/progressprereq.dfm b/InstallAware/Any CPU/progressprereq.dfm new file mode 100644 index 0000000..8487b1b Binary files /dev/null and b/InstallAware/Any CPU/progressprereq.dfm differ diff --git a/InstallAware/Any CPU/progressprereq.dfm.miaf b/InstallAware/Any CPU/progressprereq.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/progressprereq.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/readme.dfm b/InstallAware/Any CPU/readme.dfm new file mode 100644 index 0000000..4bfb889 Binary files /dev/null and b/InstallAware/Any CPU/readme.dfm differ diff --git a/InstallAware/Any CPU/readme.dfm.miaf b/InstallAware/Any CPU/readme.dfm.miaf new file mode 100644 index 0000000..1b0daee --- /dev/null +++ b/InstallAware/Any CPU/readme.dfm.miaf @@ -0,0 +1,8 @@ +IF (LicenseCheck.Checked = True) THEN Next.Enabled := True; +IF (LicenseCheck.Checked = False) THEN Next.Enabled := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/registration.dfm b/InstallAware/Any CPU/registration.dfm new file mode 100644 index 0000000..7611d5c Binary files /dev/null and b/InstallAware/Any CPU/registration.dfm differ diff --git a/InstallAware/Any CPU/registration.dfm.miaf b/InstallAware/Any CPU/registration.dfm.miaf new file mode 100644 index 0000000..2929c93 --- /dev/null +++ b/InstallAware/Any CPU/registration.dfm.miaf @@ -0,0 +1,10 @@ +IF (Name.Text <> ) THEN Next.Enabled := True; +IF (Company.Text <> ) THEN Next.Enabled := True; +IF (Name.Text = ) THEN Next.Enabled := False; +IF (Company.Text = ) THEN Next.Enabled := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/registrationwithserial.dfm b/InstallAware/Any CPU/registrationwithserial.dfm new file mode 100644 index 0000000..57f92c5 Binary files /dev/null and b/InstallAware/Any CPU/registrationwithserial.dfm differ diff --git a/InstallAware/Any CPU/registrationwithserial.dfm.miaf b/InstallAware/Any CPU/registrationwithserial.dfm.miaf new file mode 100644 index 0000000..24526ff --- /dev/null +++ b/InstallAware/Any CPU/registrationwithserial.dfm.miaf @@ -0,0 +1,20 @@ +IF (Name.Text <> ) THEN Next.Enabled := True; +IF (Company.Text <> ) THEN Next.Enabled := True; +IF (Serial1.Text <> ) THEN Next.Enabled := True; +IF (Serial2.Text <> ) THEN Next.Enabled := True; +IF (Serial3.Text <> ) THEN Next.Enabled := True; +IF (Serial4.Text <> ) THEN Next.Enabled := True; +IF (Serial5.Text <> ) THEN Next.Enabled := True; +IF (Name.Text = ) THEN Next.Enabled := False; +IF (Company.Text = ) THEN Next.Enabled := False; +IF (Serial1.Text = ) THEN Next.Enabled := False; +IF (Serial2.Text = ) THEN Next.Enabled := False; +IF (Serial3.Text = ) THEN Next.Enabled := False; +IF (Serial4.Text = ) THEN Next.Enabled := False; +IF (Serial5.Text = ) THEN Next.Enabled := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/setuptype.dfm b/InstallAware/Any CPU/setuptype.dfm new file mode 100644 index 0000000..1b6b4eb Binary files /dev/null and b/InstallAware/Any CPU/setuptype.dfm differ diff --git a/InstallAware/Any CPU/setuptype.dfm.miaf b/InstallAware/Any CPU/setuptype.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/setuptype.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/startinstallation.dfm b/InstallAware/Any CPU/startinstallation.dfm new file mode 100644 index 0000000..b34ed36 Binary files /dev/null and b/InstallAware/Any CPU/startinstallation.dfm differ diff --git a/InstallAware/Any CPU/startinstallation.dfm.miaf b/InstallAware/Any CPU/startinstallation.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/startinstallation.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/startmenu.dfm b/InstallAware/Any CPU/startmenu.dfm new file mode 100644 index 0000000..b39ceac Binary files /dev/null and b/InstallAware/Any CPU/startmenu.dfm differ diff --git a/InstallAware/Any CPU/startmenu.dfm.miaf b/InstallAware/Any CPU/startmenu.dfm.miaf new file mode 100644 index 0000000..b139d2b --- /dev/null +++ b/InstallAware/Any CPU/startmenu.dfm.miaf @@ -0,0 +1,10 @@ +IF (MenuGroup.Text <> ) THEN Next.Enabled := True; +IF (MenuGroup.Text = ) THEN Next.Enabled := False; +IF (ISNT.Caption = TRUE) THEN AllUsers.Enabled := True; +IF (ISNT.Caption <> TRUE) THEN AllUsers.Enabled := False; +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/welcome.dfm b/InstallAware/Any CPU/welcome.dfm new file mode 100644 index 0000000..ee1b25d Binary files /dev/null and b/InstallAware/Any CPU/welcome.dfm differ diff --git a/InstallAware/Any CPU/welcome.dfm.miaf b/InstallAware/Any CPU/welcome.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/welcome.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Any CPU/wizard.dfm b/InstallAware/Any CPU/wizard.dfm new file mode 100644 index 0000000..4e25de9 Binary files /dev/null and b/InstallAware/Any CPU/wizard.dfm differ diff --git a/InstallAware/Any CPU/wizard.dfm.miaf b/InstallAware/Any CPU/wizard.dfm.miaf new file mode 100644 index 0000000..d2b5a00 --- /dev/null +++ b/InstallAware/Any CPU/wizard.dfm.miaf @@ -0,0 +1,6 @@ +IF (Glass.Caption <> TRUE) THEN Separator.Visible := True; +IF (Glass.Caption <> TRUE) THEN InstallAware.Visible := True; +IF (Glass.Caption = TRUE) THEN Install.Visible := True; +IF (Glass.Caption = TRUE) THEN Separator.Visible := False; +IF (Glass.Caption = TRUE) THEN InstallAware.Visible := False; +IF (Glass.Caption <> TRUE) THEN Install.Visible := False; diff --git a/InstallAware/Marquee_Any CPU.iaext.prjconf b/InstallAware/Marquee_Any CPU.iaext.prjconf new file mode 100644 index 0000000..41d72e2 --- /dev/null +++ b/InstallAware/Marquee_Any CPU.iaext.prjconf @@ -0,0 +1,75 @@ + + + + Steven + Marquee + 1.0.0.0 + {af24d06e-24ce-49fa-b82d-75a7063cd526} + {dc37874f-a391-418d-bc80-debf5e294f9a} + 0 + English + + + Marquee + Marquee + Steven + Marquee + {da54f922-87d8-4c39-aca4-eb700242f933} + highestAvailable + + + Steven + Steven + http://www.mywebsite.com + http://www.mywebsite.com + All Rights Reserved + + + + 0 + 1 + 0 + + + + + + 0 + False + 1 + + + + + + + + + Official + + + 0 + 0 + + + + + + + + + 0 + + + 6 + 0 + + + + 0 + + + 0 + 1 + + \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/MainViewModel.cs b/MainViewModel.cs new file mode 100644 index 0000000..0cf3f16 --- /dev/null +++ b/MainViewModel.cs @@ -0,0 +1,160 @@ +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.IO; +using System.Linq; +using System; +using System.Collections.Generic; +using System.Windows.Controls; + +public class MainViewModel : INotifyPropertyChanged +{ + private string _selectedMarquee1Item; + private string _selectedMarquee2Item; + private string _textBoxForMarquee2; + + public ObservableCollection Marquee1Items { get; set; } + public ObservableCollection Marquee2Items { get; set; } + public Dictionary RoomDictionary { get; private set; } + + public string SelectedMarquee1Item + { + get => _selectedMarquee1Item; + set + { + if (_selectedMarquee1Item != value) + { + _selectedMarquee1Item = value; + OnPropertyChanged(); + UpdateTextBox1(); + } + } + } + + public string SelectedMarquee2Item + { + get => _selectedMarquee2Item; + set + { + if (_selectedMarquee2Item != value) + { + _selectedMarquee2Item = value; + TextBoxForMarquee2 = value; // 更新 TextBoxForMarquee2 + OnPropertyChanged(); + UpdateTextBox1(); + } + } + } + + public string TextBoxForMarquee2 + { + get => _textBoxForMarquee2; + set + { + if (_textBoxForMarquee2 != value) + { + _textBoxForMarquee2 = value; + OnPropertyChanged(); + UpdateTextBox1(); + } + } + } + + private string _textBox1; + public string TextBox1 + { + get => _textBox1; + set + { + if (_textBox1 != value) + { + _textBox1 = value; + OnPropertyChanged(); + } + } + } + + private string _textBox2; + public string TextBox2 + { + get => _textBox2; + set + { + if (_textBox2 != value) + { + _textBox2 = value; + OnPropertyChanged(); + } + } + } + + public MainViewModel() + { + Marquee1Items = new ObservableCollection(File.ReadAllLines(@"txt\marquee1_items.txt")); + Marquee2Items = new ObservableCollection(File.ReadAllLines(@"txt\marquee2_items.txt")); + RoomDictionary = new Dictionary(); + LoadRoomNumbers(); + } + + private void LoadRoomNumbers() + { + try + { + string filePath = @"txt\room.txt"; + string[] lines = File.ReadAllLines(filePath); + + // 添加 "全部" 選項 + RoomDictionary.Add("全部", "全部"); + + foreach (string line in lines) + { + string[] parts = line.Split(';'); + if (parts.Length > 1) + { + string[] roomNumbers = parts[1].Split(','); + foreach (string room in roomNumbers) + { + // 保留完整的主機名 + string shortRoomNumber = room.Substring(room.Length - 3); + RoomDictionary.Add(shortRoomNumber, room); + } + } + } + } + catch (Exception ex) + { + Console.WriteLine("Error reading file: " + ex.Message); + } + } + + private void UpdateTextBox1() + { + TextBox1 = $"{SelectedMarquee1Item ?? ""} {(string.IsNullOrEmpty(TextBoxForMarquee2) ? "" : " " + TextBoxForMarquee2 + " ")} {SelectedMarquee2Item ?? ""}"; + + // 更新 TextBox2 (第二行) + UpdateTextBox2(); + } + + private void UpdateTextBox2() + { + // 假設第二行的文字依賴於第一行 + // 你可以根據你的具體需求來設計這段邏輯 + TextBox2 = $"{SelectedMarquee2Item ?? ""}"; + } + + public event PropertyChangedEventHandler PropertyChanged; + + public void OnPropertyChanged([CallerMemberName] string name = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); + } +} + +public class RoomState +{ + public string PcName { get; set; } + public string RoomNumber { get; set; } + public string Status { get; set; } + public string Time { get; set; } + public string ServiceStatus { get; set; } +} diff --git a/MainWindow.xaml b/MainWindow.xaml new file mode 100644 index 0000000..0c14f38 --- /dev/null +++ b/MainWindow.xaml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs new file mode 100644 index 0000000..9f07260 --- /dev/null +++ b/MainWindow.xaml.cs @@ -0,0 +1,472 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.IO; +using System.Net.Sockets; +using System.Runtime.InteropServices; + +namespace Marquee +{ + /// + /// MainWindow.xaml 的互動邏輯 + /// + public partial class MainWindow : Window + { + [DllImport("kernel32.dll")] + [return: MarshalAs(UnmanagedType.Bool)] + static extern bool AllocConsole(); + + private MainViewModel _viewModel; + + public MainWindow() + { + InitializeComponent(); + AllocConsole(); // 啟用控制台 + Console.WriteLine("應用程式啟動"); + _viewModel = new MainViewModel(); + DataContext = _viewModel; + LoadRoomNumbers(); + Console.WriteLine("初始化完成"); + } + + private void LoadRoomNumbers() + { + Console.WriteLine("開始載入房間號碼"); + foreach (var room in _viewModel.RoomDictionary.Keys) + { + RoomNumbersComboBox.Items.Add(room); + Console.WriteLine($"已添加房間: {room}"); + } + Console.WriteLine("房間號碼載入完成"); + } + + private void MainWindow_Loaded(object sender, RoutedEventArgs e) + { + Console.WriteLine("TextBox1 Width: {0}", TextBox1.ActualWidth); + } + + private void UpdateTextBox1() + { + string part1 = Marquee1ComboBox.SelectedItem?.ToString() ?? ""; + string middle = TextBox3.Text.Trim(); + string part3 = Marquee2ComboBox.SelectedItem?.ToString() ?? ""; + + TextBox1.Text = part1 + (string.IsNullOrEmpty(middle) ? "" : " " + middle + " ") + part3; + } + + private void MarqueeComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + UpdateTextBox1(); // 更新 TextBox1 使用來自 ComboBox 和 TextBox3 的值 + } + + private void TextBox3_TextChanged(object sender, TextChangedEventArgs e) + { + UpdateTextBox1(); // 這同樣更新 TextBox1 當 TextBox3 的內容改變時 + } + + private void TextBox1_TextChanged(object sender, TextChangedEventArgs e) + { + TextBox textBox = sender as TextBox; + double maxWidth = 480; // TextBox1的实际宽度 + + double pixelsPerDip = VisualTreeHelper.GetDpi(this).PixelsPerDip; + + // 创建FormattedText以计算文本宽度 + FormattedText formattedText = new FormattedText( + textBox.Text, + System.Globalization.CultureInfo.CurrentCulture, + FlowDirection.LeftToRight, + new Typeface(textBox.FontFamily, textBox.FontStyle, textBox.FontWeight, textBox.FontStretch), + textBox.FontSize, + Brushes.Black, + new NumberSubstitution(), + TextFormattingMode.Display, + pixelsPerDip); // 加入PixelsPerDip参数 + + // 检查文本渲染宽度是否超出TextBox的宽度 + if (formattedText.Width > maxWidth) + { + // 找到能够在TextBox1中完全显示的最大文本长度 + int maxFittingLength = 0; + for (int i = 1; i <= textBox.Text.Length; i++) + { + formattedText = new FormattedText( + textBox.Text.Substring(0, i), + System.Globalization.CultureInfo.CurrentCulture, + FlowDirection.LeftToRight, + new Typeface(textBox.FontFamily, textBox.FontStyle, textBox.FontWeight, textBox.FontStretch), + textBox.FontSize, + Brushes.Black, + new NumberSubstitution(), + TextFormattingMode.Display, + pixelsPerDip); // 加入PixelsPerDip参数 + + if (formattedText.Width > maxWidth) + { + maxFittingLength = i - 1; + break; + } + } + + // 分割文本 + if (maxFittingLength > 0) + { + TextBox2.Text = textBox.Text.Substring(maxFittingLength); + textBox.Text = textBox.Text.Substring(0, maxFittingLength); + } + else + { + // 如果maxFittingLength為0,清空TextBox2 + TextBox2.Text = string.Empty; + } + } + } + + private async void SendAnnouncement_Click(object sender, RoutedEventArgs e) + { + Console.WriteLine("Triggered Send Announcement"); + + string marquee1Content = Marquee1ComboBox.SelectedItem?.ToString() ?? ""; + string marquee2Content = Marquee2ComboBox.SelectedItem?.ToString() ?? ""; + string announcement = $"{marquee1Content} {TextBox3.Text.Trim()} {marquee2Content}"; + + if (string.IsNullOrWhiteSpace(announcement)) + { + System.Windows.MessageBox.Show("公告内容不能為空!"); + return; + } + + List hostNames = new List(); + string selectedRoom = RoomNumbersComboBox.SelectedItem?.ToString(); + + if (!string.IsNullOrEmpty(selectedRoom)) + { + if (selectedRoom == "全部") + { + // 獲取所有已占用的房間 + var activeRooms = GetActiveRooms() + .Where(r => r.Status == "已占用") + .Select(r => r.PcName) + .ToList(); + + if (activeRooms.Any()) + { + hostNames.AddRange(activeRooms); + } + else + { + System.Windows.MessageBox.Show("沒有找到任何已占用的房間!"); + return; + } + } + else if (_viewModel.RoomDictionary.ContainsKey(selectedRoom)) + { + hostNames.Add(_viewModel.RoomDictionary[selectedRoom]); + } + } + else + { + System.Windows.MessageBox.Show("請選擇一個有效的房間號碼!"); + return; + } + + await Task.Run(async () => + { + foreach (var hostName in hostNames) + { + await SendAnnouncementAsync(hostName, announcement); + } + }).ConfigureAwait(false); + } + + private List GetActiveRooms() + { + Console.WriteLine("開始讀取活動房間狀態"); + List roomStates = new List(); + string filePath = @"C:\KTVAPP\roomstates.txt"; + + try + { + if (File.Exists(filePath)) + { + string[] lines = File.ReadAllLines(filePath); + Console.WriteLine($"找到 {lines.Length} 條房間記錄"); + foreach (string line in lines) + { + string[] parts = line.Split(';'); + if (parts.Length >= 5) + { + var roomState = new RoomState + { + PcName = parts[0], + RoomNumber = parts[1], + Status = parts[2], + Time = parts[3], + ServiceStatus = parts[4] + }; + roomStates.Add(roomState); + Console.WriteLine($"房間: {roomState.RoomNumber}, 狀態: {roomState.Status}, PC: {roomState.PcName}"); + } + } + } + else + { + Console.WriteLine($"找不到房間狀態文件: {filePath}"); + LogToFile($"房間狀態文件不存在: {filePath}"); + System.Windows.MessageBox.Show("找不到房間狀態文件!"); + } + } + catch (Exception ex) + { + Console.WriteLine($"讀取房間狀態文件失敗: {ex.Message}"); + LogToFile($"讀取房間狀態文件失敗: {ex.Message}"); + System.Windows.MessageBox.Show($"讀取房間狀態文件時發生錯誤:{ex.Message}"); + } + + Console.WriteLine($"總共找到 {roomStates.Count} 個房間,其中已占用的房間數: {roomStates.Count(r => r.Status == "已占用")}"); + return roomStates; + } + + private const int MaxSendAttempts = 3; // Maximum number of send attempts + private const int DelayBetweenSendAttempts = 1000; // Delay between send attempts in milliseconds + + private async Task SendAnnouncementAsync(string hostname, string message) + { + int attemptCount = 0; + bool messageSent = false; + Exception lastException = null; + + Console.WriteLine($"開始向 {hostname} 發送消息"); + + while (attemptCount < MaxSendAttempts && !messageSent) + { + try + { + using (TcpClient client = new TcpClient()) + { + Console.WriteLine($"嘗試連接到 {hostname}... (第 {attemptCount + 1} 次嘗試)"); + await client.ConnectAsync(hostname, 1000).ConfigureAwait(false); + using (NetworkStream stream = client.GetStream()) + { + byte[] data = Encoding.UTF8.GetBytes(message + "\r\n"); + await stream.WriteAsync(data, 0, data.Length).ConfigureAwait(false); + Console.WriteLine($"成功發送消息到 {hostname}"); + await Application.Current.Dispatcher.InvokeAsync(() => + System.Windows.MessageBox.Show($"成功發送消息到 {hostname}")); + messageSent = true; + } + } + } + catch (Exception ex) + { + Console.WriteLine($"發送失敗 (第 {attemptCount + 1} 次嘗試): {ex.Message}"); + LogToFile($"Error on send attempt {attemptCount + 1}: {ex.Message}"); + lastException = ex; + } + + attemptCount++; + if (!messageSent && attemptCount < MaxSendAttempts) + { + Console.WriteLine($"等待 {DelayBetweenSendAttempts}ms 後重試..."); + await Task.Delay(DelayBetweenSendAttempts).ConfigureAwait(false); + } + } + + if (!messageSent) + { + Console.WriteLine($"發送失敗,已達到最大重試次數 ({MaxSendAttempts})"); + LogToFile($"Failed to send the announcement after multiple attempts. Last error: {lastException?.Message}"); + } + } + + private void LogToFile(string message) + { + string logFilePath = "log.txt"; // 设定日志文件的路径 + string logMessage = $"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")} - {message}\r\n"; + + // 使用 File.AppendAllText 异步写入日志信息,它会自动创建文件(如果文件不存在的话) + File.AppendAllText(logFilePath, logMessage); + } + + private void ToggleVisibility(object sender, RoutedEventArgs e) + { + if (SettingsGroupBox.Visibility == Visibility.Collapsed) + { + SettingsGroupBox.Visibility = Visibility.Visible; + this.Height = 660; // 調整窗口高度以容納GroupBox + } + else + { + SettingsGroupBox.Visibility = Visibility.Collapsed; + this.Height = 420; // 調整窗口高度回到較小尺寸 + + // 清空 ComboBox 的選擇 + EditMarquee1ComboBox.SelectedItem = null; + EditMarquee2ComboBox.SelectedItem = null; + + // 清空 TextBox 的文字 + TextBoxForMarquee1.Text = ""; + TextBoxForMarquee2.Text = ""; + } + } + private void EditMarquee1ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + // 確認是否有選中的項目 + if (EditMarquee1ComboBox.SelectedItem != null) + { + TextBoxForMarquee1.Text = EditMarquee1ComboBox.SelectedItem.ToString(); + } + } + private void DeleteMarquee1Button_Click(object sender, RoutedEventArgs e) + { + if (EditMarquee1ComboBox.SelectedItem != null) + { + var itemToRemove = EditMarquee1ComboBox.SelectedItem.ToString(); + + // 直接操作绑定的数据源 + ((ObservableCollection)EditMarquee1ComboBox.ItemsSource).Remove(itemToRemove); + + // 清空相应的 TextBox 内容 + TextBoxForMarquee1.Clear(); + + // 从文件中移除 + RemoveItemFromMarqueeFile(itemToRemove, @"txt\marquee1_items.txt"); + } + } + + // 處理新增按鈕點擊事件 + private void AddMarquee1Button_Click(object sender, RoutedEventArgs e) + { + var newItem = TextBoxForMarquee1.Text; + + if (!string.IsNullOrEmpty(newItem)) + { + var items = (ObservableCollection)EditMarquee1ComboBox.ItemsSource; + + if (!items.Contains(newItem)) + { + items.Add(newItem); + + // 添加到文件 + AddItemToMarqueeFile(newItem, @"txt\marquee1_items.txt"); + } + } + } + + private void EditMarquee2ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + var viewModel = (MainViewModel)DataContext; + if (EditMarquee2ComboBox.SelectedItem != null && viewModel.SelectedMarquee2Item != EditMarquee2ComboBox.SelectedItem.ToString()) + { + viewModel.SelectedMarquee2Item = EditMarquee2ComboBox.SelectedItem.ToString(); + } + } + + private void DeleteMarquee2Button_Click(object sender, RoutedEventArgs e) + { + if (EditMarquee2ComboBox.SelectedItem != null) + { + var itemToRemove = EditMarquee2ComboBox.SelectedItem.ToString(); + + // 直接操作绑定的数据源 + ((ObservableCollection)EditMarquee2ComboBox.ItemsSource).Remove(itemToRemove); + + // 清空相应的 TextBox 内容 + TextBoxForMarquee2.Clear(); + + // 从文件中移除 + RemoveItemFromMarqueeFile(itemToRemove, @"txt\marquee2_items.txt"); + } + } + + private void TextBoxForMarquee2_TextChanged(object sender, TextChangedEventArgs e) + { + var viewModel = (MainViewModel)DataContext; + var textBox = sender as TextBox; + //if (textBox != null && textBox.Text != viewModel.TextBoxForMarquee2) + if (textBox != null) + { + Console.WriteLine(textBox.Text); + // 更新 ViewModel 中的 TextBoxForMarquee2 属性 + if (viewModel.TextBoxForMarquee2 != textBox.Text) + { + viewModel.TextBoxForMarquee2 = textBox.Text; + Console.WriteLine("TextBoxForMarquee2 Updated: " + textBox.Text); + viewModel.OnPropertyChanged(nameof(viewModel.TextBoxForMarquee2)); // 手动触发 PropertyChanged + } + + // 更新 ComboBox 的 SelectedItem + if (viewModel.SelectedMarquee2Item != textBox.Text) + { + viewModel.SelectedMarquee2Item = textBox.Text; + Console.WriteLine("SelectedMarquee2Item Updated: " + textBox.Text); + viewModel.OnPropertyChanged(nameof(viewModel.SelectedMarquee2Item)); // 手动触发 PropertyChanged + } + } + else + { + Console.WriteLine("TextBox is null"); // 确认 sender 被正确转换 + } + } + + private void RemoveItemFromMarqueeFile(string item, string filePath) + { + var lines = File.ReadAllLines(filePath).ToList(); + bool itemFound = false; + + for (int i = 0; i < lines.Count; i++) + { + if (lines[i].Contains(item)) + { + lines.RemoveAt(i); // 删除整行 + itemFound = true; + break; // 假设每个项目只出现一次,找到即删除 + } + } + + if (itemFound) + { + File.WriteAllLines(filePath, lines); + } + } + + // 處理新增按鈕點擊事件 + private void AddMarquee2Button_Click(object sender, RoutedEventArgs e) + { + var newItem = TextBoxForMarquee2.Text; + + if (!string.IsNullOrEmpty(newItem)) + { + var items = (ObservableCollection)EditMarquee2ComboBox.ItemsSource; + + if (!items.Contains(newItem)) + { + items.Add(newItem); + + // 添加到文件 + AddItemToMarqueeFile(newItem, @"txt\marquee2_items.txt"); + } + } + } + + private void AddItemToMarqueeFile(string item, string filePath) + { + using (StreamWriter sw = File.AppendText(filePath)) + { + sw.WriteLine(item); + } + } + } +} diff --git a/Marquee.csproj b/Marquee.csproj new file mode 100644 index 0000000..b9df55f --- /dev/null +++ b/Marquee.csproj @@ -0,0 +1,100 @@ + + + + + Debug + AnyCPU + {B7DB82CA-58BF-4030-82DF-F0682807B915} + WinExe + Marquee + Marquee + v4.8 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file diff --git a/Marquee.sln b/Marquee.sln new file mode 100644 index 0000000..6a9f7fa --- /dev/null +++ b/Marquee.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34728.123 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Marquee", "Marquee.csproj", "{B7DB82CA-58BF-4030-82DF-F0682807B915}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B7DB82CA-58BF-4030-82DF-F0682807B915}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B7DB82CA-58BF-4030-82DF-F0682807B915}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7DB82CA-58BF-4030-82DF-F0682807B915}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B7DB82CA-58BF-4030-82DF-F0682807B915}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {04E2BBDF-5EA2-4A67-B3B3-548FDC1612D7} + EndGlobalSection +EndGlobal diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..39336c8 --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// 組件的一般資訊是由下列的屬性集控制。 +// 變更這些屬性的值即可修改組件的相關 +// 資訊。 +[assembly: AssemblyTitle("Marquee")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Marquee")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 將 ComVisible 設為 false 可對 COM 元件隱藏 +// 組件中的類型。若必須從 COM 存取此組件中的類型, +// 的類型,請在該類型上將 ComVisible 屬性設定為 true。 +[assembly: ComVisible(false)] + +//若要開始建置可當地語系化的應用程式,請在 +//.csproj 檔案中的 CultureYouAreCodingWith +//在 中。例如,如果原始程式檔使用美式英文, +//請將 設為 en-US。然後取消註解下列 +//NeutralResourceLanguage 屬性。在下一行中更新 "en-US", +//以符合專案檔中的 UICulture 設定。 + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //主題特定資源字典的位置 + //(在頁面中找不到時使用, + // 或應用程式資源字典中找不到資源時) + ResourceDictionaryLocation.SourceAssembly //泛型資源字典的位置 + //(在頁面中找不到時使用, + // 或是應用程式或任何主題特定資源字典中找不到資源時) +)] + + +// 組件的版本資訊由下列四個值所組成: +// +// 主要版本 +// 次要版本 +// 組建編號 +// 修訂 +// +// 您可以指定所有的值,也可以使用 '*' 將組建和修訂編號 +// 設為預設,如下所示: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 0000000..79a59e0 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.42000 +// +// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, +// 變更將會遺失。 +// +//------------------------------------------------------------------------------ + +namespace Marquee.Properties { + using System; + + + /// + /// 用於查詢當地語系化字串等的強類型資源類別。 + /// + // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder + // 類別透過 ResGen 或 Visual Studio 這類工具。 + // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen + // (利用 /str 選項),或重建您的 VS 專案。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Marquee.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 + /// 使用這個強類型資源類別的資源查閱。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c6cbd82 --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.42000 +// +// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, +// 變更將會遺失。 +// +//------------------------------------------------------------------------------ + +namespace Marquee.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.11.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file