Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:innosetup_installer [2018/06/15 09:04]
smayr [How To Do A Clean Boot Using the System Configuration Utility]
systems:innosetup_installer [2020/08/26 12:06] (current)
ajdavis
Line 264: Line 264:
 == Installer Tips == == Installer Tips ==
 === Restart Computer === === Restart Computer ===
-When an installer, after its installation, asks to restart the computer, you can avoid doing so by deleting (or renaming) the following Windows registry value:+When an installer, after its installation, asks to restart the computer, you can avoid doing so removing the pertinent pending operations from the following Windows registry value:
 <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations</code> <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations</code>
  
Line 312: Line 312:
 > aka virusscanner) is killing the installer process... > aka virusscanner) is killing the installer process...
  
 +== Plugin: File Downloader IDP ==
 +
 +  * Download: [[https://mitrichsoftware.wordpress.com/inno-setup-tools/inno-download-plugin/]]
 +  * Uses: FTP, HTTP and HTTPS protocols
 +
 +Example:
 +<code inno>
 +#include <idp.iss>
 +
 +[Files]
 +Source: "{tmp}\file1.xyz"; DestDir: "{app}"; Flags: external; ExternalSize: 1048576
 +Source: "{tmp}\file2.xyz"; DestDir: "{app}"; Flags: external; ExternalSize: 1048576
 +Source: "{tmp}\file3.xyz"; DestDir: "{app}"; Flags: external; ExternalSize: 1048576
 +
 +[Icons]
 +Name: "{group}\{cm:UninstallProgram,My Program}"; Filename: "{uninstallexe}"
 +
 +[Code]
 +procedure InitializeWizard();
 +begin
 +    idpAddFileSize('http://127.0.0.1/file1.xyz', ExpandConstant('{tmp}\file1.xyz'), 1048576);
 +    idpAddFileSize('http://127.0.0.1/file2.xyz', ExpandConstant('{tmp}\file2.xyz'), 1048576);
 +    idpAddFileSize('http://127.0.0.1/file3.xyz', ExpandConstant('{tmp}\file3.xyz'), 1048576);
 +
 +    idpDownloadAfter(wpReady);
 +end.
 +</code>