/trunk/FastPHP.iss |
---|
42,6 → 42,8 |
Name: fileassocBrowser; Description: "{cm:AssocFileExtension,'FastPHP Browser','.xphp'}"; GroupDescription: "{cm:Assoc}"; Components: browser |
[Files] |
Source: "Icons\Icons.dll"; DestDir: "{app}"; Flags: ignoreversion |
Source: "FastPHPEditor.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: editor |
Source: "codeexplorer.bmp"; DestDir: "{app}"; Flags: ignoreversion; Components: editor |
Source: "codeexplorer.php"; DestDir: "{app}"; Flags: ignoreversion; Components: editor |
64,7 → 66,7 |
Root: HKCR; Subkey: ".php"; ValueData: "FastPHPScript"; ValueType: string; ValueName: ""; Flags: uninsdeletevalue; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: ".phps"; ValueData: "FastPHPScript"; ValueType: string; ValueName: ""; Flags: uninsdeletevalue; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: "FastPHPScript"; ValueData: "PHP script"; ValueType: string; ValueName: ""; Flags: uninsdeletekey; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: "FastPHPScript\DefaultIcon"; ValueData: "{app}\FastPHPEditor.exe"; ValueType: string; ValueName: ""; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: "FastPHPScript\DefaultIcon"; ValueData: "{app}\Icons.dll,0"; ValueType: string; ValueName: ""; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: "FastPHPScript\shell\open\command"; ValueData: """{app}\FastPHPEditor.exe"" ""%1"""; ValueType: string; ValueName: ""; Components: editor; Tasks: fileassocEditor |
Root: HKCR; Subkey: ".php\ShellNew"; ValueData: "PHP script"; ValueType: string; ValueName: "ItemName"; Components: editor; Tasks: fileassocEditor |
72,7 → 74,7 |
Root: HKCR; Subkey: ".xphp"; ValueData: "FastPHPExecutableScript"; ValueType: string; ValueName: ""; Flags: uninsdeletevalue; Components: browser; Tasks: fileassocBrowser |
Root: HKCR; Subkey: "FastPHPExecutableScript"; ValueData: "Executable PHP application"; ValueType: string; ValueName: ""; Flags: uninsdeletekey; Components: browser; Tasks: fileassocBrowser |
Root: HKCR; Subkey: "FastPHPExecutableScript\DefaultIcon"; ValueData: "{app}\FastPHPEditor.exe"; ValueType: string; ValueName: ""; Components: browser; Tasks: fileassocBrowser |
Root: HKCR; Subkey: "FastPHPExecutableScript\DefaultIcon"; ValueData: "{app}\Icons.exe,1"; ValueType: string; ValueName: ""; Components: browser; Tasks: fileassocBrowser |
Root: HKCR; Subkey: "FastPHPExecutableScript\shell\open\command"; ValueData: """{app}\FastPHPBrowser.exe"" ""%1"""; ValueType: string; ValueName: ""; Components: browser; Tasks: fileassocBrowser |
Root: HKCR; Subkey: "FastPHPExecutableScript\shell\edit\command"; ValueData: """{app}\FastPHPEditor.exe"" ""%1"""; ValueType: string; ValueName: ""; Components: browser; Tasks: fileassocBrowser |
89,3 → 91,28 |
Result := False; |
end; |
end; |
function IsAnyComponentSelected: Boolean; |
var |
I: Integer; |
begin |
// Source: https://stackoverflow.com/questions/20691583/innosetup-if-no-components-are-selected-go-back-to-components-page |
Result := False; |
for I := 0 to WizardForm.ComponentsList.Items.Count - 1 do |
if WizardForm.ComponentsList.Checked[I] then |
begin |
Result := True; |
Exit; |
end; |
end; |
function NextButtonClick(PageID: Integer): Boolean; |
begin |
Result:= True; |
if PageID = wpSelectComponents then |
begin |
if not IsAnyComponentSelected then |
begin |
MsgBox('No items selected, please select at least one item', mbError, MB_OK); |
Result := False; |
end; |
end; |
end; |
/trunk/Icons/Icons.dll |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/Icons.dpr |
---|
0,0 → 1,6 |
library Icons; |
{$R ScriptIcons.res} |
begin |
end. |
/trunk/Icons/Icons.dproj |
---|
0,0 → 1,69 |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
<PropertyGroup> |
<ProjectGuid>{4f802eef-1edf-42a5-8e53-3040813568d0}</ProjectGuid> |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler> |
<DCC_DependencyCheckOutputName>Icons.dll</DCC_DependencyCheckOutputName> |
<MainSource>Icons.dpr</MainSource> |
</PropertyGroup> |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
<Version>7.0</Version> |
<DCC_DebugInformation>False</DCC_DebugInformation> |
<DCC_LocalDebugSymbols>False</DCC_LocalDebugSymbols> |
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo> |
<DCC_Define>RELEASE</DCC_Define> |
</PropertyGroup> |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
<Version>7.0</Version> |
<DCC_Define>DEBUG</DCC_Define> |
</PropertyGroup> |
<ProjectExtensions> |
<Borland.Personality>Delphi.Personality</Borland.Personality> |
<Borland.ProjectType /> |
<BorlandProject> |
<BorlandProject xmlns=""> <Delphi.Personality> <Parameters> |
<Parameters Name="UseLauncher">False</Parameters> |
<Parameters Name="LoadAllSymbols">True</Parameters> |
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters> |
</Parameters> |
<VersionInfo> |
<VersionInfo Name="IncludeVerInfo">False</VersionInfo> |
<VersionInfo Name="AutoIncBuild">False</VersionInfo> |
<VersionInfo Name="MajorVer">1</VersionInfo> |
<VersionInfo Name="MinorVer">0</VersionInfo> |
<VersionInfo Name="Release">0</VersionInfo> |
<VersionInfo Name="Build">0</VersionInfo> |
<VersionInfo Name="Debug">False</VersionInfo> |
<VersionInfo Name="PreRelease">False</VersionInfo> |
<VersionInfo Name="Special">False</VersionInfo> |
<VersionInfo Name="Private">False</VersionInfo> |
<VersionInfo Name="DLL">False</VersionInfo> |
<VersionInfo Name="Locale">1031</VersionInfo> |
<VersionInfo Name="CodePage">1252</VersionInfo> |
</VersionInfo> |
<VersionInfoKeys> |
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys> |
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys> |
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys> |
<VersionInfoKeys Name="InternalName"></VersionInfoKeys> |
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys> |
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys> |
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys> |
<VersionInfoKeys Name="ProductName"></VersionInfoKeys> |
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys> |
<VersionInfoKeys Name="Comments"></VersionInfoKeys> |
</VersionInfoKeys> |
<Source> |
<Source Name="MainSource">Icons.dpr</Source> |
</Source> |
</Delphi.Personality> </BorlandProject></BorlandProject> |
</ProjectExtensions> |
<ItemGroup /> |
<ItemGroup> |
<DelphiCompile Include="Icons.dpr"> |
<MainSource>MainSource</MainSource> |
</DelphiCompile> |
</ItemGroup> |
<Import Project="$(MSBuildBinPath)\Borland.Delphi.Targets" /> |
</Project> |
/trunk/Icons/Icons.res |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/0_red.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/1_red_gold.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/2_yellow.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/3_teal.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/4_green.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/5_darkblue.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons/6_violet.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/Icons/ScriptIcons.res |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |