{
"application": {
"single_instance_guid": "B0747924-46B9-4A9D-8F84-A64EF257FA3A",
"dpi_aware": true
},
"debugging": {
"show_console": true,
"subprocess_show_console": false,
"log_level": "DEBUG4",
"log_file": "debug.log"
},
"main_window": {
"title": "Anton Desktop Chrome",
"icon": "",
"default_size": [800, 600],
"minimum_size": [640, 480],
"maximum_size": [0, 0],
"disable_maximize_button": false,
"center_on_screen": true,
"start_maximized": false,
"start_fullscreen": false,
"always_on_top": false,
"minimize_to_tray": false,
"minimize_to_tray_message": "Minimized to tray"
},
"popup_window": {
"icon": "",
"fixed_title": "",
"center_relative_to_parent": true,
"default_size": [800, 600]
},
"web_server": {
"listen_on": ["*", 0],
"www_directory": "",
"index_files": ["index.php"],
"cgi_interpreter": "php-cgi.exe",
"cgi_extensions": [""],
"cgi_temp_dir": "",
"404_handler": "/pretty-urls.php",
"hide_files": []
},
"chrome": {
"log_file": "debug.log",
"log_severity": "default",
"cache_path": "",
"external_drag": true,
"external_navigation": true,
"reload_page_F5": true,
"devtools_F12": true,
"remote_debugging_port": 0,
"command_line_switches": {"disable-gpu": ""},
"enable_downloads": true,
"context_menu": {
"enable_menu": true,
"navigation": true,
"print": true,
"view_source": true,
"open_in_external_browser": true,
"devtools": true
}
}
}
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Aston"
#define MyAppVersion "1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "phpdesktop-chrome.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B0747924-46B9-4A9D-8F84-A64EF257FA3A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=C:\Users\BITWEALTH\Desktop\installer
OutputBaseFilename=Aston
SetupIconFile=C:\Users\BITWEALTH\Documents\netbeans.ico
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\phpdesktop-chrome.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\php\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\www\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\locales\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\webcache\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\cef.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\cef_100_percent.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\cef_200_percent.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\cef_extensions.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\chrome_elf.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\d3dcompiler_43.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\d3dcompiler_47.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\debug.log"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\devtools_resources.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\icudtl.dat"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\libcef.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\libEGL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\libGLESv2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\license.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\natives_blob.bin"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\settings.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\snapshot_blob.bin"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\widevinecdmadapter.dll"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
{
"application": {
"single_instance_guid": "",
"dpi_aware": true
},
"debugging": {
"show_console": true,
"subprocess_show_console": false,
"log_level": "DEBUG4",
"log_file": "debug.log"
},
"main_window": {
"title": "PHP Desktop Chrome",
"icon": "",
"default_size": [800, 600],
"minimum_size": [640, 480],
"maximum_size": [0, 0],
"disable_maximize_button": false,
"center_on_screen": true,
"start_maximized": false,
"start_fullscreen": false,
"always_on_top": false,
"minimize_to_tray": false,
"minimize_to_tray_message": "Minimized to tray"
},
"popup_window": {
"icon": "",
"fixed_title": "",
"center_relative_to_parent": true,
"default_size": [800, 600]
},
"web_server": {
"listen_on": ["*", 0],
"www_directory": "www",
"index_files": ["index.html", "index.php"],
"cgi_interpreter": "php/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/404.html",
"hide_files": []
},
"chrome": {
"log_file": "debug.log",
"log_severity": "default",
"cache_path": "webcache",
"external_drag": true,
"external_navigation": true,
"reload_page_F5": true,
"devtools_F12": true,
"remote_debugging_port": 0,
"command_line_switches": {},
"enable_downloads": true,
"context_menu": {
"enable_menu": true,
"navigation": true,
"print": true,
"view_source": true,
"open_in_external_browser": true,
"devtools": true
}
}
}
i have also re run the inno setup script
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Aston"
#define MyAppVersion "1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "phpdesktop-chrome.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B0747924-46B9-4A9D-8F84-A64EF257FA3A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=C:\Users\BITWEALTH\Desktop\installer
OutputBaseFilename=Aston
SetupIconFile=C:\Users\BITWEALTH\Documents\nets.ico
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Users\BITWEALTH\Documents\phpdesktop-chrome.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\BITWEALTH\Desktop\phpdesktop-chrome-57.0-rc-php-7.1.3\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
After running the installer, all files and directory are the same, the only problem is that i cant see any php files in the www directory (C:\Program Files (x86)\Aston\www), and the app window only shows a directory list of folders and html files in the www folder.
this is the log on the console
- 11:04:42.125 ERROR: Opening log file for appending failed
- 11:04:42.125 INFO: --------------------------------------------------------
- 11:04:42.125 INFO: Started application
- 11:04:42.125 INFO: Logging to: C:\Program Files (x86)\Aston\debug.log
- 11:04:42.125 INFO: Log level = DEBUG4
- 11:04:42.125 INFO: Starting Mongoose 3.9c web server
- 11:04:42.125 INFO: WWW directory: C:\Program Files (x86)\Aston\www
- 11:04:42.125 INFO: Index files: index.html,index.php
- 11:04:42.140 INFO: CGI interpreter: C:\Program Files (x86)\Aston\php\php-cgi.exe
- 11:04:42.140 INFO: CGI pattern: **.php$
- 11:04:42.140 INFO: Hide files patterns:
- 11:04:42.140 DEBUG: The temp directory returned by OS contains unicode characters: C:\Users\BITWEA~1\AppData\Local\Temp\
- 11:04:42.140 INFO: CGI environment variables set: TMP=C:\Windows\Temp,TEMP=C:\Windows\Temp,TMPDIR=C:\Windows\Temp,PHPDESKTOP_VERSION=57.0
- 11:04:42.156 INFO: Web server url: http://127.0.0.1:59333/
- 11:04:42.156 INFO: remote_debugging_port = 61229
- 11:04:42.156 DEBUG: Command line string for the browser process: "C:\Program Files (x86)\Aston\phpdesktop-chrome.exe" --no-sandbox --lang=en-US --log-file="C:\Program Files (x86)\Aston\debug.log" --remote-debugging-port=61229
- 11:04:45.484 DEBUG: App::OnContextInitialized()
- 11:04:45.484 DEBUG: Window max width/height = 1286/680
- 11:04:45.484 DEBUG: GetBrowserWindow(): not found, hwnd = 1576182
- 11:04:45.484 DEBUG: WindowProc(): event WM_GETMINMAXINFO: could not fetch BrowserWindow
- 11:04:45.484 DEBUG: BrowserWindow::CreateBrowserControl()
- 11:04:45.484 DEBUG: StoreBrowserWindow(): hwnd = 1576182
- 11:04:46.187 DEBUG: ClientHandler::OnAfterCreated()
- 11:04:46.187 DEBUG: SetCefBrowser() called in ClientHandler::OnAfterCreated()
- 11:04:46.234 DEBUG: OnLoadingStateChange: loading=1, url=
- 11:04:49.578 INFO: GET 200 /
- 11:04:50.719 DEBUG: OnLoadingStateChange: loading=0, url=http://127.0.0.1:59333/
Any help please